python.exe Syntax issue - NPM

后端 未结 2 1300
梦如初夏
梦如初夏 2021-01-11 21:03

I am having trouble when running Npm install. I get the following error:

gyp ERR! stack Error: Command failed: C:\\Users\\userxxx\\AppData\\Local\\Programs\         


        
2条回答
  •  醉酒成梦
    2021-01-11 21:40

    Two solution we can try in this case

    1. Downgrade Python to 2.x.

    2. Install the packages using npm install --ignore-scripts

      NOTE: This will cause npm to stop running scripts defined in the package.json

提交回复
热议问题