Skip to content
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

Making squirrel project (windows): the specified path, file name, or both are too long. #228

Closed
debelop13 opened this issue May 15, 2017 · 2 comments

Comments

@debelop13
Copy link

Basically, after pack my project, I am trying to make squirrel target, and is doing an too long path error.

Making Electron project.
An error occured while making for target: squirrel
Failed with exit code: 1
Output:
Attempting to build package from 'catalog.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.

Error: Failed with exit code: 1
Output:
Attempting to build package from 'catalog.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.**

I can use asar, but then I can't execute this file inside asar, and I have to copy out of project. Exists another way?
Thanks!

@MarshallOfSound
Copy link
Member

There isn't anything we can do about the 260 character path limit, you should move the files that won't fit in an ASAR as high up the directory structure as possible. Other than that there isn't anything we can do 👍

dsanders11 pushed a commit that referenced this issue Jan 14, 2023
build: Don't mark releases as prereleases
@chriszrc
Copy link

@MarshallOfSound Would it be possible for the error to specify just what file/folder/etc is failing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants