본문 바로가기
728x90

개발456

crawling puppeteer 오류 발생 typescript typescript로 바꾼 뒤에 puppeteer에 오류가 생기면서 데이터 크롤링이 안되는 현상이 발생했다! ㅠㅇㅠ 완전 똑같이 에러가 나는 경우가 있었다 https://stackoverflow.com/questions/75992952/could-not-find-chromium-rev-1108766 Could not find Chromium (rev. 1108766) azure devops build pipeline throwing error as Could not find Chromium (rev. 1108766) while running angular test command (npm test ---browser=chromeheadless). even i configured pupperteer.conf.. 2023. 5. 27.
flutter app update 시키기 안드로이드 앱 업데이트가 잘 안되어서, 왜 그런지 많이 생각하고 수정도하고, 했는데 결국 인텐트 주소가 잘 못 된 것이었음. 고치고 나서 생각해보면 왜 intent 주소 바꿀 생각을 왜 안했을까 싶다 playstore로 https로 옮기는 것이 아니고 마켓주소를 적어야하는 것이다. static String androidStoreUrl = 'https://play.google.com/store/apps/details?id= static String androidMarketUrl = 'market://details?id= 그래야 playstore가 켜지면서 정상적으로 작동함!! 근데 웹페이지를 키더라도 mode: LaunchMode.externalApplication, 이것만 설정해줘도 문제가 안생기는데 g.. 2023. 5. 21.
flutter hive adapter.. 개고생 하다가 고침.. flutter hive 를 잘 쓰고 있다. 그런데 이게 adapter id를 바꾸면, 큰 일 나게 되는데 앱을 지우지 않으면, 오류가 생긴다. 이 오류를 그냥 넘어가자고 하니 앱의 핵심기능이라서,, 암튼 -_- 이거 해결하려면 try -catch로 감싸서 오류나면 아예 싹 삭제하고 다시 만들어서 쓰면 된다 } on HiveError catch (e) { logger.d('hive 오류-> 오류 지우기 $e'); await Hive.deleteFromDisk(); } 고치고 써보니 아주 간단한데, stackoverflow에서도 적절한 답을 찾지 못했다. https://stackoverflow.com/questions/69259338/hiveerror-cannot-read-unknown-typeid-32-d.. 2023. 5. 21.
flutter file nesting generated 파일이 많아서 헤갈릴 경우에 file Nesting을 통해서 해결해줄 수 있다. (조금 깔끔하게 바뀜) .g.dart를 추가해줘야함 구조나 파일 시스템이 바뀐 것은 아니고, 보여주는 방식만 바뀌는 것이다. 2023. 5. 9.
728x90