[GH-ISSUE #1057] Support Request: Failed to install npm packages on Windows #3681

Closed
opened 2026-03-15 00:00:38 +03:00 by kerem · 2 comments
Owner

Originally created by @ghost on GitHub (Dec 1, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1057

I keep getting this error every time I run archivebox setup

Installing SINGLEFILE_BINARY, READABILITY_BINARY, MERCURY_BINARY automatically using npm... ←[01;31m[X] Failed to install npm packages: [WinError 2] The system cannot find the file specified←[00;00m ←[01;35mHint:←[00;00m Try deleting C:\Users\admin\Downloads\archivebox/node_modules and running it again

There's no node_modules in the archivebox folder to delete. I've already tried remove-node-modules still getting the error.

Originally created by @ghost on GitHub (Dec 1, 2022). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1057 I keep getting this error every time I run `archivebox setup` `Installing SINGLEFILE_BINARY, READABILITY_BINARY, MERCURY_BINARY automatically using npm... ←[01;31m[X] Failed to install npm packages: [WinError 2] The system cannot find the file specified←[00;00m ←[01;35mHint:←[00;00m Try deleting C:\Users\admin\Downloads\archivebox/node_modules and running it again` There's no node_modules in the archivebox folder to delete. I've already tried `remove-node-modules` still getting the error.
kerem closed this issue 2026-03-15 00:00:43 +03:00
Author
Owner

@pirate commented on GitHub (Dec 3, 2022):

Sorry I don't have the capacity to officially support windows, I'll leave this open for a bit to see if others have any suggestions, but I can only officially recommend using docker or a VM if you run into problems on Windows.

<!-- gh-comment-id:1336278757 --> @pirate commented on GitHub (Dec 3, 2022): Sorry I don't have the capacity to officially support windows, I'll leave this open for a bit to see if others have any suggestions, but I can only officially recommend using docker or a VM if you run into problems on Windows.
Author
Owner

@hexahigh commented on GitHub (Dec 22, 2022):

I got the same error but i got it to work by running "npm install" after i had gotten the error.

<!-- gh-comment-id:1362661184 --> @hexahigh commented on GitHub (Dec 22, 2022): I got the same error but i got it to work by running "npm install" after i had gotten the error.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3681
No description provided.