Closed Rewarp closed 1 year ago
OS: openSUSE Tumbleweed
As of commit b20cb0c3f03aa60b79d1c60e1047d21929bb49f9, I am unable to install the program due to mica-electron not installing.
❯ npm i npm ERR! code 1 npm ERR! path /mnt/luks2/bin/SysMocap/node_modules/mica-electron npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.3.1 npm ERR! gyp info using node@18.15.0 | linux | x64 npm ERR! gyp info find Python using Python version 3.10.10 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/lib64/node_modules/npm18/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/mnt/luks2/bin/SysMocap/node_modules/mica-electron/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/lib64/node_modules/npm18/node_modules/node-gyp/addon-rpm.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/include/node18/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/usr/include/node18', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib64/node_modules/npm18/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/usr/include/node18/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/mnt/luks2/bin/SysMocap/node_modules/mica-electron', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp: /usr/include/node18/common.gypi not found (cwd: /mnt/luks2/bin/SysMocap/node_modules/mica-electron) while reading includes of binding.gyp while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/usr/lib64/node_modules/npm18/node_modules/node-gyp/lib/configure.js:329:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Linux 6.2.8-1-default npm ERR! gyp ERR! command "/usr/bin/node18" "/usr/lib64/node_modules/npm18/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /mnt/luks2/bin/SysMocap/node_modules/mica-electron npm ERR! gyp ERR! node -v v18.15.0 npm ERR! gyp ERR! node-gyp -v v9.3.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /home/rewarp/.npm/_logs/2023-03-31T04_50_44_372Z-debug-0.log
Removing the "mica-electron": "^1.2.1", dependency from package.json allows the program to resume installing normally.
"mica-electron": "^1.2.1",
package.json
Yes, "mica-electron" seem not compatible with Linux. I will remove or fix it in next version.
Hi. Just tested the latest commit and everything works again! No need to remove mica-electron. Thanks for fixing!
OS: openSUSE Tumbleweed
As of commit b20cb0c3f03aa60b79d1c60e1047d21929bb49f9, I am unable to install the program due to mica-electron not installing.
Removing the
"mica-electron": "^1.2.1",
dependency frompackage.json
allows the program to resume installing normally.