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

Error with "npx react-native init AwesomeTSProject" #202

Closed vaidehikr closed 3 years ago

vaidehikr commented 3 years ago

Expected results

Issues running command "npx react-native init AwesomeTSProject" What did you expect to happen? Expected project "AwesomeTSProject" is craeted

Observed results

Got error What happened? C:\Users\username\Documents\node-v14.10.0-win-x64>npx react-native init AwesomeProject npm ERR! code E403 npm ERR! 403 403 MediaTypeBlocked - GET https://registry.npmjs.org/@jest/types/-/types-26.6.2.tgz npm ERR! 403 In most cases, you or one of your dependencies are requesting npm ERR! 403 a package version that is forbidden by your security policy. npm ERR! 403 npm ERR! 403 It was specified as a dependency of '@jest/create-cache-key-function' npm ERR! 403

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\username\AppData\Roaming\npm-cache_logs\2021-05-02T06_13_29_319Z-debug.log Install for [ 'react-native@latest' ] failed with code 1

Logs

Please add the log output here. 2021-05-02T07_47_35_301Z-debug.log

Need help in resolving the issue .

radko93 commented 3 years ago

Seems like this error is not related to the template. Please look on how to use the template in the readme.