-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.IO.PathTooLongException #12
Comments
Update: The failed command in logs is ; I executed this command manually with no errors. Output; `C:\cn>eisw .\ --debug --loading_gif c:\is.gif C:\cn>eisw .\ --debug --loading_gif c:\is.gif C:\cn>C:\npm\node_modules\eisw\vendor\Update.com --releasify C:\temp\ClientNode. C:\cn>` |
You could fix this problem if you use asar because if you don't use it windows will go to every package that you have inside node_modules and that could be huge... if you use asar its just like a zip so the packager will not look on every folder |
Maybe we could use the \?\ reference for long paths? |
I fixed this by adding the following line to my package.json:
|
@JenRobertson Thanks a lot. |
confirmed - this worked with |
Here is full error
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
Program successfully creates nupkg file. Then gives error while executing this command;
C:\Users\sahip\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\vendor\Update.com --releasify C:\Users\sahip\AppData\Local\Temp\ClientNode.0.1.0.nupkg --releaseDir C:\ --loadingGif C:\Users\sahip\AppData\Roaming\npm\node_modules\electron-installer-squirrel-windows\resources\install-spinner.gif
I am using Win7 64 Bit
Any idea?
The text was updated successfully, but these errors were encountered: