meteor heroku应用程序错误:即使在指定依赖项后也找不到模块“fiber”

时间:2015-10-13 08:00:00

标签: node.js heroku meteor node-modules buildpack

我已经将所有构建包中的内容排序到本帖中推荐的最新更新https://github.com/kannans/heroku-buildpack-meteorMeteor Heroku App Crash after deployment,无论发生什么情况,我最终都会在部署后发现应用程序崩溃无法找到节点模块“光纤”。

我还尝试删除heroku appdata和useri / heroku文件,然后登录到heroku。这解决了我在appdata文件夹中使用节点访问的另一个问题,但没有这个问题。

然后,我使用了meteorhacks:npm将最新版本的光纤添加到package.json中。它仍然找不到“纤维”。我现在已经工作了12个多小时,没有任何运气。

这是heroku日志:

←[36m2015-10-13T06:50:22.294104+00:00 heroku[api]:←[0m Release v23 created by jbreasor@gmail.com
←[33m2015-10-13T06:50:22.733668+00:00 heroku[web.1]:←[0m State changed from crashed to starting
←[33m2015-10-13T06:50:27.944168+00:00 heroku[web.1]:←[0m Starting process with command `.meteor/heroku_build/bin/node .m
eteor/heroku_build/app/main.js`
←[33m2015-10-13T06:50:29.839825+00:00 app[web.1]:←[0m module.js:340
←[33m2015-10-13T06:50:29.839476+00:00 app[web.1]:←[0m
←[33m2015-10-13T06:50:29.840133+00:00 app[web.1]:←[0m     throw err;
←[33m2015-10-13T06:50:29.840141+00:00 app[web.1]:←[0m           ^
←[33m2015-10-13T06:50:29.842279+00:00 app[web.1]:←[0m Error: Cannot find module 'fibers'
←[33m2015-10-13T06:50:29.842281+00:00 app[web.1]:←[0m     at Function.Module._resolveFilename (module.js:338:15)
←[33m2015-10-13T06:50:29.842284+00:00 app[web.1]:←[0m     at Module.require (module.js:364:17)
←[33m2015-10-13T06:50:29.842283+00:00 app[web.1]:←[0m     at Function.Module._load (module.js:280:25)
←[33m2015-10-13T06:50:29.842285+00:00 app[web.1]:←[0m     at require (module.js:380:17)
←[33m2015-10-13T06:50:29.842287+00:00 app[web.1]:←[0m     at Object.<anonymous> (/app/.meteor/heroku_build/app/programs/
server/boot.js:1:75)
←[33m2015-10-13T06:50:29.842288+00:00 app[web.1]:←[0m     at Module._compile (module.js:456:26)
←[33m2015-10-13T06:50:29.842290+00:00 app[web.1]:←[0m     at Object.Module._extensions..js (module.js:474:10)
←[33m2015-10-13T06:50:29.842291+00:00 app[web.1]:←[0m     at Module.load (module.js:356:32)
←[33m2015-10-13T06:50:29.842292+00:00 app[web.1]:←[0m     at Function.Module._load (module.js:312:12)
←[33m2015-10-13T06:50:29.842293+00:00 app[web.1]:←[0m     at Module.require (module.js:364:17)
←[33m2015-10-13T06:50:30.790398+00:00 heroku[web.1]:←[0m State changed from starting to crashed
←[33m2015-10-13T06:50:30.791348+00:00 heroku[web.1]:←[0m State changed from crashed to starting
←[33m2015-10-13T06:50:30.769943+00:00 heroku[web.1]:←[0m Process exited with status 8
←[33m2015-10-13T06:50:35.579964+00:00 heroku[web.1]:←[0m Starting process with command `.meteor/heroku_build/bin/node .m
eteor/heroku_build/app/main.js`
←[33m2015-10-13T06:50:38.096040+00:00 app[web.1]:←[0m

0 个答案:

没有答案