Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'ast') #80

Open
geolffreym opened this issue Oct 28, 2024 · 0 comments
Open

Cannot read properties of undefined (reading 'ast') #80

geolffreym opened this issue Oct 28, 2024 · 0 comments

Comments

@geolffreym
Copy link

geolffreym commented Oct 28, 2024

Hello guys i have been getting this issue since yesterday :(
Anyone having the same issue?


[FAIL: setup failed: revert: Failed to run upgrade safety validation: /home/gmena/.npm/_npx/e9c2fe9985ed1095/node_modules/@openzeppelin/upgrades-core/dist/validate/run.js:169
    for (const node of solcOutput.sources[source].ast.nodes) {
                                                  ^

TypeError: Cannot read properties of undefined (reading 'ast')
    at checkNamespacesOutsideContract (/home/gmena/.npm/_npx/e9c2fe9985ed1095/node_modules/@openzeppelin/upgrades-core/dist/validate/run.js:169:51)
    at validate (/home/gmena/.npm/_npx/e9c2fe9985ed1095/node_modules/@openzeppelin/upgrades-core/dist/validate/run.js:94:9)
    at runValidations (/home/gmena/.npm/_npx/e9c2fe9985ed1095/node_modules/@openzeppelin/upgrades-core/dist/cli/validate/validations.js:22:41)
    at validateBuildInfoContracts (/home/gmena/.npm/_npx/e9c2fe9985ed1095/node_modules/@openzeppelin/upgrades-core/dist/cli/validate/validations.js:14:29)
    at validateUpgradeSafety (/home/gmena/.npm/_npx/e9c2fe9985ed1095/node_modules/@openzeppelin/upgrades-core/dist/cli/validate/validate-upgrade-safety.js:31:74)
    at async main (/home/gmena/.npm/_npx/e9c2fe9985ed1095/node_modules/@openzeppelin/upgrades-core/dist/cli/validate.js:34:24)
    at async run (/home/gmena/.npm/_npx/e9c2fe9985ed1095/node_modules/@openzeppelin/upgrades-core/dist/cli/cli.js:6:5)

Node.js v20.14.0
] setUp() (gas: 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant