node.js - fatal error : spawn ENOENT node. js 和 grunt

标签 node.js gruntjs

嗨,响应式图像,我从

下载了项目

https://github.com/andismith/grunt-responsive-images

我安装了他们提到的所有这些东西......

每当我说咕噜声时,它都会说以下错误:

Running "jshint:all" (jshint) task
  >> 3 files lint free.

  Running "clean:tests" (clean) task
 Cleaning "tmp"...OK

 Running "responsive_images:default_options" (responsive_images) task
 Fatal error: spawn ENOENT

告诉我为什么我会收到此错误...

谢谢你。

最佳答案

这可能是因为您没有安装 imagemagick:http://www.imagemagick.org/script/index.php

请参阅该插件的常见问题解答:https://github.com/andismith/grunt-responsive-images#faq

关于node.js - fatal error : spawn ENOENT node. js 和 grunt,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18569945/

相关文章:

javascript - 遍历 Node 中的目录 (Grunt)

node.js - Nodejs 中的并发

node.js - Mongoose model.find 查询字符串

angularjs - 无法构建 angularjs 文档(不知道如何格式化 @ngdoc : method)

ruby-on-rails - 可以自动将我所有的js包含在index.html中吗?

sass - 咕噜罗盘错误: invalid option --sourcemap

javascript - 运行 Node.js(在 Windows R2 服务器上): How can I reduce the amount of RAM that my grunt tasks consume?

node.js - Mongoose findOneAndUpdate 不工作

node.js - 如何避免使用 discord.js api 超过速率限制?

javascript - 如何将 --harmony Node 标志添加到 grunt-express