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: #1009

Open
2 tasks done
datasigns-in opened this issue Jun 24, 2024 · 1 comment
Open
2 tasks done

🐛 Bug Report: #1009

datasigns-in opened this issue Jun 24, 2024 · 1 comment

Comments

@datasigns-in
Copy link

📜 Description

npm notice
npm notice New major version of npm available! 9.8.1 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice Run npm install -g [email protected] to update!
npm notice
npm ERR! code 1
npm ERR! path /app/node_modules/esbuild
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! node:internal/errors:496
npm ERR! ErrorCaptureStackTrace(err);
npm ERR! ^
npm ERR!
npm ERR! <ref *1> Error: spawnSync /app/node_modules/esbuild/bin/esbuild ETXTBSY
npm ERR! at Object.spawnSync (node:internal/child_process:1124:20)
npm ERR! at spawnSync (node:child_process:876:24)
npm ERR! at Object.execFileSync (node:child_process:919:15)
npm ERR! at validateBinaryVersion (/app/node_modules/esbuild/install.js:99:28)
npm ERR! at /app/node_modules/esbuild/install.js:286:5 {
npm ERR! errno: -26,
npm ERR! code: 'ETXTBSY',
npm ERR! syscall: 'spawnSync /app/node_modules/esbuild/bin/esbuild',
npm ERR! path: '/app/node_modules/esbuild/bin/esbuild',
npm ERR! spawnargs: [ '--version' ],
npm ERR! error: [Circular *1],
npm ERR! status: null,
npm ERR! signal: null,
npm ERR! output: null,
npm ERR! pid: 0,
npm ERR! stdout: null,
npm ERR! stderr: null
npm ERR! }
npm ERR!
npm ERR! Node.js v20.6.1

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-06-24T18_48_52_181Z-debug-0.log
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1

👟 Reproduction steps

self hosting - tried to do that and encountered above error

👍 Expected behavior

front end should have instlaled after apt install npm

👎 Actual Behavior with Screenshots

npm notice
npm notice New major version of npm available! 9.8.1 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice Run npm install -g [email protected] to update!
npm notice
npm ERR! code 1
npm ERR! path /app/node_modules/esbuild
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! node:internal/errors:496
npm ERR! ErrorCaptureStackTrace(err);
npm ERR! ^
npm ERR!
npm ERR! <ref *1> Error: spawnSync /app/node_modules/esbuild/bin/esbuild ETXTBSY
npm ERR! at Object.spawnSync (node:internal/child_process:1124:20)
npm ERR! at spawnSync (node:child_process:876:24)
npm ERR! at Object.execFileSync (node:child_process:919:15)
npm ERR! at validateBinaryVersion (/app/node_modules/esbuild/install.js:99:28)
npm ERR! at /app/node_modules/esbuild/install.js:286:5 {
npm ERR! errno: -26,
npm ERR! code: 'ETXTBSY',
npm ERR! syscall: 'spawnSync /app/node_modules/esbuild/bin/esbuild',
npm ERR! path: '/app/node_modules/esbuild/bin/esbuild',
npm ERR! spawnargs: [ '--version' ],
npm ERR! error: [Circular *1],
npm ERR! status: null,
npm ERR! signal: null,
npm ERR! output: null,
npm ERR! pid: 0,
npm ERR! stdout: null,
npm ERR! stderr: null
npm ERR! }
npm ERR!
npm ERR! Node.js v20.6.1

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-06-24T18_48_52_181Z-debug-0.log
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1

💻 Operating system

Linux

What browsers are you seeing the problem on?

No response

🤖 What development environment are you experiencing this bug on?

Docker

🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)

yes

📃 Provide any additional context for the Bug.

No response

📖 Relevant log output

No response

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

  • I checked and didn't find similar issue

🔗 Are you willing to submit PR?

None

🧑‍⚖️ Code of Conduct

  • I agree to follow this project's Code of Conduct
@dartpain
Copy link
Contributor

Hi, I have a few questions to clarify:

  1. Are you launching a docker container? if so are you using frontend/Dockerfile?
  2. Did you try using docker-compose or .setup.sh?
  3. On which command are you getting the error, npm install?

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