the setup script still uses npm #485

Closed
opened 2025-11-09 09:50:42 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @KwiatekMiki on GitHub (Oct 6, 2024).

bug description

when i use the setup script (pnpm run setup), i get this error:

npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:^

npm error A complete log of this run can be found in: /home/kwiat/.npm/_logs/2024-10-06T07_48_50_539Z-debug-0.log
node:internal/readline/emitKeypressEvents:74
            throw err;
            ^

Error: Command failed: npm install

reproduction steps

  1. clone cobalt and go into cobalt/api
  2. run pnpm run setup
  3. follow the instructions
  4. see error

screenshots

No response

No response

platform information

bash on linux

additional context

https://github.com/imputnet/cobalt/blob/main/api/src/util/setup.js#L22

Originally created by @KwiatekMiki on GitHub (Oct 6, 2024). ### bug description when i use the setup script (`pnpm run setup`), i get this error: ``` npm error code EUNSUPPORTEDPROTOCOL npm error Unsupported URL Type "workspace:": workspace:^ npm error A complete log of this run can be found in: /home/kwiat/.npm/_logs/2024-10-06T07_48_50_539Z-debug-0.log node:internal/readline/emitKeypressEvents:74 throw err; ^ Error: Command failed: npm install ``` ### reproduction steps 1. clone cobalt and go into `cobalt/api` 2. run `pnpm run setup` 3. follow the instructions 4. see error ### screenshots _No response_ ### links _No response_ ### platform information bash on linux ### additional context https://github.com/imputnet/cobalt/blob/main/api/src/util/setup.js#L22
GiteaMirror added the bug label 2025-11-09 09:50:42 -06:00
Sign in to join this conversation.