我尝试安装GWSKdownloaded并使用sudo npm install
afetr一段时间我收到错误
`darwin-x64-node-0.10` exists; testing
Binary is fine; exiting
npm ERR! cb() never called!
我忽略了它并继续了两个缺少concat-map和balance-match的依赖项,所以我手动安装它们。
当我运行gulp serve
时,我收到以下错误:
[10:17:10] Using gulpfile ~/Desktop/Sitios/bill/gulpfile.js
[10:17:10] Starting 'styles'...
[10:17:11] 'styles' errored after 1.23 s
[10:17:11] TypeError: Object #<Object> has no method 'rubySass'
at Gulp.gulp.task.$.useref.assets.searchPath (/Users/mercadotecnia/Desktop/Sitios/bill/gulpfile.js:91:13)
at module.exports (/Users/mercadotecnia/Desktop/Sitios/bill/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/mercadotecnia/Desktop/Sitios/bill/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/mercadotecnia/Desktop/Sitios/bill/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/mercadotecnia/Desktop/Sitios/bill/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:20
at process._tickCallback (node.js:442:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:929:3
答案 0 :(得分:0)
确定更新节点并重新安装gulp,一切正常,发布回答incase sombody也有同样的问题。