npm ERR! code EUNSUPPORTEDPROTOCOL #1

Closed
opened 2025-12-29 09:44:20 +00:00 by nik · 0 comments
Owner

I cloned the repo, updated .env and ran sudo docker compose build nsecbunkerd. Got an error:

=> ERROR [build 4/7] RUN npm install 5.2s

[build 4/7] RUN npm install:
4.271 npm notice
4.271 npm notice New major version of npm available! 10.2.4 -> 11.7.0
4.274 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.7.0
4.279 npm notice Run npm install -g npm@11.7.0 to update!
4.279 npm notice
4.279 npm ERR! code EUNSUPPORTEDPROTOCOL
4.281 npm ERR! Unsupported URL Type "workspace:": workspace:*
4.284
4.284 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-12-29T09_39_32_458Z-debug-0.log


Dockerfile:7


5 | # Copy package files and install dependencies

6 | COPY package*.json ./

7 | >>> RUN npm install

8 |

9 | # Copy application files


failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1

I'll be happy to help debug further if needed.

I cloned the repo, updated .env and ran sudo docker compose build nsecbunkerd. Got an error: => ERROR [build 4/7] RUN npm install 5.2s ------ > [build 4/7] RUN npm install: 4.271 npm notice 4.271 npm notice New major version of npm available! 10.2.4 -> 11.7.0 4.274 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v11.7.0> 4.279 npm notice Run `npm install -g npm@11.7.0` to update! 4.279 npm notice 4.279 npm ERR! code EUNSUPPORTEDPROTOCOL 4.281 npm ERR! Unsupported URL Type "workspace:": workspace:* 4.284 4.284 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-12-29T09_39_32_458Z-debug-0.log ------ Dockerfile:7 -------------------- 5 | # Copy package files and install dependencies 6 | COPY package*.json ./ 7 | >>> RUN npm install 8 | 9 | # Copy application files -------------------- failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1 I'll be happy to help debug further if needed.
nik closed this issue 2025-12-29 09:44:47 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nik/nsecbunkerd#1
No description provided.