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

Unable to compile TypeScript #1

Open
applemate opened this issue Dec 23, 2024 · 0 comments
Open

Unable to compile TypeScript #1

applemate opened this issue Dec 23, 2024 · 0 comments

Comments

@applemate
Copy link

TSError: ⨯ Unable to compile TypeScript:
error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'.

    at createTSError (/Users/craigcosmo/Desktop/prisma-to-drizzle/node_modules/ts-node/src/index.ts:859:12)
    at reportTSError (/Users/craigcosmo/Desktop/prisma-to-drizzle/node_modules/ts-node/src/index.ts:863:19)
    at /Users/craigcosmo/Desktop/prisma-to-drizzle/node_modules/ts-node/src/index.ts:1379:34
    at Object.compile (/Users/craigcosmo/Desktop/prisma-to-drizzle/node_modules/ts-node/src/index.ts:1451:13)
    at Module.m._compile (/Users/craigcosmo/Desktop/prisma-to-drizzle/node_modules/ts-node/src/index.ts:1617:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/craigcosmo/Desktop/prisma-to-drizzle/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1089:32)
    at Function.Module._load (node:internal/modules/cjs/loader:930:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  diagnosticCodes: [ 5109 ]
}

first run, I got this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant