Task :app-front:npmInstall FAILED

I’ve been trying to implement the Frontend UI but npm failed install:
I have already downloaded node and npm is in PATH but npm install still fails

Task :requests-front:npmInstall FAILED

Any idea on how to solve ?

Thank you.

Debug file if needed: 2020-06-08T15_09_09_213Z-debug.log (923.3 KB)


According to the log it’s some permission issue in your OS during npm install:

21401 error The operation was rejected by your operating system.
21401 error It's possible that the file was already in use (by a text editor or antivirus),
21401 error or that you lack permissions to access it.
21401 error
21401 error If you believe this might be a permissions issue, please double-check the
21401 error permissions of the file and its containing directories, or try running
21401 error the command again as root/Administrator.
21402 verbose exit [ -4048, true ]

It’s a quite common issue with npm in Windows caused by different reasons. Try one of the following:

  • Ensure only one npm install / node process running at the same time
  • Try to close other IDEs
  • Disable anti-virus
  • See solutions on stackoverflow