【问题标题】:NPM module not found grunt sassNPM 模块未找到 grunt sass
【发布时间】:2018-03-29 06:51:56
【问题描述】:

未找到本地 Npm 模块“grunt-sass”。安装了吗?

运行“服务”任务

运行“clean:server”(清理)任务

已清理 0 个路径。

运行“generateConstantsFileWithConfig”任务

运行“ngconstant:local”(ngconstant)任务 在 app/res/config/config.js 创建模块配置...OK

运行“wiredep:app”(wiredep)任务 警告:错误:找不到存放 Bower 包的位置。使用 --force 继续。

由于警告而中止。

【问题讨论】:

  • 这很奇怪,但使用“ipconfig /flushdns”命令帮助了我。

标签: node.js npm sass npm-install


【解决方案1】:

要解决与 npm 模块相关的任何问题,您可以使用:--unsafe-perm

当您安装该模块或软件包时。例如,如果您在安装肠和节点时遇到问题,您可以使用:

sudo npm install --unsafe-perm && bower install --unsafe-perm

这解决了我遇到的问题。

【讨论】:

    猜你喜欢
    • 2018-09-05
    • 2014-11-18
    • 1970-01-01
    • 1970-01-01
    • 2013-11-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多