我正在使用yeoman進行我的開發工作流程。我在我的項目文件夾中安裝了grunt-contrib,並在我的gruntfile.js中添加了loadnpm任務。無法加載grunt-contrib模塊
但是,當我啓動我的yeoman服務器時,它一直給我提供本地npm模塊grunt-contrib未找到的錯誤。
我甚至嘗試給模塊的絕對路徑,無濟於事。下面是絕對路徑,是不是有什麼不妥?
grunt.loadNpmTasks('/home/murtaza/workspace/yeoman/angular/node_modules/grunt-contrib');
+1爲答案 – murtaza52