import error with ts-node-maintained #4826
-
Does anyone know why running
I'm working with the latest version of AdonisJS. |
Beta Was this translation helpful? Give feedback.
Answered by
RomainLanz
Dec 10, 2024
Replies: 1 comment 6 replies
-
Hey @klever34! 👋🏻 Do you have |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're missing a few steps. In your case, it looks like you’re running the command from the project's root directory, which still contains the unbuilt application.
I’m not sure how Heroku works, but you need to build the application and deploy only the build folder. After that, re-install the production dependencies from within that folder to keep your deployment as minimal as possible.