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
相關文章
相關標籤/搜索