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 #0 99.25 npm ERR! code 1 #221

Open
longtran84 opened this issue Jan 17, 2023 · 6 comments
Open

BUG #0 99.25 npm ERR! code 1 #221

longtran84 opened this issue Jan 17, 2023 · 6 comments

Comments

@longtran84
Copy link

#0 99.25 npm ERR! code 1
#0 99.25 npm ERR! path /app/node_modules/node-sass
#0 99.25 npm ERR! command failed
#0 99.25 npm ERR! command sh -c -- node scripts/build.js
#0 99.25 npm ERR! Building: /usr/local/bin/node /app/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
#0 99.25 npm ERR! gyp info it worked if it ends with ok
#0 99.25 npm ERR! gyp verb cli [
#0 99.25 npm ERR! gyp verb cli '/usr/local/bin/node',
#0 99.25 npm ERR! gyp verb cli '/app/node_modules/node-gyp/bin/node-gyp.js',
#0 99.25 npm ERR! gyp verb cli 'rebuild',
#0 99.25 npm ERR! gyp verb cli '--verbose',
#0 99.25 npm ERR! gyp verb cli '--libsass_ext=',
#0 99.25 npm ERR! gyp verb cli '--libsass_cflags=',
#0 99.25 npm ERR! gyp verb cli '--libsass_ldflags=',
#0 99.25 npm ERR! gyp verb cli '--libsass_library='
#0 99.25 npm ERR! gyp verb cli ]

@smaharj1
Copy link
Collaborator

Can you add replication steps for this?

@longtran84
Copy link
Author

@smaharj1 ... I'm using docker for build with cmd as : j2ee@j2ee:~/Documents/working/Veniqa$ sudo docker-compose up

@longtran84
Copy link
Author

Screenshot from 2023-01-19 14-40-50

@GonzoTheDev
Copy link

I just got the same error following the quick start docker guide on a ubuntu 20.04 system.

@longtran84
Copy link
Author

@smaharj1 can you help me resolve this issue?

@Dado555
Copy link

Dado555 commented Aug 31, 2023

Try updating "node-sass": "^9.0.0" in package.json and add RUN apk add --no-cache python3 g++ make before RUN npm install in Dockerfile-local

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

4 participants