question-mark
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.

First Project fails on Windows

See original GitHub issue

Version

No response

Problem Area

react-native-pytorch-core (core package)

Steps to Reproduce

I am trying to install PyTorchLive on Windows 10 machine.

  1. Already have Python installed.
  2. I followed steps in https://pytorch.org/live/docs/tutorials/get-started-manually/ to install reactnative development environment
  3. Am able to successfully run the react-native sample application.
  4. npx react-native init MyFirstProject --template react-native-template-pytorch-live give the following error: Welcome to React Native! Learn once, write anywhere

√ Downloading template √ Copying template √ Processing template √ Executing post init script × Installing dependencies

error Error: Command failed: npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: myfirstproject@0.0.0
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   react@"17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0" from @react-native-community/masked-view@0.1.10
npm ERR! node_modules/@react-native-community/masked-view
npm ERR!   @react-native-community/masked-view@"^0.1.10" 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.

Expected Results

No response

Code example, screenshot, or link to repository

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pot2mayocommented, Mar 20, 2022

@raedle My solution is not good enough for a PR since it still require to use the force mode for installing packages. Ideally we’d like a versioning that is compatible across all packages without forcing.

1reaction
pot2mayocommented, Feb 13, 2022

Quick update, after updating the masked-view package to 0.1.11 this error disappear but another incompatibility comes up with the ts-jest and jest packages.

Note that using npm install --force can be used to bypass the issue but fixing the package versioning in the base template would be a much better option 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Only Truly Failed Project - Coding Horror
But first, it was ridiculed and stomped. For Microsoft, it was a costly mistake. For the people who worked on it, Bob taught...
Read more >
Microsoft Project 2013 not starting up
Good day. I am running Windows 10 Professional (64 bit), Office Home and Business 2013 (64 bit) and Project 2013 Professional(64 bit).
Read more >
How to fix "The project doesn't know how to run the profile ...
I'm trying out PowerFx using the instructions on this page: https://powerapps.microsoft.com/en-us/blog/power-fx-open-source-now-available/.
Read more >
Project build errors and warnings (PRJxxxx) - Microsoft Learn
When you correct issues in your project, always start with the first error or warning that's reported, and rebuild often. One fix may...
Read more >
Unexplained Windows or software behavior may be caused ...
This issue may occur when deceptive software, such as spyware that is known as "grayware," is installed on your computer. This kind of...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found