PatrickAlphaC / nft-demo

37 stars 51 forks source link

error when brownie compile #2

Closed AAYUSH-GUPTA-coder closed 2 years ago

AAYUSH-GUPTA-coder commented 2 years ago

File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie_cli__main.py", line 64, in main
importlib.import_module(f"brownie._cli.{cmd}").main() File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie_cli\compile.py", line 50, in main
proj = project.load() File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie\project\main.py", line 750, in load
return Project(name, project_path) File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie\project\main.py", line 182, in
init__ self.load() File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie\project\main.py", line 237, in load self._compile(changed, self._compiler_config, False) File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie\project\main.py", line 89, in _compile _install_dependencies(self._path) File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie\project\main.py", line 756, in _install_dependencies install_package(package_id) File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie\project\main.py", line 778, in install_package return _install_from_github(package_id) File "C:\Users\Dell\AppData\Local\Programs\Python\Python39\lib\site-packages\brownie\project\main.py", line 851, in _install_from_github 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/

/////// added Github-Token in .env and dotenv: .env in bronie-config.yaml image image

PatrickAlphaC commented 2 years ago

Can you please:

  1. Format your code with backticks before and after the text of the code (ie: ```)
  2. Send the command you're running
andredmachado commented 2 years ago

What do you mean format the code with backsticks before and after the text? I'm having the same problem as him.

PatrickAlphaC commented 2 years ago
test

Like this.