solana-developers/create-solana-dapp

Problem to install it

Closed this issue · 1 comments

I am using ubuntu 22.04.

ricardo@ikigai:/pimentaGROUP/pessoal/Bobcoinsurvivor/solana/create-solana-dapp$ pnpm --version
9.10.0
ricardo@ikigai:/pimentaGROUP/pessoal/Bobcoinsurvivor/solana/create-solana-dapp$ pnpm install
Lockfile is up to date, resolution step is skipped
Packages: +1488
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1488, reused 1488, downloaded 0, added 0, done
node_modules/.pnpm/nx@19.3.2_@swc-node+register@1.9.2_@swc+core@1.5.7_@swc+helpers@0.5.11__@swc+node_modules/.pnpm/nx@19.3.2_@swc-node+register@1.9.2_@swc+core@1.5.7_@swc+helpers@0.5.11__@swc+types@0.1.7_type_n5pexknj54x4762oj5yxzci6tq/node_modules/nx: Running postinstall script, failed in 101ms
.../node_modules/nx postinstall$ node ./bin/post-install
│ /pimentaGROUP/pessoal/Bobcoinsurvivor/solana/create-solana-dapp/node_modules/.pnpm/nx@19.3.…
│ process.env.npm_config_legacy_peer_deps ??= 'true';
│ ^^^
│ SyntaxError: Unexpected token '??='
│ at wrapSafe (internal/modules/cjs/loader.js:1001:16)
│ at Module.compile (internal/modules/cjs/loader.js:1049:27)
│ at Object.Module.extensions..js (internal/modules/cjs/loader.js:1114:10)
│ at Module.load (internal/modules/cjs/loader.js:950:32)
│ at Function.Module.load (internal/modules/cjs/loader.js:790:12)
│ at Module.require (internal/modules/cjs/loader.js:974:19)
│ at require (internal/modules/cjs/helpers.js:101:18)
│ at Object. (/pimentaGROUP/pessoal/Bobcoinsurvivor/solana/create-solana-dapp/…
│ at Module.compile (internal/modules/cjs/loader.js:1085:14)
│ at Object.Module.extensions..js (internal/modules/cjs/loader.js:1114:10)
└─ Failed in 101ms at /pimentaGROUP/pessoal/Bobcoinsurvivor/solana/create-solana-dapp/node_modules/.pnpm/nx@19.3.2
@swc-node+register@1.9.2
@swc+core@1.5.7
@swc+helpers@0.5.11
@swc+types@0.1.7_type_n5pexknj54x4762oj5yxzci6tq/node_modules/nx
 ELIFECYCLE  Command failed with exit code 1.
ricardo@ikigai:/pimentaGROUP/pessoal/Bobcoinsurvivor/solana/create-solana-dapp$

Ops. I got it. Thanks