Replies: 1 comment 2 replies
-
Hello , i was wondering if you fixed it because i'm having the same issue and i can't figure out what it is . |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hello there, I am trying to migrate on of our library to typescript. Decided to use ts-node since our tests are working on it.
Changed all files to
.ts
then import as node_modules library.When I'm trying to use
"type": "module"
in package.json of library I'm getting error:When I remove
type
field from package.json and launch then I get:So non of most solution worked for me.
My tsconfig.json:
execution of library:
node version:
v12.18.2
typescript:
"version": "3.9.6"
Any ideas what I'm doing wrong ?
Beta Was this translation helpful? Give feedback.
All reactions