-
-
Notifications
You must be signed in to change notification settings - Fork 443
Extracting Arduino IDE ZIP package fails: "Path too long" #106
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
Comments
There is not much we can do about it, try to extract the app to |
I installed it on the "c:" and that work. The answer is to shorten your name to a much more reasonable size. |
@sjh114961 what path where you initially trying to unzip in? |
I see that the file with the longest name in the Windows package is By the way, maybe would this be solved when we stop distributing the application as a zip file and we provide a proper installer instead? |
Unfortunately, yes. This path comes from a VS Code extension for the YAML language as-is: https://github.com/redhat-developer/vscode-yaml We cannot change the paths, as Node.js might If the problem occurs only when unzipping the app and not at runtime:
|
As for now, we decided to drop the YAML language support from the application. This means the users will lose all the language features (validation, content assist, hover) in the CLI config editor. This is unfortunate, but we have to replace the CLI config editor with some proper UI anyways. I have opened an upstream issue: redhat-developer/vscode-yaml#336 |
I tried to modify the registry to allow for longer path names (modify registry at own risk ☠️ ): |
I wonder why there is a Update: It comes from the % find ./ -name serialport_unix.o.d
.//resources/app/plugins/cortex-debug/extension/binary_modules/v12.18.3/darwin/x64/node_modules/@serialport/bindings/build/Release/.deps/Release/obj.target/bindings/src/serialport_unix.o.d
.//resources/app/plugins/cortex-debug/extension/binary_modules/v12.14.1/linux/x64/node_modules/@serialport/bindings/build/Release/.deps/Release/obj.target/bindings/src/serialport_unix.o.d
.//resources/app/plugins/cortex-debug/extension/binary_modules/v12.14.1/linux/arm/node_modules/@serialport/bindings/build/Release/.deps/Release/obj.target/bindings/src/serialport_unix.o.d
.//resources/app/plugins/cortex-debug/extension/binary_modules/v12.14.1/linux/arm64/node_modules/@serialport/bindings/build/Release/.deps/Release/obj.target/bindings/src/serialport_unix.o.d
.//resources/app/plugins/cortex-debug/extension/binary_modules/v12.14.1/darwin/x64/node_modules/@serialport/bindings/build/Release/.deps/Release/obj.target/bindings/src/serialport_unix.o.d |
Describe the bug
Getting a path too long unzipping.
To Reproduce
Steps to reproduce the behavior:
Unzip package in windows 10
Expected behavior
No error
Screenshots
Desktop (please complete the following information):
Windows 10 Pro
version 10.0.18362 build 18362
Additional context
None
The text was updated successfully, but these errors were encountered: