我是離子框架的新手。我已經安裝node js-v6.10.0
和npm
版本3.10.10和ionic
版本-2.2.1 後創建我的第一個應用程序,當我嘗試使用離子實驗室服務。 我收到以下錯誤未提供離子應用程序。 WARN:找不到node_modules目錄,你需要運行npm install嗎?
$ **ionic lab**
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Please install your Cordova CLI to version >=4.2.0 `npm install -g cordova`
******************************************************
WARN: No node_modules directory found, do you need to run npm install?
There was an error serving your Ionic application: Unable to run spawn command E rror: spawn C:\WINDOWS\system32\cmd.exe;C:\Users\SurajLifeean\AppData\Roaming\Co mposer\vendor\bin;C:\Program Files\nodejs\node_modules\npm\bin ENOENT
我不知道如何處理它。在命令行
npm install
:請協助
該解決方案直接在您複製和粘貼的消息中。 'npm install' – Varedis