Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues when trying to deploy to Heroku #13

Open
idoco opened this issue Oct 12, 2021 · 0 comments
Open

Issues when trying to deploy to Heroku #13

idoco opened this issue Oct 12, 2021 · 0 comments

Comments

@idoco
Copy link

idoco commented Oct 12, 2021

I am trying to deploy mockus to Heroku.
The changes can be seen here - master...idoco:heroku

The build stage runs successfully but when the app starts I get the following error:

 Error: Cannot find module '/app/mockus-server/lib/index.js'
     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
     at Function.Module._load (internal/modules/cjs/loader.js:746:27)
     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
     at internal/main/run_main_module.js:17:47 {
   code: 'MODULE_NOT_FOUND',
   requireStack: []
 }

I think I got the path wrong though I did try a couple of variations. Can you please advise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant