Closed legildas closed 1 year ago
Hey, you are getting the error because you are using Node.js v19.0.1. To enable imports without file extensions, e.g. import app from './app'
, I used the flag --es-module-specifier-resolution=node
when running the app. However, this has been deprecated in the release of Node.js v19 in favor of custom loaders. You can check out the PR here.
I would like to support the previous Node.js versions as well as v19 and will work on this soon. I will appreciate any help on the issue.
I advise you to use a different version of Node.js for now - Node.js 14 to 18 should be okay
Indeed ! It's now working with the LTS version of Node.js (18.12.1). Thanks a lot !
Sure :wink:
Describe the bug The app crashes when I start it.
To Reproduce Steps to reproduce the behavior:
npx create-nodejs-ts-app back
cd back
yarn dev
Expected behavior The app should work as expected.
Screenshots
Desktop :
Additional context This is the same behaviour with
yarn start
. I also tried toyarn compile
first but it didn't change anything.Thanks for your help !