I'm trying to create an app with React Native and TypeScript, but it's not working. I use the following commands:
npx react-native init MyApp --template react-native-template-typescript
And the log error:
Yarn version: 1.22.15Node version: 16.10.0Platform: win32 x64Trace: Error: https://registry.yarnpkg.com/react-native-template-react-native-template-typescript: Not found at Request.params.callback [as _callback] (C:\Users\pc\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:66140:18) at Request.self.callback (C:\Users\pc\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:140885:22) at Request.emit (node:events:390:28) at Request.<anonymous> (C:\Users\pc\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:141857:10) at Request.emit (node:events:390:28) at IncomingMessage.<anonymous> (C:\Users\pc\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:141779:12) at Object.onceWrapper (node:events:509:28) at IncomingMessage.emit (node:events:402:35) at endReadableNT (node:internal/streams/readable:1343:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)