Laverna: Windows x64 Installation Problem w/ Path Names

Created on 9 Nov 2017  ·  14Comments  ·  Source: Laverna/laverna

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

bug

All 14 comments

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

Same issue on Win 10 64 bit

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

No wonder here...
screenshot 1510924458

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

@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.

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

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:Lresourcesapp.
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 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 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

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

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wwebfor picture wwebfor  ·  4Comments

magowiz picture magowiz  ·  7Comments

stonedreamforest picture stonedreamforest  ·  9Comments

igorsantos07 picture igorsantos07  ·  7Comments

fanrongqitiancai picture fanrongqitiancai  ·  8Comments