Skip to content

Dependency issue #10

@seeincodes

Description

@seeincodes

What happened?

I used npx create-web3 to create the project, but when I went into packages/frontend to install the dependencies using "npm install" I got an error.

What was Expected?

when using "npm install" to install all dependencies with no issues

Relevant log output

frontend git:(main) ✗ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @create-web3/backend@1.0.0
npm ERR! Found: @nomiclabs/hardhat-ethers@0.3.0-beta.13
npm ERR! node_modules/@nomiclabs/hardhat-ethers
npm ERR!   dev @nomiclabs/hardhat-ethers@"npm:hardhat-deploy-ethers@^0.3.0-beta.10" from @create-web3/backend@1.0.0
npm ERR!   packages/backend
npm ERR!     @create-web3/backend@1.0.0
npm ERR!     node_modules/@create-web3/backend
npm ERR!       workspace packages/backend from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @nomiclabs/hardhat-ethers@"^2.0.0" from @nomiclabs/hardhat-waffle@2.0.3
npm ERR! node_modules/@nomiclabs/hardhat-waffle
npm ERR!   dev @nomiclabs/hardhat-waffle@"^2.0.3" from @create-web3/backend@1.0.0
npm ERR!   packages/backend
npm ERR!     @create-web3/backend@1.0.0
npm ERR!     node_modules/@create-web3/backend
npm ERR!       workspace packages/backend from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

Proposed Solution

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions