我試圖用這個命令來運行Visual Studio代碼的應用程序: 「故宮開始」建設Angular2 - 打字稿在Visual Studio代碼
但我收到此錯誤:
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `concurrently "npm run build:watch" "npm run serve"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'concurrently "npm run build:watch" "npm run serve"'.
npm ERR! This is most likely a problem with the angular-quickstart package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! concurrently "npm run build:watch" "npm run serve"
npm ERR! You can get their info via:
npm ERR! npm owner ls angular-quickstart
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\user\Desktop\angular-tour-of-heroes\npm-debug.log
我做這些步驟:
- 混帳克隆https://github.com/angular/quickstart.git快速入門
- CD快速入門
- NPM安裝
- NPM啓動
,並在第4步 失敗,我該怎麼解決呢?
使用'ng serve'確保你已經安裝了角度cli – Habeeb