Closed mubashirhussainkhadim closed 2 years ago
Looks like it is a typo in your code : did you write mmodule
instead of module
somewhere ?
cf : ReferenceError: mmodule is not defined
Hi, in the future, could you name your issue with something reflective of the issue? still got an error
isn't helpful to others.
And yes,
ReferenceError: mmodule is not defined
You have spelt mmodule
instead of module
somewhere.
Closing for now.
still got an error
mubashirhussain@Mubashirs-MBP harhat Fund me % yarn hardhat deploy --tags all yarn run v1.22.18 warning package.json: No license field warning ../../../package.json: No license field $ '/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/.bin/hardhat' deploy --tags all Nothing to compile An unexpected error occurred:
Error: ERROR processing skip func of /Users/mubashirhussain/Desktop/course.ss/harhat Fund me/deploy/00-deploy-mocks.js: ReferenceError: mmodule is not defined at Object. (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/helper-hardhat-config.js.js:17:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/deploy/00-deploy-mocks.js:2:38)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at DeploymentsManager.executeDeployScripts (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1101:15)
at DeploymentsManager.runDeploy (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1053:16)
at SimpleTaskDefinition.action (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat-deploy/src/index.ts:409:5)
at Environment._runTaskDefinition (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat/src/internal/core/runtime-environment.ts:219:14)
at Environment.run (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat/src/internal/core/runtime-environment.ts:131:14)
at SimpleTaskDefinition.action (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat-deploy/src/index.ts:555:32)
at Environment._runTaskDefinition (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat/src/internal/core/runtime-environment.ts:219:14)
at Environment.run (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat/src/internal/core/runtime-environment.ts:131:14)
at SimpleTaskDefinition.action (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat-deploy/src/index.ts:640:5)
at Environment._runTaskDefinition (/Users/mubashirhussain/Desktop/course.ss/harhat Fund me/node_modules/hardhat/src/internal/core/runtime-environment.ts:219:14)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
mubashirhussain@Mubashirs-MBP harhat Fund me %
Originally posted by @mubashirhussainkhadim in https://github.com/PatrickAlphaC/hardhat-fund-me-fcc/issues/3#issuecomment-1143753003