美文网首页
启动项目 与 报错解决方法

启动项目 与 报错解决方法

作者: my木子 | 来源:发表于2019-01-16 09:41 被阅读0次

谷歌浏览器启动

ionic serve --browser "google chrome" 

报错

[ERROR] ionic-v1 has unexpectedly closed (exit code 134).

// 这个是由于nodejs10以后种gulp版本太低导致的,安装natives后可以解决
npm install natives

//如果依旧不行的话,删除原来的gulp
npm rm -g gulp
// 全局安装新的
npm install -g gulp-cli
// 在已经有的项目下执行
npm install --save-dev gulp@next


相关文章

网友评论

      本文标题:启动项目 与 报错解决方法

      本文链接:https://www.haomeiwen.com/subject/tdupdqtx.html