본문 바로가기

Dev Error12

[Docker] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 맥OS에서 Docker 이미지를 가져오는 과정에서 위와 같은 애러가 났습니다. 이유를 찾아보니, 현재 저는 MacOS M1을 사용하지만, 가져오는 도커 이미지의 플랫폼(OS)는 M1의 arm64를 지원하지 않은 모양입니다. docker build --platform linux/arm64 [어쩌구 저쩌구] 위와 같은 docker build 명령어 전에 --platfrom linux/arm64를 넣고 이어서 명령어를 실행하면 호환이 되도록 이미지를 받아(p.. 2023. 6. 3.
[React Native Error] react-native-reanimated:configureCMakeDebug[arm64-v8a] Task :react-native-reanimated:configureCMakeDebug[arm64-v8a] FAILED 위와 같은 애러가 발생했습니다. arm64는 맥북 M1 CPU에서 사용하는 모듈인데, 저는 오늘 새로운 맥북프로로 리액트 네이티브를 구동할 때 발생했습니다. 해당 원인은 버젼을 낮춰주어 해결했습니다. npm install react-native-reanimated@2.9.1 Error while executing npx react-native run-android ==> Execution failed for task ':react-native-reanimated:configureCMakeDebug[a info JS server already running. info Installing.. 2023. 4. 29.
[React Native Error] Execution failed for task ':react-native-image-crop-picker:compileDebugJavaWithJavac' * What went wrong: Execution failed for task ':react-native-image-crop-picker:compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details. 새로운 노트북에서 안드로이드를 빌드 하는데, 계속 위와 같은 애러가 발생했습니다. GitHub - ivpusic/react-native-image-crop-picker: iOS/Android image picker with support for camera, video, configurable compressi iOS/Android image picker with support for camera, vi.. 2023. 4. 29.
[React Native Error] Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release. Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release 안드로이드 애뮬레이터 빌드 도중, 위와 같은 애러가 발생했다. 해결 방안 : 1. android\app\src\main\assets\모든 파일삭제 + assets폴더가 없다면 생성 2. 아래 명렁어 실행 react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/.. 2023. 4. 29.
[React Native Error] react-native-picker-select의 Invalid hook call. 애러 위 사진처럼 에서 애러가 났는데, 위치를 보니 react-native-picker-select를 사용한 부분에서 애러가 났다. npm i react-native-picker-select --legacy-peer-deps 발생한 문제는 이미 확인되어 레거시 버젼으로 npm을 설치하면 해결이 된다. Invalid hook call on RNPickerSelect I am building my first react-native app for both android and IOS. In order for my app to function, I need to use RNPickerSelect. But for some reason when I try to do 2023. 4. 29.
[Xcode Error] ERROR ITMS-90725: SDK version issue 애러에 대한 고찰 개발중인 IOS 앱을 테스트플라이하기 위해 App Store Connect 에 React Native로 작성한 코드를 베포하는 과정에서 애러가 발생했습니다. App Store Connect Operation Error ERROR ITMS-90725: "SDK version issue. This app was built with the iOS 14.4 SDK. All iOS and iPadOS apps submitted to the App Store must be built with the iOS 16.1 SDK or later, included in Xcode 14.1 or later." 결과적으로 이는 IOS의 정책문제이다. Submit your iOS apps to the App Store - App.. 2023. 4. 27.
[Xcode Error] does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. IOS 테스트 플라이트를 위해 Archive작업을 하던 중 애러가 났네요. Showing Recent Messages '/Users/choiwonhyeok/Library/Developer/Xcode/DerivedData/KingAzitApp-ahkyjxeldpvguzfaxmlxpxiafvms/Build/Intermediates.noindex/ArchiveIntermediates /KingAzitApp/BuildProductsPath/Release-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport /FirebaseAnalytics.framework/FirebaseAnalytics(FIRAEvent.o)' does not contain bitc.. 2023. 4. 27.
node.js)express permission denied in window npm start (스크립트에 명령어 수정 => npm nodemon app) Error: listen EACCES: permission denied 0.0.0.0:3030 어제만 해도 잘 되던 express 3030포트가 안된다... window 랑 리눅스랑 해결방법은 다릅니다. 저는 윈도우에서 발생한 애러니까 , 윈도우 해결 방법을 적겠습니다. 1. 명령어 관리자모드로 실행 2. 아래 코드 입력 $ net stop winnat 3. 아래 코드입력 $ net start winnat 2022. 6. 17.
Solidity)솔리디티 Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient. Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient. 위와 같은 애러가 났다. -원인 : 생성자(constructor)의 가시성은 무시가 됩니다. 때문에 컨트랙트를 배포 할 수 없도록 하기위해선 "abstract"를 선언하거나 배포를 하기 위해선 아무것도 선언하지 않으면 됩니다. - 해결 : 생성자(constructor)에서 배포를 할 경우, Public 지우고 그냥 Deploy하면 됩니다. 배포를 못하기 하려면 Public자리에 abstract를 넣으면 됩니다. 2022. 4. 6.
반응형