无法安装节点包

Can't install node packages

我正在尝试使用 'npm install' 安装节点包,但是我每次安装时都只收到错误消息?

Error Codes Here https://pastebin.com/39mC3nPm

Log Here https://pastebin.com/7PtCPdpX

希望有人能帮忙,谢谢!

错误状态:

Can't find Python executable "python", you can set the PYTHON env variable.

所以我猜你必须安装 Python 2.7 才能正常工作。

如果您仍然遇到错误,我看到您正在使用 Windows,node-sass 存在已知问题,缺少 Windows 的版本,例如请参阅 this GitHub issue or its issue tracker了解更多信息。