0

我尝试安装 GWSK 下载了它并使用sudo npm install了一段时间后出现错误

`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
4

1 回答 1

0

好的,更新了节点并重新安装了 gulp,一切正常,再次发布答案,以防 sombody 有同样的问题。

于 2015-04-08T17:25:38.943 回答