Installation issues #102
Closed
Unaltered7125
started this conversation in
General
Replies: 1 comment 5 replies
-
|
What version of Node.js do you use? Try with v22 or higher. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Running the install command leads to this output, if needed i can upload my entire log. Ive tried using the docker compose but haven't had luck with it either.
`sudo npm install -g opentrader
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/opentrader/node_modules/@prisma/client
npm ERR! command failed
npm ERR! command sh -c node scripts/postinstall.js
npm ERR! /usr/local/lib/node_modules/opentrader/node_modules/@prisma/client/scripts/postinstall.js:233
npm ERR! const { js, ts } = defaultFiles[file] ?? {}
npm ERR! ^
npm ERR!
npm ERR! SyntaxError: Unexpected token '?'
npm ERR! at wrapSafe (internal/modules/cjs/loader.js:915:16)
npm ERR! at Module._compile (internal/modules/cjs/loader.js:963:27)
npm ERR! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
npm ERR! at Module.load (internal/modules/cjs/loader.js:863:32)
npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:708:14)
npm ERR! at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
npm ERR! at internal/main/run_main_module.js:17:47
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2025-01-23T02_20_36_882Z-debug-0.log`
Beta Was this translation helpful? Give feedback.
All reactions