【问题标题】:npm start assertionErrornpm start 断言错误
【发布时间】:2018-11-19 13:10:06
【问题描述】:

我正在尝试为我的新项目使用 getbase.org css 框架:

他们的文档中有一个安装设置:

git clone https://github.com/matthewhartman/base-starter.git你的网站/ && cd your-website && rm -rf .git && npm i && npm start

这是我想启动它时得到的,我确实安装了最新的节点、npm 和 gulp:

我也只是意识到项目版本是 3.9.1 但本地版本是 4.0.0,也许是这样?在我重新安装我的 ubuntu 操作系统之前,我使用 getbase.org 没有任何问题。

感谢任何帮助,寻找解决方案已经好几个小时了...

【问题讨论】:

    标签: git npm terminal gulp


    【解决方案1】:

    是的! CLI 和本地之间的区别是问题所在,我必须运行 sudo npm install gulp@3.9.1 --save 现在它工作得很好......

    【讨论】:

      猜你喜欢
      • 2021-04-19
      • 2016-02-04
      • 2014-11-29
      • 2017-07-17
      • 2016-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-18
      相关资源
      最近更新 更多