关于node.js与npm的常见问题

注:以下问题的方法链接,亲测有效。

1.安装cnpm后报错:‘cnpm’ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
方法:链接

2.npm install报:gyp ERR! stack Error: Can’t find Python executable “python”, you can set the PYT HON env variable.
方法:链接

3.关于安装windows-build-tools卡在 Python 2.7.18 is already installed, not installing again.
方法:链接,亲测有效,真的很神奇

你可能感兴趣的:(npm,node.js,前端)