본문 바로가기

error6

[React Native] pnpm monorepo 사용 시, metro error react-native 0.72.4 프로젝트가 pnpm monorepo로 되어 있고 mobile을 추가하기 위해 React Native CLI Quickstart로 프로젝트 설치 및 설정하고 pnpm start 실행하니 두둥! error: Error: Unable to resolve module react-native from /Users/project.../index.js: react-native could not be found within the project or in these directories: node_modules ../../node_modules 역시 react native는 만만한 상대가 아니였... 이것저것 테스트해 본 결과, yarn으로 실행시에는 yarn start나 yarn .. 2023. 9. 15.
[Sourcetree] .huskyrc command not found 에러 Next.js 프레임워크로 웹 프로젝트 진행 중, husky 추가 후 Sourcetree에서 commit시 error가 발생했다(터미널 명령어로는 동작) 구글링 결과, Mac의 GUI 앱에서 Path 환경변수를 올바르게 인식하지 못하는데서 발생하는 문제라고 한다 마침 nvm을 사용하고 있었고 # ~/.huskyrc export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" 위의 설정과 비슷한 내용을 설정해본 기억이 있어 적용해 보았더니, Sourcetree에서 문제없이 commit과 push가 되었다 아래는 참고한 사이트이고 관련 내용뿐 아니라 Path 환경변수 관련하여 추가 내용이 있어 읽어보면 좋을듯 하다 Sourcetre.. 2023. 8. 4.
[Flutter] firebase 설치 시 pod install 에러 해결 iOS 기준, firebase 예제에 필요한 라이브러리 설치 중 에러 발생! Running "flutter pub get" in flutter_project... Launching lib/main.dart on iPhone X in debug mode... Running pod install... CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``) Finding Podfile changes A cloud_firestore - Flutter - firebase_core - .. 2022. 7. 25.
[Flutter] iOS Simulator 실행 오류 해결 에러를 전체 복사하고 싶었지만 해결 후라 다시 볼 수가 없;; 암튼 에러의 조각은 이렇다. An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3.... 뭔가 안된다 싶으면 재부팅 신공! ...이 아니라 Simulator만 재실행 시켜주자 그리고 다시 실행시켜보면 잘 된다 해당 문제는 Xcode 업데이트로 인해 발생한듯하다. 업데이트하면서 iOS버전도 변경되어 그런 게 아닐까 싶다 끝. 2022. 7. 4.
[React Native] iOS 실행시 에러(Flipper 관련) Xcode: 12.4 react: "16.13.1" react-native: "0.63.4" 새로운 프로젝트 생성 후 npx react-native run-ios를 실행했는데 에러가 발생했다. 뭐지?! 터미널을 확인해보니, warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flipper' from project 'Pods') 그리고 Xcode에서는 event2/event-config.h file not found 이런 경고가 있어서 검색을 해보았다.. 2021. 3. 8.