PS C:\gitConfigDemo\xy_basic_framework> npm run server
npm ERR! missing script: server
npm ERR!
npm ERR! Did you mean this?
npm ERR! serve
git
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-09-02T09_01_28_105Z-debug.log
npm
以上是我在終端輸入的內容,不仔細看看不出server單詞多了個字母,因此致使了這個錯誤!在網上找了不少沒獲得解決,每次輸入命令太自信了,覺得本身記得,沒想到多打了一個字母,你們要細心喔!正確輸入是: npm run servethis