-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown file extension ".ts" #218
Comments
Same issue here. ❯ node --version
v20.3.1
❯ npm --version
9.6.7 Maybe we can add this test to the CI ? |
My workaround is to compile and run with node: Edit: not the best workaround |
another better workaround: |
more info here TypeStrong/ts-node#1007 |
To fix definitely we can replace ts-node by tsx: for example in package.json: "scripts": {
"test:e2e": "tsx src/tests/e2e.ts", or in command line: npx tsc src/tests/e2e.ts |
Done in #381 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A clear and concise description of what the bug is.
npm run deploy
fails with errorTo Reproduce
Create a new project with the initializer, run
npm run deploy
Expected behavior
A clear and concise description of what you expected to happen.
it should execute the script src/deploy.ts
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
The versions of software and packages the bug in present in (massa-as-sdk, toolkit, Thyra, web browser...)
0.5.0
node: v20.2.0
npm: 9.6.6
OS: mac M1 (arm)
Additional context
Add any other context about the problem here.
I have found a workaround:
node --loader ts-node/esm src/deploy.ts
but I have another error:
tell me if it requires another issue for this error or if it's related
The text was updated successfully, but these errors were encountered: