PatrickAlphaC / nft-mix

MIT License
825 stars 414 forks source link

AdvancedCollectible.sol - Importing from github - Issues during the video tutorial #73

Closed hack-RA closed 2 years ago

hack-RA commented 2 years ago

When following the steps, I keep getting this issue, I made sure there weren't any typos in the code. Is there something I am missing?

PS C:\Users\alira\nft-make-v1> brownie compile INFO: Could not find files for the given pattern(s). Brownie v1.17.2 - Python development framework for Ethereum

File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie_cli__main__.py", line 64, in main
importlib.import_module(f"brownie._cli.{cmd}").main() File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie_cli\compile.py", line 50, in main
proj = project.load() File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 751, in load
PS C:\Users\alira\nft-make-v1> brownie compile INFO: Could not find files for the given pattern(s). Brownie v1.17.2 - Python development framework for Ethereum

File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie_cli__main.py", line 64, in main importlib.import_module(f"brownie._cli.{cmd}").main() File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie_cli\compile.py", line 50, in main proj = project.load() File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 751, in load return Project(name, project_path) File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 183, in init__ self.load() File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 238, in load
self._compile(changed, self._compiler_config, False) File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 90, in _compile _install_dependencies(self._path) File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 757, in _install_dependencies install_package(package_id) File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 779, in install_package
return _install_from_github(package_id) File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 841, in _install_from_github download_url = _get_download_url_from_tag(org, repo, version, headers) File "c:\users\alira\appdata\local\programs\python\python38\lib\site-packages\brownie\project\main.py", line 904, 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/ PS C:\Users\alira\nft-make-v1> AdvancedCollectible.sol - Importing from github

PatrickAlphaC commented 2 years ago

Could you look here and see if anything helps?

https://stackoverflow.com/questions/69965291/solidity-brownie-compile-status-404-getting-package-version-from-github