리액트 네이티브 프로젝트 생성부터 문제가 있더니...
생성 후 vs code로 해당 프로젝트를 실행하여 package.json을 확인하자마자
제목과 같은 에러가 발생했다.
https://github.com/microsoft/vscode/issues/138459
위의 글을 참조하여 vs code를 재시작하니 해당 문제는 해결되었다.
그런데 갑자기 String does not match the pattern of "^(?:@[a-z0-9-*~][a-z0-9-*._~]*/)?[a-z0-9-~][a-z0-9-._~]*$". 에러가 발생한다...
혹시나 싶어서 vs code를 다시 재시작 해보았지만 여전히 발생...
https://maybe-b50.tistory.com/87
위 글을 참조하여 name을 소문자 + 케밥 케이스로 변경 후 해결 :)
대문자 제거 및 띄어쓰기는 하이픈으로 :) ! 기억하자.
'TIL' 카테고리의 다른 글
[React Native] error Command failed: xcrun instruments -s (0) | 2023.01.28 |
---|---|
[React Native] Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. (0) | 2023.01.28 |
[React Native] cli.init is not a function (0) | 2023.01.28 |
[Sharp] VipsJpeg: Invalid SOS parameters for sequential JPEG (0) | 2022.12.10 |
[CSS] 터치 이벤트 후 호버 상태 문제(hover state issue after touch event) (0) | 2022.12.01 |
댓글