Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: heroku integration

JmanDevo pro asked 6 years ago


hi there,   im trying to push my working product from localhost to heroku however keep getting errors like: ==================== 2018-08-08T19:18:48.000000+00:00 app[api]: Build succeeded 2018-08-08T19:19:04.151956+00:00 heroku[web.1]: Starting process with command `npm start` 2018-08-08T19:19:07.443848+00:00 heroku[web.1]: Process exited with status 1 2018-08-08T19:19:07.512547+00:00 heroku[web.1]: State changed from starting to crashed 2018-08-08T19:19:07.348319+00:00 app[web.1]: 2018-08-08T19:19:07.348340+00:00 app[web.1]: > mdbreact@4.6.0 start /app 2018-08-08T19:19:07.348342+00:00 app[web.1]: > yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack" 2018-08-08T19:19:07.348344+00:00 app[web.1]: 2018-08-08T19:19:07.354724+00:00 app[web.1]: sh: 1: yarn: not found ===================== OR ===================== 2018-08-08T19:27:36.558921+00:00 app[web.1]: 2018-08-08T19:27:36.558941+00:00 app[web.1]: > mdbreact@4.6.0 start /app 2018-08-08T19:27:36.558943+00:00 app[web.1]: > yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack" 2018-08-08T19:27:36.558944+00:00 app[web.1]: 2018-08-08T19:27:38.776997+00:00 app[web.1]: yarn run v1.9.4 2018-08-08T19:27:39.340213+00:00 app[web.1]: $ node-sass dist/scss -o dist/css 2018-08-08T19:27:39.385171+00:00 app[web.1]: /bin/sh: 1: node-sass: not found 2018-08-08T19:27:39.392643+00:00 app[web.1]: error Command failed with exit code 127.   ========================== am i missing something? thanks, Joe

Mikołaj Smoleński staff answered 6 years ago


Hi there, Please follow this guide to deploy a Vue App: https://medium.com/netscape/deploying-a-vue-js-2-x-app-to-heroku-in-5-steps-tutorial-a69845ace489 Best Regards

JmanDevo pro commented 6 years ago

hi - ive treid the above process - still no luck - exactly the same issues, working on localhost - failing on heroku with the same errors :(

Mikołaj Smoleński staff commented 6 years ago

These are just warnigns, the App should work despite this.

Mikołaj Smoleński staff answered 6 years ago


Hi, Did You try to install all dependencies before 'yarn start' by typing 'yarn'? Best Regards

JmanDevo pro commented 6 years ago

i did - im getting aot of dependency warnings; ----------- warning " > bootstrap@4.0.0" has unmet peer dependency "jquery@1.9.1 - 3". remote: warning " > bootstrap@4.0.0" has unmet peer dependency "popper.js@^1.12.9". remote: warning " > react-addons-css-transition-group@15.6.2" has incorrect peer dependency "react@^15.4.2". remote: warning " > react-bootstrap-table-next@0.1.15" has unmet peer dependency "prop-types@^15.0.0". remote: warning " > react-motion-ui-pack@0.10.3" has incorrect peer dependency "react@0.14.x || ^15.0.0". remote: warning " > react-motion-ui-pack@0.10.3" has incorrect peer dependency "react-dom@0.14.x || ^15.0.0". remote: warning " > url-loader@0.5.9" has unmet peer dependency "file-loader@*". remote: warning " > babel-loader@6.4.1" has unmet peer dependency "babel-core@^6.0.0". remote: warning " > babel-loader@6.4.1" has incorrect peer dependency "webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc". ------------------ again it works on localhost but pushing to heroku is causing application errors thanks, joe.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags