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 when npm run dev #8

Open
SHaiderX opened this issue Jul 18, 2023 · 0 comments
Open

Error when npm run dev #8

SHaiderX opened this issue Jul 18, 2023 · 0 comments

Comments

@SHaiderX
Copy link

I followed all the steps, double checked, redid it, when I run 'npm run dev', I get this error. Please let me know if I'm forgetting to install anything that wasn't mentioned in the readme.

Error:

return new TSError(diagnosticText, diagnosticCodes, diagnostics);
       ^

TSError: ⨯ Unable to compile TypeScript:
error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node12', 'nodenext'.

at createTSError (C:\Users\haide\AppData\Roaming\npm\node_modules\ts-node\src\index.ts:859:12)
at reportTSError (C:\Users\haide\AppData\Roaming\npm\node_modules\ts-node\src\index.ts:863:19)
at createFromPreloadedConfig (C:\Users\haide\AppData\Roaming\npm\node_modules\ts-node\src\index.ts:874:36)
at phase4 (C:\Users\haide\AppData\Roaming\npm\node_modules\ts-node\src\bin.ts:543:44)
at bootstrap (C:\Users\haide\AppData\Roaming\npm\node_modules\ts-node\src\bin.ts:95:10)
at main (C:\Users\haide\AppData\Roaming\npm\node_modules\ts-node\src\bin.ts:55:10)
at Object.<anonymous> (C:\Users\haide\AppData\Roaming\npm\node_modules\ts-node\src\bin.ts:800:3)
at Module._compile (node:internal/modules/cjs/loader:1226:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
at Module.load (node:internal/modules/cjs/loader:1089:32) {

diagnosticCodes: [ 6046 ]
}

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