Deployed a meteor app to a Nodejitsu trial environment but failed to get it to run. Upon executing jitsu deploy
from my meteor app directory I get the following error: ReferenceError: Meteor is not defined
.
If you have gotten a meteor app up and running on Nodejitsu, please highlight the steps you took and dependencies I might be missing. I will use your suggestions and try to get my app to run. Thanks.
// package.json contents
{
"name": "test123-meteor",
"subdomain": "user123.test123-meteor",
/*
* Really not sure about this line here...
*/
"scripts": {
"start": "node client/controllers/GeneralController.js"
},
"version": "0.0.1-2",
"engines": {
"node": "0.8.x"
}
}
I tried this today and didn't have a problem when using demeteorizer. I wrote the following small article about it on Meteorpedia which includes my custom build script which greatly simplifies deployment.
http://www.meteorpedia.com/read/Nodejitsu
Meteor won't run on nodejitsu until this bug is fixed: node-fibers won't build on SmartOS. If you want it, you should star the bug or even look into fixing it. (Naively, it looks like the kind of thing that needs more persistence than brilliance; a build issue on just that one OS for a package which builds unmodified on over 5 other OSs.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With