Questions tagged [nodejitsu]

Nodejitsu is a node.js cloud hosting platform that features Continuous Deployments and native Websocket support.

Nodejitsu is a cloud hosting platform. It features, among other things:

112 questions
3
votes
0 answers

Can Travis CI be configured to deploy to a private NPM on Nodejitsu?

I would like to use Travis CI to build, test and deploy my project as a NPM module to our private registry hosted by Nodejitsu. I've followed the instructions Travis CI provides for publishing to npmjs.org, which involve adding the following to your…
Dave Lockhart
  • 1,071
  • 1
  • 11
  • 9
3
votes
0 answers

Nodejistu deploy error

I have a Nodejitsu app that I've been able to successfully deploy a bunch of times previously. My last deploy was about 2 weeks ago. I went to deploy yesterday and again today and got an error that isn't really giving me enough information to find…
Alex
  • 7,793
  • 9
  • 41
  • 54
3
votes
1 answer

Nodejs and socket.io for push notifications

I'm currently looking to offer push notifications to an iphone and android app I'm working on. I took a look at the push notification services and they are very expensive so, I'm looking to run my own using socket.io. I guess my question is, how…
user240993
3
votes
1 answer

express file upload returning 400 error

I have an express app that needs to handle file upload, but for some reason it's not working. I am getting a cryptic error message (both nodejitsu/local), I have no clue what's wrong. Here's my routes: var routes =…
tpae
  • 6,030
  • 2
  • 33
  • 64
3
votes
1 answer

Nodejitsu app stops immediately after starting

I'm quite new to node.js, so bear with me. I've set up a basic Portfolio site using node, express, and some bootstrap, and everything runs fine locally (on github). When I deploy and/or start my app on nodejitsu I get this message: info: Updating…
deanlai
  • 33
  • 2
3
votes
0 answers

CompoundJS error when deploying to Heroku or Nodejitsu

I'm trying to deploy a compoundjs (a.k.a. railwayjs) to Heroku or Nodejitsu as a my first end to end test of NodeJS. Steps Node installation: 0.8.16 Heroku tools installation npm install compound -g (v1.1.4-1) Sample heroku app as described in…
Javier
  • 31
  • 3
3
votes
1 answer

Deploying subdirectory files to nodejitsu

I'm new to node and nodejitsu and I'm trying to deploy a very simple application which uses node-static to serve a file which is stored in a folder './Scripts' This works fine locally, however when I attempt to access the file from jit.su the file…
3
votes
2 answers

How to fix hiredis compilation issue on nodejitsu?

How to fix hiredis compilation issue after a deployment on nodejitsu? After I deployed to nodejitsu I received the following error from jistu logs command. ld.so.1: node: fatal: relocation error: file…
Pavel Hlobil
  • 1,712
  • 1
  • 15
  • 22
3
votes
2 answers

Starting redis server on nodejitsu

On local development, you start a redis server using the "redis-server" command. However when I deploy the project to nodejitsu (using jitsu deploy), there isn't an interface to run this command, and launching the deployed app gives the following…
soupasouniq
  • 193
  • 1
  • 9
3
votes
1 answer

Socket Hang Up on Nodejitsu, What does it mean?

I'm getting socket hang up errors on Nodejitsu, what does it mean? error: Error running command deploy error: socket hang up error: Error: socket hang up error: at createHangUpError (http.js:1107:15) error: at…
dscape
  • 2,476
  • 1
  • 20
  • 20
2
votes
2 answers

Deploy private repository as dependency

We have constructed our app to consist of three repositories: Frontend (this one is deployed) Shared Core These are all private Git repositories on GitHub. The relevant part of my package.json file looks like this: "dependencies": { …
webjay
  • 4,668
  • 8
  • 37
  • 53
2
votes
0 answers

node jitsu Error: Cannot find module 'xmlhttprequest'

Trying to deploy a node.js app to nodejitsu. fails to deploy with the Error: Cannot find module 'xmlhttprequest'. xmlhttprequest is local node_modules and package.json. gitignore is not excluding node_modules. App works properly when run locally but…
Stickman
  • 64
  • 8
2
votes
1 answer

Node.js Hosting w/Multiple Ports, or wrong practice?

I'm trying to figure out the best workflow for producing an app I can have hosted on one of the various public Node environments. The sticking point seems to be that my app opens two ports: one for HTTP and another for WebSockets. Here's the code…
clayperez
  • 593
  • 1
  • 6
  • 16
2
votes
1 answer

Nodejitsu file system and static files

When using nodejitsu as hosting how can you store a few user uploads? I know the space is limited but my question is how can you backup those files saved when the file system is not persistent and every time I upload a newer version I lose them?…
anges244
  • 657
  • 1
  • 11
  • 25
2
votes
3 answers

nodejitsu 400 Error: ENOENT, open '/opt/run/snapshot/package/images/tmp/72118-89rld0.png

I'm using nodejitsu to deploy a simple image upload program with express. In my code I've changed the default upload directory by following command app.use(express.bodyParser({ uploadDir: __dirname + "/images/tmp" })); It's working fine…
sam100rav
  • 3,516
  • 4
  • 23
  • 42