Hashnode / mern-cli

⛔️ DEPRECATED - A cli tool for getting started with MERN
http://mern.io/
MIT License
572 stars 149 forks source link

Production commands won't work with npm production install #14

Closed kuryaki closed 8 years ago

kuryaki commented 8 years ago

after creating a project with the CLI i did an npm install --production and then tried a npm run bs this is what will be done hosting a project in heroku and it failed because of dependencies, is this happening to someone else?

hegelstad commented 8 years ago

+1

somus commented 8 years ago

Actually packages in devDependencies are required to build your project. You can heroku config:set NPM_CONFIG_PRODUCTION=false to make heroku install devDependencies also.