Open Kehjih opened 2 years ago
Hello @Kehjih
This might happen to several reasons, please check you check the correct package versions on your brownie-config.yaml
and check for any indentation error.
This problem is more likely brownie is unable to find the correct package version for the project you want to work with imported trough Github.
While following the freecodecamp tutorial, at 5:11:04 I got this error. Please do help me out. @PatrickAlphaC @MeLlamoValen @cromewar @7xAquarius After running brownie compile, I got this
RESULT: INFO: Could not find files for the given pattern(s). Brownie v1.19.1 - Python development framework for Ethereum
File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie_cli__main.py", line 64, in main importlib.import_module(f"brownie._cli.{cmd}").main() File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie_cli\compile.py", line 50, in main proj = project.load() File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 780, in load return Project(name, project_path) File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 188, in init__ self.load() File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 257, in load self._compile(changed, self._compiler_config, False) File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 90, in _compile _install_dependencies(self._path) File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 786, in _install_dependencies install_package(package_id) File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 808, in install_package return _install_from_github(package_id) File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 871, in _install_from_github download_url = _get_download_url_from_tag(org, repo, version, headers) File "C:\Users\USER.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 947, in _get_download_url_from_tag\main.py", line 947, in _get_download_url_from_tag raise ConnectionError(msg) ConnectionError: Status 404 when getting package versions from Github: 'Not Found'
Missing or forbidden.
If this issue persists, generate a Github API token and store it as the environment variable
GITHUB_TOKEN
: https://github.blog/2013-05-16-personal-api-tokens/