我在构建使用 yeoman 角度生成器生成的角度 js Web 应用程序时遇到问题。我可以运行grunt serve
,它完全没问题。但是当我尝试使用 构建应用程序时grunt
,出现以下错误。
Running "concurrent:dist" (concurrent) task
Warning: Running "imagemin:dist" (imagemin) task
Warning: Error: spawn ENOENT in file app/images/yeoman.png Use --force to continue.
问题是我可以使用相同的操作系统、相同的 npm 版本、相同的 grunt 版本在其他笔记本电脑上构建该应用程序(完全相同的应用程序,只需复制和粘贴)。
我在用着:
mac osx - v10.9.5 npm - v2.0.2 grunt-cli-v0.1.13 咕噜声-v0.4.5 约曼 - v1.2.1
请帮我解决这个错误。谢谢