-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Describe the bug
Currently building a release package (i.e. npm install
) is not working for the 3.3 branch due to npm errors when building the plugin resources. Some dependency updates may be needed in order to do a new release for 3.3 (or possibly an environment with python2 available).
npm error code 1
npm error path /Users/kaitlinnewson/Downloads/immersion/node_modules/node-sass
npm error command failed
npm error command sh -c node scripts/build.js
npm error Building: /usr/local/Cellar/node/23.11.0/bin/node /Users/kaitlinnewson/Downloads/immersion/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm error gyp info it worked if it ends with ok
npm error gyp verb cli [
npm error gyp verb cli '/usr/local/Cellar/node/23.11.0/bin/node',
npm error gyp verb cli '/Users/kaitlinnewson/Downloads/immersion/node_modules/node-gyp/bin/node-gyp.js',
npm error gyp verb cli 'rebuild',
npm error gyp verb cli '--verbose',
npm error gyp verb cli '--libsass_ext=',
npm error gyp verb cli '--libsass_cflags=',
npm error gyp verb cli '--libsass_ldflags=',
npm error gyp verb cli '--libsass_library='
npm error gyp verb cli ]
npm error gyp info using node-gyp@3.8.0
npm error gyp info using node@23.11.0 | darwin | x64
npm error gyp verb command rebuild []
npm error gyp verb command clean []
npm error gyp verb clean removing "build" directory
npm error gyp verb command configure []
npm error gyp verb check python checking for Python executable "python2" in the PATH
npm error gyp verb `which` failed Error: not found: python2
npm error gyp verb `which` failed at getNotFoundError (/Users/kaitlinnewson/Downloads/immersion/node_modules/which/which.js:13:12)
npm error gyp verb `which` failed at F (/Users/kaitlinnewson/Downloads/immersion/node_modules/which/which.js:68:19)
npm error gyp verb `which` failed at E (/Users/kaitlinnewson/Downloads/immersion/node_modules/which/which.js:80:29)
npm error gyp verb `which` failed at /Users/kaitlinnewson/Downloads/immersion/node_modules/which/which.js:89:16
npm error gyp verb `which` failed at /Users/kaitlinnewson/Downloads/immersion/node_modules/isexe/index.js:42:5
npm error gyp verb `which` failed at /Users/kaitlinnewson/Downloads/immersion/node_modules/isexe/mode.js:8:5
npm error gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:199:21)
npm error gyp verb `which` failed python2 Error: not found: python2
npm error gyp verb `which` failed at getNotFoundError (/Users/kaitlinnewson/Downloads/immersion/node_modules/which/which.js:13:12)
npm error gyp verb `which` failed at F (/Users/kaitlinnewson/Downloads/immersion/node_modules/which/which.js:68:19)
npm error gyp verb `which` failed at E (/Users/kaitlinnewson/Downloads/immersion/node_modules/which/which.js:80:29)
npm error gyp verb `which` failed at /Users/kaitlinnewson/Downloads/immersion/node_modules/which/which.js:89:16
npm error gyp verb `which` failed at /Users/kaitlinnewson/Downloads/immersion/node_modules/isexe/index.js:42:5
npm error gyp verb `which` failed at /Users/kaitlinnewson/Downloads/immersion/node_modules/isexe/mode.js:8:5
npm error gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:199:21) {
npm error gyp verb `which` failed code: 'ENOENT'
npm error gyp verb `which` failed }
npm error gyp verb check python checking for Python executable "python" in the PATH
npm error gyp verb `which` succeeded python /usr/local/bin/python
npm error (node:12298) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
npm error (Use `node --trace-deprecation ...` to show where the warning was created)
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Command failed: /usr/local/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm error gyp ERR! stack File "<string>", line 1
npm error gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm error gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm error gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
npm error gyp ERR! stack
npm error gyp ERR! stack at genericNodeError (node:internal/errors:983:15)
npm error gyp ERR! stack at wrappedFn (node:internal/errors:537:14)
npm error gyp ERR! stack at ChildProcess.exithandler (node:child_process:414:12)
npm error gyp ERR! stack at ChildProcess.emit (node:events:507:28)
npm error gyp ERR! stack at maybeClose (node:internal/child_process:1101:16)
npm error gyp ERR! stack at Socket.<anonymous> (node:internal/child_process:457:11)
npm error gyp ERR! stack at Socket.emit (node:events:507:28)
npm error gyp ERR! stack at Pipe.<anonymous> (node:net:351:12)
npm error gyp ERR! System Darwin 23.6.0
npm error gyp ERR! command "/usr/local/Cellar/node/23.11.0/bin/node" "/Users/kaitlinnewson/Downloads/immersion/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm error gyp ERR! cwd /Users/kaitlinnewson/Downloads/immersion/node_modules/node-sass
npm error gyp ERR! node -v v23.11.0
npm error gyp ERR! node-gyp -v v3.8.0
npm error gyp ERR! not ok
npm error Build failed with error code: 1
npm error A complete log of this run can be found in: /Users/kaitlinnewson/.npm/_logs/2025-07-31T17_53_51_063Z-debug-0.log
Metadata
Metadata
Assignees
Labels
No labels