일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- actions script
- 미니월광보합
- Action Script 3.0
- programming
- 에러
- react-native
- CI
- https
- html
- giftv
- qcy #arcbuds #lite #t27 #공장 #초기화
- 플래시
- 신촌 #맛집 #백순대 #순대 #연대
- 플래시 프로그래밍
- GeekMagic #smallTV #ultra #gifTV
- 부천 #송내 #맛집 #참치 #술집
- 워치 #페이스 #스튜디오 #워치페이스스튜디오 #watchfacestudio #wfs #워치오류 #워치연결안됨
- react
- CodeIgniter
- geekmagic
- 크리스탈큐브
- 액션스크립트
- 리액트
- 코드이그나이터
- 갤럭시워치 #심박수
- flash
- HTML5
- SSL
- AS3.0
- 리액트네이티브
- Today
- Total
내맘대로 라이프
react native cli.init is not a function 에러 본문
TypeError: cli.init is not a function
at run (C:\Users\User\AppData\Roaming\npm\node_modules\react-native-cli\index.js:302:7)
at createProject (C:\Users\User\AppData\Roaming\npm\node_modules\react-native-cli\index.js:249:3)
at init (C:\Users\User\AppData\Roaming\npm\node_modules\react-native-cli\index.js:200:5)
at Object.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\react-native-cli\index.js:153:7)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
뭐 이딴 에러가 뜰때가 있습니다.
npm install -g react-native
를 실행하고 다시 해보세요
혹시나 그래도 안되시면
npm uninstall -g react-native-cli
npm install -g react-native-cli
npm install -g react-native
지우고 다시 설치해보세요