Repository navigation
node-pty should have valid code, even in the build process #736
Copy link
Copy link
Closed
Labels
info-neededIssue requires more information from posterIssue requires more information from poster
Description
(node:126535) ExperimentalWarning: CommonJS module /usr/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
npm warn deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm error code 1
npm error path /home/ashton/ElectronProjects/Terminal/forge/node_modules/@octokit/rest/node_modules/node-pty
npm error command failed
npm error command sh -c node-gyp rebuild
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@3.8.0
npm error gyp info using node@23.3.0 | linux | x64
npm error (node:126556) [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/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:513:28)
npm error gyp ERR! stack at maybeClose (node:internal/child_process:1101:16)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
npm error gyp ERR! System Linux 6.12.3-arch1-1
npm error gyp ERR! command "/usr/bin/node" "/home/ashton/ElectronProjects/Terminal/forge/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd /home/ashton/ElectronProjects/Terminal/forge/node_modules/@octokit/rest/node_modules/node-pty
npm error gyp ERR! node -v v23.3.0
npm error gyp ERR! node-gyp -v v3.8.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: /home/ashton/.npm/_logs/2024-12-11T15_47_25_985Z-debug-0.log
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from poster
Activity
Tyriar commentedon Dec 17, 2024
Not sure what you mean? Is the exit code not passed through, or?
YeesterPlus commentedon Dec 19, 2024
it needs parenthesies in the installer
YeesterPlus commentedon Dec 19, 2024
print "%s %s %s"->print("%s %s %s")YeesterPlus commentedon Dec 19, 2024
this isn't asm nor heavily modified smalltalk