Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Fails to run pnpm docker:build on main branch #7609

Open
2 tasks done
arian-press2015 opened this issue Jan 29, 2025 · 1 comment
Open
2 tasks done

Comments

@arian-press2015
Copy link

arian-press2015 commented Jan 29, 2025

📜 Description

when i try to run pnpm docker:build on main branch, it fails at resolving one dependency (@novu/dal) from registry.npmjs.org.

I'm using pnpm 8.9.0, node 20.18.2.

👟 Reproduction steps

  1. go to main branch
  2. use specified versions of node and pnpm
  3. run pnpm run setup:project + pnpm run docker:build

👍 Expected behavior

it should build docker.

👎 Actual Behavior with Screenshots

apps/ws docker:build: #24 50.83 Progress: resolved 284, reused 0, downloaded 284, added 0
apps/ws docker:build: #24 51.01 /usr/src/app/apps/ws:
apps/ws docker:build: #24 51.01  ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@novu%2Fdal: Not Found - 404
apps/ws docker:build: #24 51.01
apps/ws docker:build: #24 51.01 This error happened while installing the dependencies of @novu/[email protected]
apps/ws docker:build: #24 51.01
apps/ws docker:build: #24 51.01 @novu/dal is not in the npm registry, or you have no permission to fetch it.
apps/ws docker:build: #24 51.01
apps/ws docker:build: #24 51.01 No authorization header was set for the request.
apps/web docker:build: #26 40.56 Progress: resolved 5938, reused 0, downloaded 97, added 92
apps/ws docker:build: #24 ERROR: process "/bin/sh -c export BULL_MQ_PRO_NPM_TOKEN=$(cat /run/secrets/BULL_MQ_PRO_NPM_TOKEN) && pnpm install --verbose && pnpm build:ws" did not complete successfully: exit code: 1

Novu version

main branch(i don't know its version)

npm version

10.8.2

node version

20.18.2

📃 Provide any additional context for the Bug.

i didn't find anything in docs about how to build docker locally, if there is one, i would appreciate

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

Copy link

linear bot commented Jan 29, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants