Successfully builds, but fails to run #2032
-
I've been working on a project for several weeks now. Once or twice a week I will merge changes into dev, deploy the app (build & start), and continue development. However, the application failed to start recently. Building the application with
The only changes I've made since this began to fail was adding new actions, a couple tasks, and an initializer for cors. I've deleted the initializer, but the problem still occurs even after re-cloning the project. Any help or advice to debug this would be greatly appreciated! EDIT: I wanted to post this so if anyone ran into the issue, the solution would be documented. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 Line 100 in 7861fe9 |
Beta Was this translation helpful? Give feedback.
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 arm -rf dist
first to help avoid these kinds of shenanigans.actionhero/package.json
Line 100 in 7861fe9