question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to set up development environment

See original GitHub issue

Describe the bug

can’t build a docker image for development. Already tried to delete the repo directory and clone it again. OS: win10

Steps to reproduce

As described here https://github.com/ArchiveBox/ArchiveBox#archivebox-development

  1. git clone --recurse-submodules https://github.com/ArchiveBox/ArchiveBox
  2. cd ArchiveBox
  3. git checkout dev
  4. git submodule update --init --recursive
  5. git pull --recurse-submodules
  6. Choose option B( Build the docker container and use that for development instead): docker build . -t archivebox

log output

` => ERROR [17/19] RUN pip install -e . 0.7s

[17/19] RUN pip install -e .: #21 0.436 Obtaining file:///app #21 0.574 ERROR: Command errored out with exit status 1: #21 0.574 command: /usr/local/bin/python -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/app/setup.py’“'”‘; file=’“'”‘/app/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ egg_info --egg-base /tmp/pip-pip-egg-info-fenopylh #21 0.574 cwd: /app/ #21 0.574 Complete output (11 lines): #21 0.574 Traceback (most recent call last): #21 0.574 File “<string>”, line 1, in <module> #21 0.574 File “/app/setup.py”, line 29, in <module> #21 0.574 VERSION = json.loads((PACKAGE_DIR / “package.json”).read_text().strip())[‘version’] #21 0.574 File “/usr/local/lib/python3.9/json/init.py”, line 346, in loads #21 0.574 return _default_decoder.decode(s) #21 0.574 File “/usr/local/lib/python3.9/json/decoder.py”, line 337, in decode #21 0.574 obj, end = self.raw_decode(s, idx=_w(s, 0).end()) #21 0.574 File “/usr/local/lib/python3.9/json/decoder.py”, line 355, in raw_decode #21 0.574 raise JSONDecodeError(“Expecting value”, s, err.value) from None #21 0.574 json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #21 0.574 ---------------------------------------- #21 0.574 WARNING: Discarding file:///app. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. #21 0.574 ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ------ executor failed running [/bin/sh -c pip install -e .]: exit code: 1`

ArchiveBox version

dev branch

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
anton-samalcommented, Oct 12, 2021

worked with WSL.

0reactions
anton-samalcommented, Oct 11, 2021

I’m doing it in raw windows. But if it’s not supported maybe it’s make sense to mention about this here https://github.com/ArchiveBox/ArchiveBox#setup-the-dev-environment ? I just surprised that I did everything step by step, and I got the error изображение

Read more comments on GitHub >

github_iconTop Results From Across the Web

Facing issue " Failed to install the app. Make sure you have ...
Hi I fixed this issue by wipe data of the emulator. Go to android studio -> then open AVD Manager ...
Read more >
Error in setting up development environment #1731 - GitHub
I'm trying to contribute to the project but when i run yarn dev, it throws an error in the terminal .
Read more >
How to solve failed to install the app. Make sure you have the ...
I am facing this error while running 'npx react-native run-android' command, ... Make sure you have the android development environment set up.
Read more >
Home Page error about Development Mode - Microsoft Q&A
The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to ...
Read more >
Don't be stuck at dev environment setup! | Rookie's Lab
Don't be stuck at dev environment setup! One of the worst feelings as a developer is not able to work on what you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found