본문 바로가기

TIL11

[React Native] Problems loading reference 'https://json.schemastore.org/package': Unable to load schema from 'https://json.schemastore.org/package': getaddrinfo ENOTFOUND json.schemastore.org. 리액트 네이티브 프로젝트 생성부터 문제가 있더니... 생성 후 vs code로 해당 프로젝트를 실행하여 package.json을 확인하자마자 제목과 같은 에러가 발생했다. https://github.com/microsoft/vscode/issues/138459 Cannot find schema for package.json · Issue #138459 · microsoft/vscode Issue Type: Bug Last time I edited package.json and updated project packages has been November 28. Today started showing the following problem when I edit a project's package.json f.. 2023. 1. 28.
[React Native] cli.init is not a function 필자는 NodeJS 버전 18.12.0을 사용하고 있습니다. RN을 해볼일이 생겨서 프로젝트를 생성하는 도중 아래와 같은 에러를 만나게 됩니다. 여기저기 검색을 좀 해보니 이미 공론화 되어 있는 이슈인 것 같긴 한데 해결은 안되었나 봅니다. 2가지 해결책이 있었지만 최신 버전을 사용하고 싶은 저로써는 아래의 방법을 사용하였습니다. npm uninstall -g react-native react-native-cli npx react-native init ProjectName 사용하지 않은 해결법 npx react-native init ProjectName --version 0.68.2 2023. 1. 28.
[Sharp] VipsJpeg: Invalid SOS parameters for sequential JPEG 문제상황 해결 이미지 경로 추적 리사이즈 된 이미지 저장 경로에 이미지가 없음을 확인 원본 이미지 확인 로컬에서 리사이즈 테스트 VipsJpeg: Invalid SOS parameters for sequential JPEG 에러 발생 구글링 해결: failOnError: false 옵션 추가 VipsJpeg: Invalid SOS parameters for sequential JPEG · Issue #1578 · lovell/sharp Repro example: https://gist.github.com/asilvas/773b902b2d175d452c6472a4ed128762 This is an issue that recently came up that seems related to a recent ch.. 2022. 12. 10.
[CSS] 터치 이벤트 후 호버 상태 문제(hover state issue after touch event) 문제상황 not hover hover 위의 상태가 정상인데 touch event가 발생한 경우 hover 상태가 유지되는 문제 발생 해결 구글링 How to remove/ignore :hover css style on touch devices I want to ignore all :hover CSS declarations if a user visits our website via touch device. Because the :hover CSS does not make sense, and it can even be disturbing if a tablet triggers it on clic... stackoverflow.com @media (hover: hover) and (pointer: fine) {.. 2022. 12. 1.