D:\Projects\mallspk>grunt serve
Running "serve" task
Running "clean:server" (clean) task
>> 0 paths cleaned.
Running "wiredep:app" (wiredep) task
Running "wiredep:test" (wiredep) task
Running "wiredep:sass" (wiredep) task
Running "concurrent:server" (concurrent) task
Warning: Running "compass:server" (compass) task
Warning: Command failed: 'compass.bat' is not recognized as an internal or exter
nal command,
operable program or batch file.
Use --force to continue.
我已经安装了 Yo angular
并运行以下命令:
npm install grunt --save-dev
npm install -g grunt-contrib-compass
npm install -g compass
npm install
bower install
npm install grunt-google-cdn
当我运行命令 grunt serve
时出现此错误。我有最新的 Node 和 npm 安装最新的 grunt 和哟。
最佳答案
我安装了 ruby @squiroid。我忘记运行 gem install compass
。这对我有用。
关于angularjs - 警告 : Running "compass:server" (compass) task,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30995951/