Hello!
I'm attempting to setup vector-admin on an Ubuntu VM running on WSL 2.
This is the Ubuntu release information:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
I installed the most recent version of yarn with this command:
sudo apt install yarn
This also installed nodejs.
So far I've had two problems with the very first command, yarn dev:setup:
yarn run v1.22.19
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18".
Got "12.22.9"
error Commands cannot run with an incompatible environment.
i
I was able to deal with that by issuing this command:
yarn config set ignore-engines
true
- The installer ran, but experienced this error toward the end of the installation:
error /mnt/c/Development/Projects/Python/vectoradmin/vector-admin/backend/node_modules/@prisma/engines: Command failed.
Exit code: 1
Command: node scripts/postinstall.js
Arguments:
Directory: /mnt/c/Development/Projects/Python/vectoradmin/vector-admin/backend/node_modules/@prisma/engines
Output:
/mnt/c/Development/Projects/Python/vectoradmin/vector-admin/backend/node_modules/@prisma/engines/dist/scripts/postinstal
l.js:22549
return this[INTERNAL2].defaultPort ?? (this.protocol === "https:" ? 443 : 80);
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/mnt/c/Development/Projects/Python/vectoradmin/vector-admin/backend/node_modules/@prisma/engi
Any ideas?
Most cordially,
Jack Stewart