[英]Error in installation Nodejs
I have a package node , I want to install it by usinge this commande : 我有一个包节点,我想使用以下命令安装它:
./configure --prefix=/path/NODEJS/node_installation && make && make install
This will output the following error : 这将输出以下错误:
File "./configure", line 16, in <module>
from gyp.common import GetFlavor
File "./tools/gyp/pylib/gyp/__init__.py", line 8, in <module>
import gyp.input
File "./tools/gyp/pylib/gyp/input.py", line 873
except ImportError as e:
Helps appreciated. 帮助赞赏。
Regards 问候
Try this: 尝试这个:
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
See, if that helps. 看,如果有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.