I was thinking that the issue was related to the versioning of the release but after used the last version of all packages imported I have the same issue.
Can someone help me with this?
Brownie v1.17.1 - Python development framework for Ethereum
File "C:\Users\ssida\.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\ssida\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\_cli\compile.py", line 50, in main
proj = project.load()
File "C:\Users\ssida\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 751, in load
return Project(name, project_path)
File "C:\Users\ssida\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 183, in __init__ self.load()
File "C:\Users\ssida\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 238, in load
self._compile(changed, self._compiler_config, False)
File "C:\Users\ssida\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 90, in _compile
_install_dependencies(self._path)
File "C:\Users\ssida\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 757, in _install_dependencies
install_package(package_id)
File "C:\Users\ssida\.local\pipx\venvs\eth-brownie\lib\site-packages\brownie\project\main.py", line 779, in install_package
return _install_from_github(package_id)
File "C:\Users\ssida\.local\pipx\venvs\eth-brownie\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\ssida\.local\pipx\venvs\eth-brownie\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\ssida\Documents\GitHub\defi-fullstack-app>
When I lunch - brownie compile, I have this issue. Attached the screen
EDIT
thank you for the hint - below my brownie-cofing.yaml
project_structure:
build: build
contracts: contracts
interfaces: interfaces
reports: reports
scripts: scripts
tests: tests
networks:
default: development
development:
gas_limit: max
gas_buffer: 1
gas_price: 0
max_fee: null
priority_fee: null
reverting_tx_gas_limit: max
default_contract_owner: true
cmd_settings: null
verify: False
ganache:
verify: False
kovan:
verify: True
weth_token: "my address token/"
fau_token: "my address token/"
live:
gas_limit: auto
gas_buffer: 1.1
gas_price: auto
max_fee: null
priority_fee: null
reverting_tx_gas_limit: false
default_contract_owner: false
compiler:
evm_version: null
solc:
version: null
optimizer:
enabled: true
runs: 200
remappings: -'@openzeppelin = OpenZeppelin/[email protected]';
vyper:
version: null
console:
show_colors: true
color_style: monokai
auto_suggest: true
completions: true
editing_mode: emacs
reports:
exclude_paths: null
exclude_contracts: null
only_include_project: true
hypothesis:
deadline: null
max_examples: 50
report_multiple_bugs: False
stateful_step_count: 10
phases:
explicit: true
reuse: true
generate: true
target: true
shrink: true
autofetch_sources: false
dependencies:
- OpenZeppelin/[email protected]
- smartcontract/[email protected]
dev_deployment_artifacts: false
SOLVED Installed library for secure smart contract development. Build on a solid foundation of community-vetted code.
$ npm install @openzeppelin/contracts