Grunt运行报错

开发magento 2运行npm

grunt less:luma

报错less

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,在项目目录执行:ide

npm install grunt --save-dev
相关文章
相关标签/搜索