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

Cant get past /node-sass in install #29

Open
rpanos opened this issue Mar 30, 2023 · 6 comments
Open

Cant get past /node-sass in install #29

rpanos opened this issue Mar 30, 2023 · 6 comments

Comments

@rpanos
Copy link

rpanos commented Mar 30, 2023

I cant seem to get past the node-sass step. I tried using npm config to set python to 2.7 and 3.X. What could I be doing wrong?

= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] 🔨 Building fresh packages...
[-/12] ⡀ waiting...
[-/12] ⡀ waiting...
[-/12] ⢀ waiting...
[4/12] ⢀ node-sass
error /Users/xxx/Documents/code/omm-vrd/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /Users/xxx/Documents/code/omm-vrd/node_modules/node-sass
Output:
Building: /usr/local/Cellar/node/19.7.0/bin/node /Users/xxx/Documents/code/omm-vrd/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/usr/local/Cellar/node/19.7.0/bin/node',
gyp verb cli '/Users/xxx/Documents/code/omm-vrd/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library='
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "/Library/Frameworks/Python.framework/Versions/3.11/bin/python3" in the PATH
gyp verb which succeeded /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
gyp ERR! configure error
gyp ERR! stack Error: Command failed: /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (node:child_process:419:12)
gyp ERR! stack at ChildProcess.emit (node:events:512:28)
gyp ERR! stack at maybeClose (node:internal/child_process:1098:16)
gyp ERR! stack at Socket. (node:internal/child_process:456:11)
gyp ERR! stack at Socket.emit (node:events:512:28)
gyp ERR! stack at Pipe. (node:net:316:12)
gyp ERR! System Darwin 21.6.0
gyp ERR! command "/usr/local/Cellar/node/19.7.0/bin/node" "/Users/xxx/Documents/code/omm-vrd/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/xxx/Documents/code/omm-vrd/node_modules/node-sass
gyp ERR! node -v v19.7.0

@rhithesh
Copy link

facing the same issue

@alextrazah
Copy link

Try to use node 14.17.4 it worked for me

@app-generator
Copy link

Hello!
for compatibility with newer NodeJS versions (16.x, 18.x) pnpm manages well the build

$ pnpm i
$ gulp

@shahzeb0099
Copy link

./src/scss/volt.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-5-4!./src/scss/volt.scss)
Error: Node Sass version 9.0.0 is incompatible with ^4.0.0. Please Help Me

@Krisslk
Copy link

Krisslk commented Aug 2, 2023

./src/scss/volt.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-5-4!./src/scss/volt.scss) Error: Node Sass version 9.0.0 is incompatible with ^4.0.0. Please Help Me

did you resolve it? I have the same issue

@Krisslk
Copy link

Krisslk commented Aug 2, 2023

nvm use 14,
npm install
npm start

it will work

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

6 participants