Replies: 2 comments 3 replies
-
Try rewriting shebang to be this:
Then try it again with this:
This is not intended to fix the problem. Rather, it will cause ts-node to output useful diagnostic information. |
Beta Was this translation helpful? Give feedback.
0 replies
-
With shebang
With shebang
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have two projects - angular 13 library and my-tool.
My-tool
My-tool analyzes angular project .ts files and does some processing.... My-tool has a
bin
section in package.json. So, to run my-tool I do in angular library rootnpx my-tool
. My-tool is created via rollup and has the following shebang:#!/usr/bin/env ts-node
. Test code in my-tool is the following (it just creates instances of the passed classes from angular library):Angular library
tsconfig:
package.json
and when in my angular library root I run
npx my-tool
I get:Could anyone say how to fix it? It is the second day I am trying to fix this problem.
Beta Was this translation helpful? Give feedback.
All reactions