mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #690] Bug: Installing missing 3 recommended dependencies never completes #3451
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#3451
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rxw1 on GitHub (Apr 3, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/690
npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"does never complete and hangs at the last line above.1
archivebox bla2
cd bla3
npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"ArchiveBox version
thx
@pirate commented on GitHub (Apr 3, 2021):
Strange, possibly a network issue, upstream dependency issue in one of the packages, or something hanging the npm audit process? OR maybe it's the new
postinstallstep I added recently that tries to runpython3 -m pip install archiveboxafter the npm install completes if it doesn't detect the archivebox python package already installed.npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"is a handy shortcut for installing the 3 actual JS dependencies, can you try installing them individually instead to see which one is causing the hang?@dunnno commented on GitHub (Apr 5, 2021):
That's the problem I face as well : https://github.com/ArchiveBox/ArchiveBox/discussions/687#discussioncomment-553225
I ran all the 3 commands but only the last one remain valid. ==> I ran the SingleFile install command, it gets installed, I ran the readability one, it gets installed, but now SingleFile becomes invalid.
@pirate commented on GitHub (Apr 5, 2021):
Delete any package.json or package-lock.json present in your data folder and re-run those commands. It's still trying to install the broken archivebox npm package after those commands because it saved it into a lockfile earlier.
@dunnno commented on GitHub (Apr 5, 2021):
I ran again the single file line in order to get it installed. Readability and mercury aren't installed.
Unless I look at the wrong place, I don't see any readability or mercury folders in the node_modules folder :/
@pirate commented on GitHub (Apr 5, 2021):
Just to confirm, you tried running exactly these commands in this order?
And afterwards
node_modulesonly contains one of them?@dunnno commented on GitHub (Apr 5, 2021):
Yep, tried it again, singlefile installs fine, readability installs fine, but singlefile got uninstalled, and so on with readability when doing mercury
@pirate commented on GitHub (Apr 5, 2021):
Arg, it turns out this is a difference in
npmbehavior between mac and linux. On mac it will install all 3, on linux it will overwrite the previous node_modules each time. 😡On linux you'll have to use
--saveinstead of--no-save:@dunnno commented on GitHub (Apr 5, 2021):
Well, that was it, that did the trick, thanks a bunch :)