Skip to content

Successfully builds, but fails to run #2032

Answered by evantahler
xadamxk asked this question in Q&A
Discussion options

You must be logged in to vote

Nice! looks like you ran into a TS compilation problem and already solved it! For me, this kind of problem is pretty common.

In Actionhero internally, our build command always starts with a rm -rf dist first to help avoid these kinds of shenanigans.

"build": "rm -rf dist && ./node_modules/.bin/tsc --sourceMap false --declaration",

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by evantahler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants