You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error when I try to run npm run deploy:
Error: spawn ENAMETOOLONG
at ChildProcess.spawn (node:internal/child_process:420:11)
at Object.spawn (node:child_process:757:9)
at C:\Users\(folder)\source\repos\pf2e-tools\node_modules\gh-pages\lib\git.js:30:22
at new Promise (<anonymous>)
at spawn (C:\Users\(folder)\source\repos\pf2e-tools\node_modules\gh-pages\lib\git.js:29:10)
at Git.exec (C:\Users\(folder)\source\repos\pf2e-tools\node_modules\gh-pages\lib\git.js:69:10)
at Git.rm (C:\Users\(folder)\source\repos\pf2e-tools\node_modules\gh-pages\lib\git.js:146:15)
at C:\Users\(folder)\source\repos\pf2e-tools\node_modules\gh-pages\lib\index.js:180:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
I tried shortening long files and long file names, but am still having issues with this step.
The text was updated successfully, but these errors were encountered:
Hi @phroureo, sorry about the delay in my response. I have not encountered this issue before. Are you still facing this issue?
If so, will you tell me how many characters are in the part of the path that you represented with (folder)? I don't need to know the actual string (in case it is private; e.g. it includes your real name).
Also, I see a 10 year-old issue in the npm repository involving that ENAMETOOLONG error code: npm/npm#6776 (comment). I think the person that created that Issue had a file on their computer that had a very long name and was created by mistake. Will you check for any particularly long-named files or folders in your working directory?Edit: Sorry, you said you already did this.
Category
Which of these applies to you? (Select all that apply)
Step
Which step of the tutorial do you want someone to help you with? (Select one)
Links
Tell us where we can find your code and your GitHub Pages site:
Everything else
I'm getting this error when I try to run
npm run deploy
:I tried shortening long files and long file names, but am still having issues with this step.
The text was updated successfully, but these errors were encountered: