react-native-community / react-native-template-typescript

👾 Clean and minimalist React Native template for a quick start with TypeScript.
https://www.npmjs.com/package/react-native-template-typescript
MIT License
1.86k stars 397 forks source link

can not run npx react-native init MyApp in react native CLI #210

Closed Kaushallaya closed 3 years ago

Kaushallaya commented 3 years ago

Expected results

I try to crate a new react native app and this problem appear..

Observed results

clear the npm cash and update npm. but same problem here..

Logs

× Downloading template error Error: Command failed: npm install --save --save-exact react-native@latest npm ERR! code E404 npm ERR! 404 Object Not Found - GET https://skimdb.npmjs.com/registry/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz - not_found npm ERR! 404 npm ERR! 404 'remove-trailing-separator@https://skimdb.npmjs.com/registry/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Acer\AppData\Local\npm-cache_logs\2021-07-16T15_48_17_958Z-debug.log

System

OS: Windows 10 SDK: Android npm: version 7.9.0

radko93 commented 3 years ago

Seems like you are not using the template. If you have issues with React Native you can open an issue on React Native CLI repo.