-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
ERR_UNSUPPORTED_DIR_IMPORT #149
Comments
tried updating dependencies as well
|
please try updating |
this has resolved the original issue. |
yea i cant start the server cuz of the typescript errors, they come with delay haha i thought i was clear. I'll open new issue for that |
when starting the server I have this error
There are also typescript errors in the generated file:
environment:
vscode 1.79.0
windows 10
node latest stable version v18.16.0
npm version 9.7.1
standard nodejs express typescript server, not using NextJS
tsconfig.json
package.json
schema.prisma
in my index.ts, im importing
UserCreateInputSchema
and it auto imports succesfully.index.ts
things I've tried:
useMultipleFiles = true
in generatorts-node
fails when ES Modules are in the dependency graph in Node.js 13+ TypeStrong/ts-node#935 including messing around with target, module, and lib in tsconfigThe text was updated successfully, but these errors were encountered: