运行ionic build android
命令时,出现以下错误:
WARN: ionic.project has been renamed to ionic.config.json, please rename it.
Uh oh! Looks like you're missing a module in your gulpfile:
Cannot find module 'gulp'
Do you need to run `npm install`?
我已经尝试运行此命令:
npm install --save-dev gulp
但是我还是得到同样的错误。我在这里错过了什么吗?
2条答案
按热度按时间cgh8pdjw1#
您需要使用以下命令全局安装Gulp:
npm install --global gulp-cli
,如Gulp documentation中所述。9bfwbjaz2#
请尝试运行以下命令: