Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Please help me in this error, npm run build / deploy error on windows

I got this error when I was running the npm run deploy command in the terminal, please help me to resolve this error.

Error image

Update

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

  1. Run Git Bash as administrator (right-clicking the app shortcut will show the option to Run as Administrator )
  2. Run the following command:
    git config –system core.longpaths true
    Note: if step 2 does not work or gives any error, you can also try running this command:

git config –global core.longpaths true

this worked for me, find it here

>Solution :

I think this link will help you:

Filename too long in Git for Windows

You must run this command in your terminal:

git config --system core.longpaths true
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading