Running a meteor app on Nodejitsu
Asked Answered
H

2

6

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"
  }
}
Holder answered 9/12, 2012 at 23:51 Comment(4)
meteor bundle then deploy the app with nodejitsu?Audubon
From what I've heard, node-fibers (which Meteor uses) isn't currently compatible with nodejitsu, although older versions apparently worked.Roundabout
it's not going to work: #13504824Microfilm
@Microfilm Any specific reason why? The link didn't contain any reason why meteor would not run on Nodejitsu.. Unless I missed sth.Holder
S
2

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

Stannwood answered 4/7, 2013 at 17:9 Comment(0)
M
1

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.)

Multifold answered 9/4, 2013 at 20:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.