Skip to content

Cant get past /node-sass in install  #29

@rpanos

Description

@rpanos

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 node-gyp@3.8.0
gyp info using node@19.7.0 | 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions