Naoko icon indicating copy to clipboard operation
Naoko copied to clipboard

can't launch naoko

Open mollyvita opened this issue 3 years ago • 2 comments

hi! bought new server and decided to try and test naoko, but i can't even start... using ubuntu server 20.04 this is the answer from terminal

npm ERR! code 1 npm ERR! path /root/Naoko/node_modules/gl npm ERR! command failed npm ERR! command sh -c prebuild-install || node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64 npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3" npm ERR! (node:62606) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use node --trace-deprecation ... to show where the warning was created) npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/root/Naoko/node_modules/gl/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 '/root/Naoko/node_modules/gl/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/Naoko/node_modules/gl/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/.cache/node-gyp/16.6.1/include/node/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=/root/.cache/node-gyp/16.6.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/root/Naoko/node_modules/gl/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/16.6.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/root/Naoko/node_modules/gl', 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! /bin/sh: 1: python: not found npm ERR! gyp: Call to 'python commit_id.py check ..' returned exit status 127 while in angle/src/angle.gyp. while loading dependencies 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 (/root/Naoko/node_modules/gl/node_modules/node-gyp/lib/configure.js:351:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:394:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) npm ERR! gyp ERR! System Linux 5.4.0-29-generic npm ERR! gyp ERR! command "/root/Naoko/node_modules/node/bin/node" "/root/Naoko/node_modules/gl/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /root/Naoko/node_modules/gl npm ERR! gyp ERR! node -v v16.6.1 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-11-14T21_20_15_861Z-debug.log root@vps:~/Naoko#

what should i do?

mollyvita avatar Nov 14 '22 21:11 mollyvita

Send commands that you used Check python version

otiskujawa avatar Nov 15 '22 00:11 otiskujawa

Send commands that you used Check python version

hi again! python is 3.8.10 just going to the directory by cd command and running npm i gets me this

mollyvita avatar Nov 15 '22 04:11 mollyvita