Reinstall node files for Meteor application on Modulus.io?

I am trying to port a Meteor application from Heroku to Modulus.io (I hope he can check sticky sessions and horizontal scaling). I disabled the application using the Modulus.io script module, as described in the following articles and repositories.

https://github.com/onmodulus/demeteorizer
http://blog.modulus.io/demeteorizer

After demerterization, I buttoned and downloaded and got a blank browser and a white screen in the browser. After a bit more research, I deleted the node_modules directory in the resulting demetered application, and then archived and downloaded. It definitely seemed like the right step because everything started to unfold and the magazines were busy.

Here is the error I encountered:

Error: `/mnt/data/1/clinical-workqueues/server/node_modules/fibers/bin/linux-x64-v8-3.11/fibers.node` is missing. Try reinstalling `node-fibers`? at Object.<anonymous> (/mnt/data/1/clinical-workqueues/server/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> (/mnt/data/1/clinical-workqueues/server/server.js:3:13) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) Forever detected script exited with code: 1 Forever restarting script for 6 time 

Does anyone know how I should reinstall node-fibers' in a Modulus.io environment using a Meteor-based application? I am leaving my league here and do not know how to proceed.

Thanks in advance for any thoughts or suggestions!

0
source share
2 answers

I created a blog article that should help others trying to deploy Meteor applications for the module.

http://blog.modulus.io/deploying-meteor-apps-on-modulus

Disclosure: I am the author of Demeteorizer and co-founder of the module.

+1
source

The solution was to switch to Demeteorizer 0.2.1, run "meteor add email" in my application, and then add the following dependencies to my package.json file:

 "sockjs": "0.3.4", "websocket": "1.0.7", "mongodb": "1.2.13", "mailcomposer": "0.1.15" 
0
source

Source: https://habr.com/ru/post/957618/


All Articles