Lesson 9 : Problem while deploying mock ERROR : const { deployer } = await getNamedAccounts() ^^^^^^^^ SyntaxError: Identifier 'deployer' has already been declared #6449
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Getting this error in 00-deloy-mocks.js :
Error: ERROR processing skip func of /home/aniketchow/hardhat-smart-contract-lottery/deploy/00-deploy-mocks.js: /home/aniketchow/hardhat-smart-contract-lottery/deploy/00-deploy-mocks.js:9 const { deployer } = await getNamedAccounts() ^^^^^^^^
Here is my 00-deploy-mocks.js :
Here is my 01-deploy-raffle.js :
I didn't find any similar issue answered in the discussion tab.
Beta Was this translation helpful? Give feedback.
All reactions