0

我刚刚开始测试 Foundation for Apps,但还没有开始。npm start在我的应用程序目录中运行后出现此错误。我按照zurb 网站上的指示来达到这一点

[11:54:09] Using gulpfile C:\Development\Experiments\foundation-test\testApp\gul
pfile.js
[11:54:09] Starting 'build'...
[11:54:09] Starting 'clean'...
[11:54:09] Finished 'clean' after 13 ms
[11:54:09] Starting 'copy'...
[11:54:09] Starting 'copy:foundation'...
[11:54:10] Finished 'copy:foundation' after 1.56 s
[11:54:10] Starting 'sass'...
[11:54:11] 'sass' errored after 788 ms
[11:54:11] Error: Cannot find module 'process-nextick-args'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (C:\Development\Experiments\foundation-test\testApp\no
de_modules\gulp-autoprefixer\node_modules\gulp-util\node_modules\through2\node_m
odules\readable-stream\lib\_stream_duplex.js:20:23)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
[11:54:11] 'build' errored after 2.38 s
[11:54:11] Error in plugin 'run-sequence'
Message:
    An error occured in task 'sass'.
[11:54:11] Finished 'copy' after 2.43 s

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v0.12.6
npm ERR! npm  v2.11.2
npm ERR! code ELIFECYCLE
npm ERR! foundation-apps-template@1.1.0 start: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the foundation-apps-template@1.1.0 start script 'gulp'.
4

1 回答 1

0

更新到更新的 npm/node 版本为我修复了这个错误。显然,依赖项的处理方式不同。

于 2016-02-24T10:36:48.430 回答