First Project fails on Windows
See original GitHub issueVersion
No response
Problem Area
react-native-pytorch-core (core package)
Steps to Reproduce
I am trying to install PyTorchLive on Windows 10 machine.
- Already have Python installed.
- I followed steps in https://pytorch.org/live/docs/tutorials/get-started-manually/ to install reactnative development environment
- Am able to successfully run the react-native sample application.
- 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:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.Quick update, after updating the
masked-view
package to 0.1.11 this error disappear but another incompatibility comes up with thets-jest
andjest
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 😃