2

今天早上开发时莫名其妙地开始崩溃。现在运行任何流星命令都会返回:

module.js:340
    throw err;
          ^
Error: Cannot find module 'combined-stream'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/usr/local/meteor/lib/node_modules/request/node_modules/form-data/lib/form_data.js:1:84)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)

原来的崩溃日志是:

Your app is crashing. Here's the latest log.


/usr/local/meteor/lib/node_modules/fibers/fibers.js:13
    throw new Error('`'+ modPath+ '.node` is missing. Try reinstalling `node-fibe
          ^
Error: `/usr/local/meteor/lib/node_modules/fibers/bin/darwin-x64-v8-3.11/fibers.node` is missing. Try reinstalling `node-fibers`?
    at Object.<anonymous> (/usr/local/meteor/lib/node_modules/fibers/fibers.js:13:8)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/Users/andrei/Dropbox/CodeRookMeteor/coderookmeteor/.meteor/local/build/server/server.js:3:1)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
Exited with code: 1
Your application is crashing. Waiting for file change.
4

2 回答 2

5

我尝试重新启动 MongoDB,但没有成功。我还尝试将所有代码拉下来。问题似乎出在 Meteor 上。重新安装它工作。

于 2012-11-09T18:51:30.350 回答
1

运行meteor create project_name命令后将目录更改为项目cd project_name然后而不是直接运行meteor命令运行meteor npm install然后运行meteor命令。

这是官方文档的片段 -链接

cd simple-todos
meteor npm install
meteor
于 2016-11-16T09:12:28.397 回答