error13 [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. [Solidity ERROR] Invalid array length, expected integer literal * 본 게시글은, 개발 과정에서 발생한 애러를 개인적으로 정리한 내용입니다. Invalid array length, expected integer literal // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; contract ReturnsArray { mapping(address => uint) public balance; function getBalanceByAddressList(address[] calldata users) public view returns(uint[] memory) { uint _length = users.length; uint[_length] memory results; // ERROR !! for(uint i = 0; i <.. 2022. 12. 17. [Solidity ERROR] Member "push" is not available in uint256[] memory outside of storage * 본 게시글은, 개발 과정에서 발생한 애러를 개인적으로 정리한 내용입니다. Member "push" is not available in uint[] memory outside of storage 함수 내부에 생성된 배열(Array) 변수는 EVM의 memory에 저장됩니다. memory에 정의된 배열 변수는 new 연산자를 사용하여 만들 수 있습니다. 그리고 memory는 데이터의 특성 상, 배열의 길이가 정의 되어야합니다. 즉 동적 배열이 아닌, 정적 배열만 정의 가능합니다. uint[5] memory results; // Not Good uint[] memory results = new uint[](5); // Nice https://borntodevelop.tistory.com/entry/Soli.. 2022. 12. 17. 이전 1 2 다음 반응형