LESSON 14: TypeError: deployScript.func is not a function #5934
-
Hi, I am having issue with the deploy of the dynamicsvg.js file, I checked the code and don't see error. const { network } = require("hardhat") module.experts = async function ({ getNamedAccounts, deployments }) {
} module.exports.tags = ["all", "dynamicsvg", "main"] However, by running the command (yarn hardhat deploy --tags "dynamicsvg,mocks") this what I have got: Nothing to compile Error: ERROR processing C:\Users\K\hh-fcc\hardhat-nft-fcc\deploy\03-deploy-dynamic-svg-nft.js: while if I run (yarn hardhat deploy --tags dynamicsvg,mocks) it returns that there is nothing to compile: $ C:\Users\K\hh-fcc\hardhat-nft-fcc\node_modules.bin\hardhat deploy --tags "dynamicsvg mocks" I believe that is something related to the configuration, but I can mistaked. Here below my repo: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
You have typo |
Beta Was this translation helpful? Give feedback.
-
I am basically follow the solution on ticket #5869, here below my package.jason file { Still not working saying there are not constructors' arguments, I checked the order the order is correct., I follow the tutorial and I put the s_tokenCounter = 0; at index zero on the constructor. This the outcome: Local network detected! Deploying mocks...
|
Beta Was this translation helpful? Give feedback.
Ok, you’re missing
s
args: args,