Lesson 6 / runner problems #5968
-
Hello Frens
I have been searching for the correct way to format the code but was unsuccessful so far, here is my code snippet from the deploy.js file: console.log("Deploying contract ...")
const simpleStorage = await SimpleStorageFactory.deploy()
await simpleStorage.waitForDeployment()
console.log(`Contract deployed to ${simpleStorage.target}`) Also i continue to get the "warning package.json: No license field" warning 🤷🏼♂️ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 18 replies
-
Hello @Astronaut828 As far as I can see you are using ethers v6 and this course is using ethers v5, so to avoid any issues with your code and to go thru this course smooth please use same |
Beta Was this translation helpful? Give feedback.
Hi @Astronaut828
Please delete everything in your
package.json
then copy below (it is both for ts and js) and paste all in your emptypackage.json
.