electron-archive / grunt-electron-installer

Grunt plugin to build Windows installers for Electron apps
MIT License
402 stars 106 forks source link

Error when creating windows installer #118

Closed mzmousa closed 8 years ago

mzmousa commented 8 years ago

I know this is mainly a C# issue, so the problem is in squirrel. However short I make my path names, I get this error.

Running "create-windows-installer:x64" (create-windows-installer) task
Warning: Failed with exit code: 1
Output:
Attempting to build package from 'orion.nuspec'.
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.
 Use --force to continue.
mzmousa commented 8 years ago

This worked after removing the dependencies in my app that had paths that were too long. Also updating npm or using npm dedupe may be effective.