Grunt运行报错

27次阅读

共计 346 个字符,预计需要花费 1 分钟才能阅读完成。

开发 magento 2 运行

grunt less:luma

报错

grunt-cli: The grunt command line interface (v1.2.0)

Fatal error: Unable to find local grunt.

If you're seeing this message, grunt hasn't been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide:

http://gruntjs.com/getting-started

这个错代表没有本地 grunt,在项目目录执行:

npm install grunt --save-dev

正文完
 0