执行npm install报错Error: not found: python2

先执行:

npm --add-python-to-path='true' --debug install --global windows-build-tools

再执行:
npm install --global node-gyp

posted @ 2021-11-10 14:03  Code_Dog  Views(1023)  Comments(0Edit  收藏  举报