[GH-ISSUE #594] Running archivebox init via pip install on Windows 10 triggers "File not found" error #1879

Closed
opened 2026-03-01 17:54:35 +03:00 by kerem · 18 comments
Owner

Originally created by @DUOLabs333 on GitHub (Jan 1, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/594

I'm on Windows 10. I tried to install archivebox from pip, but after I did "npm install --prefix . 'git+https://github.com/ArchiveBox/ArchiveBox.git'", and did archivebox init, it gave a "File Not Found" Error

Originally created by @DUOLabs333 on GitHub (Jan 1, 2021). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/594 I'm on Windows 10. I tried to install archivebox from pip, but after I did "npm install --prefix . 'git+https://github.com/ArchiveBox/ArchiveBox.git'", and did archivebox init, it gave a "File Not Found" Error
kerem closed this issue 2026-03-01 17:54:35 +03:00
Author
Owner

@pirate commented on GitHub (Jan 1, 2021):

The latest v0.5 release isn't really fully stable on Windows 10 yet, but it should work at least to init.

Can you post the output of running archivebox version on Windows 10

<!-- gh-comment-id:753376510 --> @pirate commented on GitHub (Jan 1, 2021): The latest v0.5 release isn't really fully stable on Windows 10 yet, but it should work at least to init. Can you post the output of running `archivebox version` on Windows 10
Author
Owner

@DUOLabs333 commented on GitHub (Jan 2, 2021):

No, no, I already fixed it (I didn't have a dependency). However, every
time I try to archive something, it gives me a Server 500 error. I tried
everything to fix it.

On Fri, Jan 1, 2021, 3:15 PM Nick Sweeting notifications@github.com wrote:

Reopened #594 https://github.com/ArchiveBox/ArchiveBox/issues/594.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ArchiveBox/ArchiveBox/issues/594#event-4161214979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALXWUYHLMSJAHSB6DUZAMADSXYUPDANCNFSM4VP26RKQ
.

<!-- gh-comment-id:753486167 --> @DUOLabs333 commented on GitHub (Jan 2, 2021): No, no, I already fixed it (I didn't have a dependency). However, every time I try to archive something, it gives me a Server 500 error. I tried everything to fix it. On Fri, Jan 1, 2021, 3:15 PM Nick Sweeting <notifications@github.com> wrote: > Reopened #594 <https://github.com/ArchiveBox/ArchiveBox/issues/594>. > > — > You are receiving this because you modified the open/close state. > Reply to this email directly, view it on GitHub > <https://github.com/ArchiveBox/ArchiveBox/issues/594#event-4161214979>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ALXWUYHLMSJAHSB6DUZAMADSXYUPDANCNFSM4VP26RKQ> > . >
Author
Owner

@pirate commented on GitHub (Jan 2, 2021):

Can you post the output of running archivebox version on Windows 10

<!-- gh-comment-id:753504639 --> @pirate commented on GitHub (Jan 2, 2021): > Can you post the output of running `archivebox version` on Windows 10
Author
Owner

@DUOLabs333 commented on GitHub (Jan 2, 2021):

Oh, I uninstalled archivebox-- that's why I closed the issue.

On Sat, Jan 2, 2021, 12:27 PM Nick Sweeting notifications@github.com
wrote:

Can you post the output of running archivebox version on Windows 10


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ArchiveBox/ArchiveBox/issues/594#issuecomment-753504639,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALXWUYFIOZDU7R2DGRBBEELSX5JPVANCNFSM4VP26RKQ
.

<!-- gh-comment-id:753523538 --> @DUOLabs333 commented on GitHub (Jan 2, 2021): Oh, I uninstalled archivebox-- that's why I closed the issue. On Sat, Jan 2, 2021, 12:27 PM Nick Sweeting <notifications@github.com> wrote: > Can you post the output of running archivebox version on Windows 10 > > — > You are receiving this because you modified the open/close state. > Reply to this email directly, view it on GitHub > <https://github.com/ArchiveBox/ArchiveBox/issues/594#issuecomment-753504639>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ALXWUYFIOZDU7R2DGRBBEELSX5JPVANCNFSM4VP26RKQ> > . >
Author
Owner

@DUOLabs333 commented on GitHub (Jan 2, 2021):

@pirate However, I am reinstalling it now, so I'll give you the info when I get it.

<!-- gh-comment-id:753532009 --> @DUOLabs333 commented on GitHub (Jan 2, 2021): @pirate However, I am reinstalling it now, so I'll give you the info when I get it.
Author
Owner

@DUOLabs333 commented on GitHub (Jan 2, 2021):

Though just a request: could you make it so that on every run it doesn't opens two Chrome windows? After a while of debugging, it gets annoying.

<!-- gh-comment-id:753532153 --> @DUOLabs333 commented on GitHub (Jan 2, 2021): Though just a request: could you make it so that on every run it doesn't opens two Chrome windows? After a while of debugging, it gets annoying.
Author
Owner

@DUOLabs333 commented on GitHub (Jan 2, 2021):

Also, here's the output, as of now:

The system cannot find the path specified.
The system cannot find the path specified.
[X] Unable to find a working version of Chrome/Chromium, is it installed and in your $PATH?

ArchiveBox v0.4.21

[i] Dependency versions:
 √  PYTHON_BINARY          C:\Users\School\Downloads\Python39\python.exe                                v3.9.0          valid 
 √  DJANGO_BINARY          C:\Users\School\Downloads\Python39\Lib\site-packages\django\bin\django-admin.py v3.0.8          valid 
 √  CURL_BINARY            C:\WINDOWS\SYSTEM32\curl.EXE                                                 v7.55.1         valid 
 √  WGET_BINARY            C:\Users\School\Downloads\wget-1.20.3-win64\wget.EXE                         v1.20.3         valid 
 X  SINGLEFILE_BINARY      .\single-file.CMD                                                            ?               invalid 
 X  READABILITY_BINARY     .\readability-extractor.CMD                                                  ?               invalid 
 √  GIT_BINARY             C:\Users\School\Downloads\Git\cmd\git.EXE                                    v2.30.0.        valid 
 √  YOUTUBEDL_BINARY       C:\Users\School\Downloads\Python39\Scripts\youtube-dl.EXE                    v2020.12.29     valid 
 X  CHROME_BINARY                                                                                       ?               invalid 

[i] Code locations:
 √  REPO_DIR               c:\users\school\downloads\python39\lib\site-packages                         128 files       valid 
 √  PYTHON_DIR             c:\users\school\downloads\python39\lib\site-packages\archivebox              20 files        valid 
 √  TEMPLATES_DIR          c:\users\school\downloads\python39\lib\site-packages\archivebox\themes\legacy 6 files         valid 

[i] Secrets locations:
 √  CHROME_USER_DATA_DIR   "C:\Users\School\AppData\Local\Chromium\User Data"                           28 files        valid 
 -  COOKIES_FILE                                                                                        -               disabled 

[i] Data locations:
 √  OUTPUT_DIR             C:\Users\School\Downloads\archivebox                                         24 files        valid 
 √  SOURCES_DIR            C:\Users\School\Downloads\archivebox\sources                                 0 files         valid 
 √  LOGS_DIR               C:\Users\School\Downloads\archivebox\logs                                    0 files         valid 
 √  ARCHIVE_DIR            C:\Users\School\Downloads\archivebox\archive                                 0 files         valid 
 √  CONFIG_FILE            C:\Users\School\Downloads\archivebox\ArchiveBox.conf                         84.0 Bytes      valid 
 √  SQL_INDEX              C:\Users\School\Downloads\archivebox\index.sqlite3                           164.0 KB        valid 
 √  JSON_INDEX             C:\Users\School\Downloads\archivebox\index.json                              3.4 KB          valid 
 √  HTML_INDEX             C:\Users\School\Downloads\archivebox\index.html                              7.9 KB          valid 

[!] Warning: Missing 3 recommended dependencies
    ! SINGLEFILE_BINARY: .\single-file.CMD (unable to detect version)
      Hint: npm install --prefix . "git+https://github.com/pirate/ArchiveBox.git"
            or archivebox config --set SAVE_SINGLEFILE=False to silence this warning

    ! READABILITY_BINARY: .\readability-extractor.CMD (unable to detect version)
      Hint: npm install --prefix . "git+https://github.com/pirate/ArchiveBox.git"
            or archivebox config --set SAVE_READABILITY=False to silence this warning

    ! CHROME_BINARY: unable to find binary (unable to detect version)
<!-- gh-comment-id:753534110 --> @DUOLabs333 commented on GitHub (Jan 2, 2021): Also, here's the output, as of now: ```logs The system cannot find the path specified. The system cannot find the path specified. [X] Unable to find a working version of Chrome/Chromium, is it installed and in your $PATH? ArchiveBox v0.4.21 [i] Dependency versions:  √  PYTHON_BINARY C:\Users\School\Downloads\Python39\python.exe v3.9.0  valid   √  DJANGO_BINARY C:\Users\School\Downloads\Python39\Lib\site-packages\django\bin\django-admin.py v3.0.8  valid   √  CURL_BINARY C:\WINDOWS\SYSTEM32\curl.EXE v7.55.1  valid   √  WGET_BINARY C:\Users\School\Downloads\wget-1.20.3-win64\wget.EXE v1.20.3  valid   X  SINGLEFILE_BINARY .\single-file.CMD ?  invalid   X  READABILITY_BINARY .\readability-extractor.CMD ?  invalid   √  GIT_BINARY C:\Users\School\Downloads\Git\cmd\git.EXE v2.30.0.  valid   √  YOUTUBEDL_BINARY C:\Users\School\Downloads\Python39\Scripts\youtube-dl.EXE v2020.12.29  valid   X  CHROME_BINARY ?  invalid  [i] Code locations:  √  REPO_DIR c:\users\school\downloads\python39\lib\site-packages 128 files  valid   √  PYTHON_DIR c:\users\school\downloads\python39\lib\site-packages\archivebox 20 files  valid   √  TEMPLATES_DIR c:\users\school\downloads\python39\lib\site-packages\archivebox\themes\legacy 6 files  valid  [i] Secrets locations:  √  CHROME_USER_DATA_DIR "C:\Users\School\AppData\Local\Chromium\User Data" 28 files  valid   -  COOKIES_FILE -  disabled  [i] Data locations:  √  OUTPUT_DIR C:\Users\School\Downloads\archivebox 24 files  valid   √  SOURCES_DIR C:\Users\School\Downloads\archivebox\sources 0 files  valid   √  LOGS_DIR C:\Users\School\Downloads\archivebox\logs 0 files  valid   √  ARCHIVE_DIR C:\Users\School\Downloads\archivebox\archive 0 files  valid   √  CONFIG_FILE C:\Users\School\Downloads\archivebox\ArchiveBox.conf 84.0 Bytes  valid   √  SQL_INDEX C:\Users\School\Downloads\archivebox\index.sqlite3 164.0 KB  valid   √  JSON_INDEX C:\Users\School\Downloads\archivebox\index.json 3.4 KB  valid   √  HTML_INDEX C:\Users\School\Downloads\archivebox\index.html 7.9 KB  valid  [!] Warning: Missing 3 recommended dependencies ! SINGLEFILE_BINARY: .\single-file.CMD (unable to detect version) Hint: npm install --prefix . "git+https://github.com/pirate/ArchiveBox.git" or archivebox config --set SAVE_SINGLEFILE=False to silence this warning ! READABILITY_BINARY: .\readability-extractor.CMD (unable to detect version) Hint: npm install --prefix . "git+https://github.com/pirate/ArchiveBox.git" or archivebox config --set SAVE_READABILITY=False to silence this warning ! CHROME_BINARY: unable to find binary (unable to detect version) ```
Author
Owner

@DUOLabs333 commented on GitHub (Jan 2, 2021):

You can ignore that last part now, as I added chrome.exe to my PATH.

<!-- gh-comment-id:753534525 --> @DUOLabs333 commented on GitHub (Jan 2, 2021): You can ignore that last part now, as I added chrome.exe to my PATH.
Author
Owner

@DUOLabs333 commented on GitHub (Jan 2, 2021):

Also, even when I added a website, nothing appears in my "Snapshots" page. I used the CLI and it gave some error about the "charmap".

<!-- gh-comment-id:753534675 --> @DUOLabs333 commented on GitHub (Jan 2, 2021): Also, even when I added a website, nothing appears in my "Snapshots" page. I used the CLI and it gave some error about the "charmap".
Author
Owner

@pirate commented on GitHub (Jan 2, 2021):

Can you post the exact error output for the charmap error

<!-- gh-comment-id:753541270 --> @pirate commented on GitHub (Jan 2, 2021): Can you post the exact error output for the charmap error
Author
Owner

@DUOLabs333 commented on GitHub (Jan 2, 2021):

Here it is:

[i] [2021-01-02 23:10:06] ArchiveBox v0.4.21: archivebox add http://example.com/
    > C:\Users\School\Downloads\archivebox

[+] [2021-01-02 23:10:09] Adding 1 links to index (crawl depth=0)...
    > Saved verbatim input to sources/C:\Users\School\Downloads\archivebox\sources\1609629009-import.txt
                                                                                                                                                                                                                                                    > Parsed 1 URLs from input (Plain Text)
                                                                                                                            > Found 1 new URLs not already in index

[*] [2021-01-02 23:10:09] Writing 2 links to main index...
                                                                                                                            √ C:\Users\School\Downloads\archivebox\index.sqlite3
                                                                                                                            √ C:\Users\School\Downloads\archivebox\index.json
                                                                                                                        Traceback (most recent call last):
  File "c:\users\school\downloads\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\school\downloads\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\School\Downloads\Python39\Scripts\archivebox.exe\__main__.py", line 7, in <module>
    from .cli import main
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\cli\__init__.py", line 122, in main
    run_subcommand(
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\cli\__init__.py", line 62, in run_subcommand
    module.main(args=subcommand_args, stdin=stdin, pwd=pwd)    # type: ignore
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\cli\archivebox_add.py", line 78, in main
    add(
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\util.py", line 111, in typechecked_function
    return func(*args, **kwargs)
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\main.py", line 565, in add
    write_main_index(links=all_links, out_dir=out_dir, finished=not new_links)
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\util.py", line 111, in typechecked_function
    return func(*args, **kwargs)
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\index\__init__.py", line 253, in write_main_index
    write_html_main_index(links, out_dir=out_dir, finished=finished)
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\util.py", line 111, in typechecked_function
    return func(*args, **kwargs)
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\index\html.py", line 62, in write_html_main_index
    atomic_write(join(out_dir, HTML_INDEX_FILENAME), rendered_html)
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\util.py", line 111, in typechecked_function
    return func(*args, **kwargs)
  File "c:\users\school\downloads\python39\lib\site-packages\archivebox\system.py", line 46, in atomic_write
    f.write(contents)
  File "c:\users\school\downloads\python39\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f4c4' in position 7893: character maps to <undefined>
<!-- gh-comment-id:753541607 --> @DUOLabs333 commented on GitHub (Jan 2, 2021): Here it is: ```logs [i] [2021-01-02 23:10:06] ArchiveBox v0.4.21: archivebox add http://example.com/  > C:\Users\School\Downloads\archivebox [+] [2021-01-02 23:10:09] Adding 1 links to index (crawl depth=0)... > Saved verbatim input to sources/C:\Users\School\Downloads\archivebox\sources\1609629009-import.txt > Parsed 1 URLs from input (Plain Text) > Found 1 new URLs not already in index [*] [2021-01-02 23:10:09] Writing 2 links to main index... √ C:\Users\School\Downloads\archivebox\index.sqlite3 √ C:\Users\School\Downloads\archivebox\index.json Traceback (most recent call last): File "c:\users\school\downloads\python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\school\downloads\python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\School\Downloads\Python39\Scripts\archivebox.exe\__main__.py", line 7, in <module> from .cli import main File "c:\users\school\downloads\python39\lib\site-packages\archivebox\cli\__init__.py", line 122, in main run_subcommand( File "c:\users\school\downloads\python39\lib\site-packages\archivebox\cli\__init__.py", line 62, in run_subcommand module.main(args=subcommand_args, stdin=stdin, pwd=pwd) # type: ignore File "c:\users\school\downloads\python39\lib\site-packages\archivebox\cli\archivebox_add.py", line 78, in main add( File "c:\users\school\downloads\python39\lib\site-packages\archivebox\util.py", line 111, in typechecked_function return func(*args, **kwargs) File "c:\users\school\downloads\python39\lib\site-packages\archivebox\main.py", line 565, in add write_main_index(links=all_links, out_dir=out_dir, finished=not new_links) File "c:\users\school\downloads\python39\lib\site-packages\archivebox\util.py", line 111, in typechecked_function return func(*args, **kwargs) File "c:\users\school\downloads\python39\lib\site-packages\archivebox\index\__init__.py", line 253, in write_main_index write_html_main_index(links, out_dir=out_dir, finished=finished) File "c:\users\school\downloads\python39\lib\site-packages\archivebox\util.py", line 111, in typechecked_function return func(*args, **kwargs) File "c:\users\school\downloads\python39\lib\site-packages\archivebox\index\html.py", line 62, in write_html_main_index atomic_write(join(out_dir, HTML_INDEX_FILENAME), rendered_html) File "c:\users\school\downloads\python39\lib\site-packages\archivebox\util.py", line 111, in typechecked_function return func(*args, **kwargs) File "c:\users\school\downloads\python39\lib\site-packages\archivebox\system.py", line 46, in atomic_write f.write(contents) File "c:\users\school\downloads\python39\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f4c4' in position 7893: character maps to <undefined> ```
Author
Owner

@pirate commented on GitHub (Jan 3, 2021):

Looks like you're running 0.4.21 in that output, can you try with the latest v0.5 build?

git clone --recurse-submodules https://github.com/ArchiveBox/ArchiveBox
cd ArchiveBox
git checkout v0.5.0
git pull

pip install .

cd C:\Users\School\Downloads\archivebox
archivebox version
archivebox init
<!-- gh-comment-id:753609477 --> @pirate commented on GitHub (Jan 3, 2021): Looks like you're running 0.4.21 in that output, can you try with the latest v0.5 build? ```bash git clone --recurse-submodules https://github.com/ArchiveBox/ArchiveBox cd ArchiveBox git checkout v0.5.0 git pull pip install . cd C:\Users\School\Downloads\archivebox archivebox version archivebox init ```
Author
Owner

@DUOLabs333 commented on GitHub (Jan 3, 2021):

The 'pip install .' didn't work:

C:\Users\School\Downloads\archivebox-v5.0>pip install .
Processing c:\users\school\downloads\archivebox-v5.0
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\school\downloads\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\School\\AppData\\Local\\Temp\\pip-req-build-hgc9je1x\\setup.py'"'"'; __file__='"'"'C:\\Users\\School\\AppData\\Local\\Temp\\pip-req-build-hgc9je1x\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\School\AppData\Local\Temp\pip-pip-egg-info-z2v7jb_k'
         cwd: C:\Users\School\AppData\Local\Temp\pip-req-build-hgc9je1x\
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\School\AppData\Local\Temp\pip-req-build-hgc9je1x\setup.py", line 27, in <module>
        VERSION = json.loads((PACKAGE_DIR / "package.json").read_text().strip())['version']
      File "c:\users\school\downloads\python39\lib\json\__init__.py", line 346, in loads
        return _default_decoder.decode(s)
      File "c:\users\school\downloads\python39\lib\json\decoder.py", line 337, in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "c:\users\school\downloads\python39\lib\json\decoder.py", line 355, in raw_decode
        raise JSONDecodeError("Expecting value", s, err.value) from None
    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
<!-- gh-comment-id:753612212 --> @DUOLabs333 commented on GitHub (Jan 3, 2021): The 'pip install .' didn't work: ```logs C:\Users\School\Downloads\archivebox-v5.0>pip install . Processing c:\users\school\downloads\archivebox-v5.0 ERROR: Command errored out with exit status 1: command: 'c:\users\school\downloads\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\School\\AppData\\Local\\Temp\\pip-req-build-hgc9je1x\\setup.py'"'"'; __file__='"'"'C:\\Users\\School\\AppData\\Local\\Temp\\pip-req-build-hgc9je1x\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\School\AppData\Local\Temp\pip-pip-egg-info-z2v7jb_k' cwd: C:\Users\School\AppData\Local\Temp\pip-req-build-hgc9je1x\ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\School\AppData\Local\Temp\pip-req-build-hgc9je1x\setup.py", line 27, in <module> VERSION = json.loads((PACKAGE_DIR / "package.json").read_text().strip())['version'] File "c:\users\school\downloads\python39\lib\json\__init__.py", line 346, in loads return _default_decoder.decode(s) File "c:\users\school\downloads\python39\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "c:\users\school\downloads\python39\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ```
Author
Owner

@DUOLabs333 commented on GitHub (Jan 3, 2021):

Though I didn't used the CLI, I just downloaded the code as a ZIP.

<!-- gh-comment-id:753613377 --> @DUOLabs333 commented on GitHub (Jan 3, 2021): Though I didn't used the CLI, I just downloaded the code as a ZIP.
Author
Owner

@pirate commented on GitHub (Jan 3, 2021):

You downloaded the v0.5.0 branch as a zip and got that error? Can you double check that package.json is present in the downloaded code and contains valid json?

<!-- gh-comment-id:753625824 --> @pirate commented on GitHub (Jan 3, 2021): You downloaded the v0.5.0 branch as a zip and got that error? Can you double check that `package.json` is present in the downloaded code and contains valid json?
Author
Owner

@DUOLabs333 commented on GitHub (Jan 3, 2021):

Here's the package.json code:

{
  "name": "archivebox",
  "version": "0.5.1",
  "description": "ArchiveBox: The self-hosted internet archive",
  "author": "Nick Sweeting <archivebox-npm@sweeting.me>",
  "license": "MIT",
  "scripts": {
    "archivebox": "./bin/archive"
  },
  "bin": {
    "archivebox-node": "./bin/archive",
    "single-file": "./node_modules/.bin/single-file",
    "readability-extractor": "./node_modules/.bin/readability-extractor",
    "mercury-parser": "./node_modules/.bin/mercury-parser"
  },
  "dependencies": {
    "@postlight/mercury-parser": "^2.2.0",
    "readability-extractor": "git+https://github.com/pirate/readability-extractor.git",
    "single-file": "git+https://github.com/gildas-lormeau/SingleFile.git"
  }
}
<!-- gh-comment-id:753645956 --> @DUOLabs333 commented on GitHub (Jan 3, 2021): Here's the package.json code: ```json { "name": "archivebox", "version": "0.5.1", "description": "ArchiveBox: The self-hosted internet archive", "author": "Nick Sweeting <archivebox-npm@sweeting.me>", "license": "MIT", "scripts": { "archivebox": "./bin/archive" }, "bin": { "archivebox-node": "./bin/archive", "single-file": "./node_modules/.bin/single-file", "readability-extractor": "./node_modules/.bin/readability-extractor", "mercury-parser": "./node_modules/.bin/mercury-parser" }, "dependencies": { "@postlight/mercury-parser": "^2.2.0", "readability-extractor": "git+https://github.com/pirate/readability-extractor.git", "single-file": "git+https://github.com/gildas-lormeau/SingleFile.git" } } ```
Author
Owner

@DUOLabs333 commented on GitHub (Jan 5, 2021):

@pirate And JSONLint says it's valid.

<!-- gh-comment-id:754752664 --> @DUOLabs333 commented on GitHub (Jan 5, 2021): @pirate And JSONLint says it's valid.
Author
Owner

@pirate commented on GitHub (Feb 1, 2021):

Please try the latest v0.5.4 release and report back if you're still having problems and I can reopen the issue.

<!-- gh-comment-id:770735173 --> @pirate commented on GitHub (Feb 1, 2021): Please try the latest v0.5.4 release and report back if you're still having problems and I can reopen the issue.
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#1879
No description provided.