Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You need to install gyp in build/gyp first. when run ./learnuv make #45

Open
re4388 opened this issue Sep 3, 2023 · 1 comment
Open

Comments

@re4388
Copy link

re4388 commented Sep 3, 2023

Env:

      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 18.04.6 LTS x86_64 
    .ossssssssssssssssssdMMMNysssso.       Host: Google Compute Engine 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.4.0-1106-gcp 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 4 mins 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 698 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 4.4.20 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Terminal: /dev/pts/0 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   CPU: Intel Xeon (2) @ 2.199GHz 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Memory: 284MiB / 3928MiB 

re4388001@instance-0:~/learnuv$ env | grep PY
PYTHON=/usr/bin/python


re4388001@instance-0:~/learnuv$ python --version
Python 2.7.17

Error reproduce:

  1. git clone the repo
  2. npm i
  3. ./learnuv and select the first one
  4. ./learnuv make
$ ./learnuv make

> learnuv@0.1.3 make /home/re4388/pjt/node/learnuv
> ./gyp_learnuv.py -f make && make -C out $CURRENT_TARGET

You need to install gyp in build/gyp first. See the README.
npm ERR! code ELIFECYCLE
npm ERR! errno 42
npm ERR! learnuv@0.1.3 make: `./gyp_learnuv.py -f make && make -C out $CURRENT_TARGET`
npm ERR! Exit status 42
npm ERR!
npm ERR! Failed at the learnuv@0.1.3 make script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/re4388/.npm/_logs/2023-09-03T01_17_58_172Z-debug.log
@debdutdeb
Copy link

pip install six

fixed issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants