/usr/local/lib/node_modules/gulp/bin/gulp:11
throw new Error("Missing Gulpfile");
^
Error: Missing Gulpfile
at Object.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp:11:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
我在嘗試做gulp -v時遇到了這個錯誤。Missing Gulpfile Ubuntu 12.04
node -v(0.10.25)正常工作,npm -v(1.3.24)也是如此。
我跟着他們的github教程,但沒有成功。 https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md#getting-started
有人可以幫我嗎?
你創建一個'Gulpfile'?這是你的教程中的第3步。 – loganfsmyth
另外,它是'gulpfile.js' - 全部小寫! – OverZealous
我有一個gulpfile,並通過粘貼其他一些粘貼來檢查它。我的文件名全是小寫,「Gulpfile」錯誤與我的實際文件名無關。 –