[英]How can I install parcel package using npm install --save-dev parcel?
I am trying to install parcel webpack but there are some warnings in this installation.我正在尝试安装包裹 webpack 但在此安装中有一些警告。 I also checked by deleting node_moduels folder but every time getting the same warning.
我还通过删除 node_moduels 文件夹进行了检查,但每次都收到相同的警告。
The command you are attempting to run uses Python 2 syntax.您尝试运行的命令使用 Python 2 语法。 It is incompatible with Python 3 and when you want to install the package, node-gyp is executed with python3 and this error happened.
它与 Python 3 不兼容,当您要安装 package 时,使用 python3 执行 node-gyp 并发生此错误。
This question explain how to change the python version for install package 这个问题解释了如何更改 python 版本以安装 package
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.