dabit3 / polygon-ethereum-nextjs-marketplace

A full stack digital marketplace running on Ethereum with Polygon & Next.js
MIT License
1.3k stars 878 forks source link

npm run dev issue #14

Closed MarcAmil30 closed 2 years ago

MarcAmil30 commented 2 years ago

Thank you for the tutorial. It is very clear and helpful.

When I put npm run dev as instructed in Running the app section on my console. I get this error

(base) dyn3210-198:nft-minter-tutorial marcamil$ npm run dev
npm ERR! missing script: dev`
npm ERR! A complete log of this run can be found in:

I was researching more about this issue and found it is related to package.json. I tried to find a way through but got my errors. My package.json file is attached below.

{
  "name": "hardhat-project",
  "devDependencies": {
    "@nomiclabs/hardhat-ethers": "^2.0.2",
    "@nomiclabs/hardhat-waffle": "^2.0.1",
    "chai": "^4.3.4",
    "ethereum-waffle": "^3.4.0",
    "ethers": "^5.5.1",
    "hardhat": "^2.6.8"
  },
  "dependencies": {
    "@openzeppelin/contracts": "^4.3.2",
    "axios": "^0.24.0",
    "ipfs-http-client": "^50.1.2",
    "web3modal": "^1.9.4"
  }
}