Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

233
Views
NPM not installing on local machine

Below are the specifications.

Node Version : v16.13.0
Npm Version : 8.1.2

Below are the commands that i tried one by one.

npm cache clean

npm install --no-bin-links

npm install --save

After that, I got the below error. As clearly shown in the error that the paython PATH issue then I tried the below command and the cmd is halted from last 16 hours

Error Screenshot

After installing the windows build tools it's stuck the screen for the last 16 hours. Below is the command that i execute.

npm install --global windows-build-tools

enter image description here

I tried all possibilities like removing node_modules dir and removing package.json, package-lock.json

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

From the error it looks like you have python 3 installed, but the print statement of a module you're trying to compile with node-gyp is written the python 2 way (that is, it's an actual statement and not a function). Try to install python 2 and put it in the path as "python2" like the error message says.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!