Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to successfully create project

See original GitHub issue
  • I’m submitting a …

    • bug report
    • feature request
    • question about the decisions made in the repository
    • question about how to use this project
  • Summary

  1. Followed the instructions contained within the To get started section
  2. Executed npx create-react-native-dapp
  3. Enter app name & URI scheme (sticking to the defaults)
  4. After getting instructions on how to run project error message appears immediately after npm run web instruction
  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Error message is shown below

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: react@16.13.1
npm ERR! node_modules/react
npm ERR!   react@"16.13.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.1" from react-test-renderer@17.0.1
npm ERR! node_modules/react-test-renderer
npm ERR!   dev react-test-renderer@"17.0.1" 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!
npm ERR! See /Users/mos/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/mos/.npm/_logs/2021-11-03T17_07_35_566Z-debug.log
    err = new Error(msg);

Error: Command failed: npm i
    at checkExecSyncError (node:child_process:707:11)
    at Object.execSync (node:child_process:744:15)
    at shouldInstall (/Users/mos/.npm/_npx/1064147bb9e7ae50/node_modules/create-react-native-dapp/build/main/buidler/index.js:534:48)
    at Object.create (/Users/mos/.npm/_npx/1064147bb9e7ae50/node_modules/create-react-native-dapp/build/main/buidler/index.js:777:5)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async /Users/mos/.npm/_npx/1064147bb9e7ae50/node_modules/create-react-native-dapp/build/main/cli/index.js:119:33 {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 67961,
  stdout: null,
  stderr: null

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

sergey-kingcommented, Nov 21, 2021

Found the problem. Default installer uses Yarn by default and for some reason doesn’t work with npm. Just install Yarn and it will work @MarkOSullivan94

MarkOSullivan94commented, Dec 8, 2021

Thanks for the reply @sergey-king!

Should I close this or should I keep it open until it works for npm?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to successfully create OLE links...
I migrated from Microsoft Dynamis SL 6.5 SP1 to Microsoft Dynamics SL 6.5 SP3 and the message "Unable to succesfully create OLE links...
Read more >
Project Failure | 6 Reasons Why Project Fails and ... - Kissflow
Wonder why some project ends in failure and others succeed? Here are six reasons why most projects fail and how you can make...
Read more >
Unable to successfully create jhipster project using Docker ...
This seems to be a bug with the JHipster Dockerfile. I submitted a pull request today in which the node version is updated....
Read more >
Can't create project site automatically in PWA - TechNet
Some time it takes time to create project site, just wait and see, if that doesn't work try restart PS services. IN Thanks,...
Read more >
Unable to create a new project (#24739) · Issues -
The resource that you are attempting to access does not exist or you don't have the necessary permissions to view it. Make sure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found