【问题标题】:Local Npm module "..\..\node_modules\cssmin" not found. Is it installed?未找到本地 Npm 模块“..\..\node_modules\cssmin”。安装了吗?
【发布时间】:2015-01-14 23:21:25
【问题描述】:

我在 RubyMine 环境中使用 durandaljs + typescript + gruntjs 进行编程。但是在我点击 Gruntfile.js 中的“运行”按钮后,它总是显示

Local Npm module "..\..\node_modules\cssmin" not found. Is it installed?

但是,我的项目似乎还不错。如何消除上述警告?

【问题讨论】:

    标签: gruntjs typescript durandal rubymine


    【解决方案1】:

    cssmin 可能在部署时使用,因此您还没有遇到运行时错误。修复:npm install cssmin --saveDevgruntfile.js 位于同一目录

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-05
      • 1970-01-01
      • 2019-12-12
      • 2016-03-27
      • 2016-03-08
      • 2011-11-16
      相关资源
      最近更新 更多