laverna icon indicating copy to clipboard operation
laverna copied to clipboard

Windows x64 Installation Problem w/ Path Names

Open GaryFurash opened this issue 7 years ago • 14 comments

Even when trying to extract to the root directory (e.g., C:\Laverna) generates the message "Destination Path Too Long" (node-modules

GaryFurash avatar Nov 09 '17 15:11 GaryFurash

I can confirm this on a 64 bit Windows 10 installation.

wyldphyre avatar Nov 14 '17 00:11 wyldphyre

Same issue on Win 10 64 bit

brodiefairhall avatar Nov 16 '17 01:11 brodiefairhall

Same issue with the 32bit zip for 7.51 and 7.5 Tried to Unzip on a linux machine and it failed as well

brodiefairhall avatar Nov 17 '17 00:11 brodiefairhall

No wonder here... screenshot 1510924458

S-ed avatar Nov 17 '17 13:11 S-ed

I'd heard that Node was bad at dependancy management, but jeez.

wyldphyre avatar Nov 17 '17 13:11 wyldphyre

@wyldphyre *npm But yeah. I've even thought about writing a paper how to improve it some time ago. But was afraid all the efforts will be wasted and shelved this idea until better times.

S-ed avatar Nov 17 '17 20:11 S-ed

Expanded zip to C:\L\ Same problem, path too long. Win10, 64 bit.

EggPenguini avatar Dec 15 '17 02:12 EggPenguini

I have solved it by unzipping to C:\L\ and omitting the errors. Then I used this workaround to flat the node_modules folder tree in C:\L\resources\app. https://scottaddie.com/2015/08/16/npm-vs-windows-max_path-limitation/ After that I renamed and moved the "L" folder wherever I want. It's ugly but it works.

JimmyRascon avatar Dec 20 '17 10:12 JimmyRascon

@JimmyRascon The problem of this solution is "omitted" files are not there anymore. Even if you use some third party app (like Total Commander) that could bypass OS limitation of path length (256 characters), OS won't be able to access them.

Probably, node still will be, but not sure.

S-ed avatar Dec 20 '17 15:12 S-ed

@S-ed You are right, the omitted files are not there, they are node dependencies and some of them are duplicated. Using the "flatten-packages" command gets the most updated version of every package, in my case it's working but I'm not 100% sure it will not produce any obscure bug. Here is my Laverna folder in case it is useful for someone. https://www.dropbox.com/s/xyqviv8sybd3laf/laverna-0.7.51-win32-x64-mod.zip?dl=0

JimmyRascon avatar Dec 22 '17 09:12 JimmyRascon

Upgrade to a newer node.js and also the npm version would fix this path problem. (Version 6 is LTS).

ansib avatar Feb 12 '18 08:02 ansib

Got the same problem. Almost all updates are from a year ago. The webapp.zip download is broken. I hope Laverna is still alive.

ParkerD13 avatar Oct 12 '18 14:10 ParkerD13

Hi there,

Unfortunately this issue will never be fixed here.

Please report to https://github.com/Laverna/laverna/issues/971#issuecomment-411423965 for the current state of this project and https://github.com/encryptic-team/encryptic for the future of this project.

Have a nice day/night.

Cheers, Nissar

funilrys avatar Oct 12 '18 16:10 funilrys

I saw that. I've been able to skip those files and still run Laverna.

I just want to point out that Encryptic (and my pre-Encryptic Laverna release) don't appear to have those issues, though there's a handful of regressions in features that I'm working on that might be an issue otherwise depending on your use case.

daed avatar Oct 13 '18 09:10 daed