node.js - How to Run "npm install boombot" on Heroku Server? -
i want run npm install boombot
, edit files via nano. then, want run node index.js
i'm getting errors though when running heroku run npm install boombot --app trooperbot
this image of me running it.
thank can me , running!
i think problem you're thinking heroku server. it's not - it's place deploy , run applications.
when heroku run xxx
runs command on brand new dyno that's loaded app. "installing" on dyno no avail, go away after exit dyno. read how heroku works understand more this.
so approach solving problem, should declare package dependencies in package.json
- see here.
Comments
Post a Comment