reactjsnpm-run

I get a deploy error on Windows with "npm run build"


I got this error when I was running the npm run deploy command in the terminal, how can I resolve this error?

Error image


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