jtomasrl
jtomasrl

Reputation: 1451

Uploading Node.js app to cloudfoundry withour express error

Im trying to upload a node.js app into cloud foundry, im not going to use Express Framework, but when doing "vcm push" Im getting this error.

Uploading Application:
No such file or directory - /Users/jtomasrl/Code/node/pronto/node_modules/express

here is my package.json

{
"name": "karaoke-api",
"version": "0.0.1",
  "dependencies": {
    "pronto": "*",
    "pronto-mongodb": "*"
  },
  "engines": {
    "node": "0.8.x",
    "npm": "1.1.x"
  }
}

Upvotes: 0

Views: 128

Answers (1)

Dan Higham
Dan Higham

Reputation: 3984

Just for the sake of providing an "answer", when this situation does arise, it's worth emptying node_modules/.bin or even removing node_modules itself and re-installing modules with;

npm install

Upvotes: 1

Related Questions