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.

When running npx react-native xxxx, it will let me download react-native@0.69.5, and then failed with errors

See original GitHub issue

I want to initiate a new react-native 0.69 project, so I uninstall the react-native-cli with npm uninstall -g react-native-cli, and then I run the npx react-native init rn69, the prompt let me to download react-native@0.69.5, and then error happens, please refer to below screenshot: image

Below is the log 2022-08-31T09_13_40_737Z-debug-0.log

My node version is 16.17.0

Thank you

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
xiaohui-gsvcommented, Sep 2, 2022

Haha, it works after removing the .npm/_npx folder, and after executing the npx react-native init xxx, it will generate a new one with react-native@0.69.5, thank you @adamTrz .

0reactions
adamTrzcommented, Sep 1, 2022

It shouldn’t I think 😃 You can always make a copy just for safekeeping and rename it to sth like _npx_backup Sth like that maybe? cp -a /_npx/. /_npx_backup/

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native: command not found
After adding right path to the PATH variable issue is resolved. Below are the steps to find the right path. 1. Enter: npm...
Read more >
react-native-ble-manager
A BLE module for react native.. Latest version: 8.5.0, last published: 17 days ago. Start using react-native-ble-manager in your project by ...
Read more >
Troubleshooting
I'm getting an error "Unable to resolve module" after updating to the latest version​. This might happen for 3 reasons: Stale cache of...
Read more >
React Native + Github Action = ❤️
In this article, i will share our approach to configuring react native apps with GitHub action to build and distribute new versions. We...
Read more >
Upgrading React Native to version 0.59 and beyond: a step-by ...
That's why before you restart your app after an upgrade, make sure to always do the following: Reset your simulator settings: If you're...
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