Skip to content

import error with ts-node-maintained #4826

Answered by RomainLanz
klever34 asked this question in Help
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@klever34
Comment options

@RomainLanz
Comment options

@klever34
Comment options

@RomainLanz
Comment options

Answer selected by klever34
@klever34
Comment options

@klever34
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants