-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
$ java -version
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (build 17.0.3+7, mixed mode, sharing)
$ javac -version
javac 17.0.3
$ node --version
v18.3.0
$ npm --version
8.13.2
$ sudo npm list -g nativescript
/usr/lib
└── nativescript@8.2.3
On the master branch it wants python2 for some reason ?
$ yarn setup
yarn run v1.22.19
$ git submodule update --init --recursive && yarn && cd kiwiirc && yarn && ns doctor
Submodule 'kiwiirc' (https://github.com/kiwiirc/kiwiirc) registered for path 'kiwiirc'
Cloning into '/home/dexter/src/kiwiirc-mobile/kiwiirc'...
Submodule path 'kiwiirc': checked out 'a23fef8bb59837fb50dab95a2cc6a4336bd09359'
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @panter/vue-i18next@0.13.0" has unmet peer dependency "vue@>=2.0.0".
warning " > nativescript-vue-devtools@1.4.0" has unmet peer dependency "tns-core-modules@*".
[4/4] Building fresh packages...
[10/12] ⠂ node-sass
[6/12] ⠂ electron
[-/12] ⠂ waiting...
[-/12] ⠂ waiting...
error /home/dexter/src/kiwiirc-mobile/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /home/dexter/src/kiwiirc-mobile/node_modules/node-sass
Output:
Building: /usr/bin/node /home/dexter/src/kiwiirc-mobile/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/bin/node',
gyp verb cli '/home/dexter/src/kiwiirc-mobile/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@18.3.0 | linux | 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 "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/home/dexter/src/kiwiirc-mobile/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/home/dexter/src/kiwiirc-mobile/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/home/dexter/src/kiwiirc-mobile/node_modules/which/which.js:80:29)
gyp verb `which` failed at /home/dexter/src/kiwiirc-mobile/node_modules/which/which.js:89:16
gyp verb `which` failed at /home/dexter/src/kiwiirc-mobile/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /home/dexter/src/kiwiirc-mobile/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:204:21)
gyp verb `which` failed python2 Error: not found: python2
gyp verb `which` failed at getNotFoundError (/home/dexter/src/kiwiirc-mobile/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/home/dexter/src/kiwiirc-mobile/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/home/dexter/src/kiwiirc-mobile/node_modules/which/which.js:80:29)
gyp verb `which` failed at /home/dexter/src/kiwiirc-mobile/node_modules/which/which.js:89:16
gyp verb `which` failed at /home/dexter/src/kiwiirc-mobile/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /home/dexter/src/kiwiirc-mobile/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:204:21) {
gyp verb `which` failed code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/bin/python
gyp ERR! configure error
gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "<string>", 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:387:12)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at maybeClose (node:internal/child_process:1090:16)
gyp ERR! stack at Socket.<anonymous> (node:internal/child_process:449:11)
gyp ERR! stack at Socket.emit (node:events:527:28)
gyp ERR! stack at Pipe.<anonymous> (node:net:740:14)
gyp ERR! System Linux 5.10.109-gentoo-x86_64
gyp ERR! command "/usr/bin/node" "/home/dexter/src/kiwiirc-mobile/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /home/dexter/src/kiwiirc-mobile/node_modules/node-sass
gyp ERR! node -v v18.3.0
On the ns7-upgrade branch:
$ yarn setup
yarn run v1.22.19
$ git submodule update --init --recursive && yarn && cd kiwiirc && yarn && ns doctor
[1/4] Resolving packages...
success Already up-to-date.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[6/6] ⢀ deasync
[-/6] ⢀ waiting...
[-/6] ⢀ waiting...
[-/6] ⢀ waiting...
error /home/dexter/src/kiwiirc-mobile/kiwiirc/node_modules/deasync: Command failed.
Exit code: 1
Command: node ./build.js
Arguments:
Directory: /home/dexter/src/kiwiirc-mobile/kiwiirc/node_modules/deasync
Output:
node:events:505
throw er; // Unhandled 'error' event
^
Error: spawn node-gyp ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn node-gyp',
path: 'node-gyp',
spawnargs: [ 'rebuild' ]
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels