我创建了一个安古拉杰分支,并试图构建它。不幸的是,当我运行grunt package时,这失败了。
npm -v -> 3.5.2
bower --version -> 1.7.2
我跟随文档构建了角:
$ npm install
$ bower install
$ grunt package但我发现了一个错误:
grunt-cli: The grunt command line interface. (v0.1.13)
Fatal error: Unable to find local grunt.
If you're seeing this message, either a Gruntfile wasn't found or 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我是不是忘了什么?
发布于 2016-01-12 19:32:53
显然,它与NPM3.5.4有关,因为我在这个版本中得到了一个缓存错误。
但在降至npm之后,一切都运行得很好。
https://stackoverflow.com/questions/34748858
复制相似问题