npm ERR! 404 Not Found - GET https://registry.npmjs.org/react-native-template-react-native-template-typescript - Not found
npm ERR! 404
npm ERR! 404 'react-native-template-react-native-template-typescript@latest' 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\johan\AppData\Roaming\npm-cache\_logs\2021-08-29T11_35_17_594Z-debug.log
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN jscodeshift@0.11.0 requires a peer of @babel/preset-env@^7.1.6 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
react-native-cli를 이용해서 typescript를 사용하는 react native 프로젝트 생성 시 위와 같은 템플릿을 찾을 수 없다는 오류가 발생했다면,
react-native-cli를 삭제한 후 새로운 cli 버전을 다시 설치해야 한다.
npm uninstall -g react-native-cli
npm i -g @react-native-community/cli
https://github.com/react-native-community/react-native-template-typescript
[Android] FCM PUSH Notification (FCM PUSH 알림) (0) | 2022.03.09 |
---|---|
[React Native] JSX 구문 (0) | 2021.08.30 |
[React Native] React Native with TypeScript : Hello World (0) | 2021.08.24 |
[React Native] React Native로 Android 앱 개발 시작하기 (Windows) (0) | 2021.08.24 |
[React Native] 개발 환경 구축 in Windows (Scoop, Node.js, VSCode, Android Studio) (0) | 2021.08.23 |