Skip to content
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

[ERROR] Must use import to load ES module #20

Closed
guillemparrado opened this issue Mar 20, 2023 · 0 comments · Fixed by #21
Closed

[ERROR] Must use import to load ES module #20

guillemparrado opened this issue Mar 20, 2023 · 0 comments · Fixed by #21
Assignees
Labels
bug Something isn't working

Comments

@guillemparrado
Copy link
Contributor

Cannot launch the backend server in dev because the script is affected by this issue: wclr/ts-node-dev#314

Description:

  • After adding "type": "module", to package.json
  • npm run dev is executed
  • Result: Error: Must use import to load ES Module: /Users/swe/Documents/Repos/ita-wiki/back/src/server.ts

But the file already uses import.

@guillemparrado guillemparrado self-assigned this Mar 20, 2023
@guillemparrado guillemparrado added the bug Something isn't working label Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant