코딩/Error

코딩/Error

[error: npm] npm 업스트림 종속성 에러 - Fix the upstream dependency conflict, or retry / 안 쓰는 npm 모듈 정리

안 쓰는 모듈 정리를 위해 npx depcheck 명령어 실행 후, uninstall을 진행했다.더보기사용하지 않는 모듈 확인npx depcheck파일 패키지에서 모듈 삭제 npm uninstall --save npm uninstall 시, 다음과 같은 에러가 발생했다.보통 npm install 또는 uninstall 시 이런 에러가 발생하는 것 같다. 1. npm 종속성 에러에러메시지를 읽어보면, dependency 관련 오류임을 알 수 있다.  2.  해결방법 1. Overrides 추가아래의 Stack Overflow 글을 참고했는데,overrides를 추가해주는 게 좋은 방법이라고 했다.javascript - Fix the upstream dependency conflict installing ..

코딩/Error

[error: NodeJS & SQLite] An error occurred: TypeError: SQLite3 can only bind numbers, strings, bigints, buffers, and null

NodeJS를 사용하여 SQLite Dataabase를 연결하는 중이었다.서버 실행 시 아래와 같은 에러가 발생했다. An error occurred: TypeError: SQLite3 can only bind numbers, strings, bigints, buffers, and null at file:///C:/Users/Owner/Desktop/engine_templates/dist/app.js:88:22 at new Promise () at selectIFC (file:///C:/Users/Owner/Desktop/engine_templates/dist/app.js:86:12) at main (file:///C:/Users/Owner/Desktop/engine_template..

코딩/Error

[git error] error: bad signature 0x00000000 fatal: index file corrupt

vscode에서 코딩을 하다가.. 갑자기 노트북이 과부하가 왔는지 멈춰버렸다. (노트북 성능 때문에 예전에도 그랬었다.) 그래서 그냥 노트북을 강제종료 하고 다시 시작했다. 그리고 vscode를 들어갔는데.. source control에서 갑자기 uncommited changes가 다 사라져있었다.. git graph를 보려니깐 이렇게 떴다. 커밋 안한 코드들이 많은데.. 콘솔창에 git status 명령어를 입력하니 다음과 같은 에러가 발생했다. 구글링해 본 결과, git - How to fix the error: bad signature 0x00000000 index file corrupt - Stack Overflow How to fix the error: bad signature 0x0000000..

코딩/Error

[python error] ResourceExhaustedError: Graph execution error:OOM when allocating tensor with shape[6,512,9,70,512] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [[{{node gradient_tape/model/conv3d_2/Conv3D/Conv3DBa

코드 실행 중..다음과 같은 에러가 발생했다. 이 에러는 모델이 사용하는 메모리 양이 GPU의 용량을 초과했을 때 발생한다.이를 해결하기 위해 모델의 복잡성을 줄이거나 배치 크기를 줄이면 해결 가능하다.

코딩/Error

[springboot error] Unable to render this definitionThe provided definition does not specify a valid version field.Please indicate a valid Swagger or OpenAPI version field. Supported version fields are swagger: "2.0" and those that match openapi: 3.0.n

localhost:8080/swagger-ui/index.html로 들어갔는데 갑자기 이런 문구가 떴다..난 처음에build.gradle 또는 config 설정 문제라 생각했다. 저 에러 발생 후.. 며칠 간의 사투 끝에 해결했다..내가 해결한 방법이다.1. application.yml 수정# Swaggerspringdoc: default-consumes-media-type: application/json default-produces-media-type: application/json api-docs: groups: enabled: true swagger-ui: operations-sorter: alpha # alpha(알파벳 오름차순), method(HTTP메소드순) ..

코딩/Error

[Spring boot/docker] 이미지 올리고나서 바로 exit

docker에 이미지 올리고 한 10초 뒤에 바로 exit 되는 오류가 발생했다.. 그러면 docker logs 컨테이너명 이렇게 오류 확인이 가능하다.. 나는 스프링부트 의존성 주입 오류였다. deploy.sh를 아래와 같이 바꾸니까 잘 됨! application.yml -입력할 예정 deploy.sh 입력할 예정

코딩/Error

[docker error] permission denied while trying to connect to the Docker daemon socketat unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/auth":dial unix /var/run/docker.sock: connect: permission denied

도커 실행을 위해 sudo docker run -d -p 8080:8080 이미지이름:태그이름 을 입력했는데.. Unable to find image ' 이미지이름:태그이름 ' locally docker: Error response from daemon: pull access denied for 이미지이름, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. 이런 에러가 떴다. 이건 도커 로그인이 안되있어서 뜨는 에러다 docker login 입력 후 id와 password를 입력해준다. 그런데 나는 permission..

코딩/Error

Error: Gradle script '/home/runner/work/~' is not executable. 해결

1. script에서 권한을 주는 방법 - name: Run chmod to make gradlew executable run: chmod +x ./gradlew 2. git 자체에서 권한 주는 방법 git update-index --chmod=+x gradlew

eunslog
'코딩/Error' 카테고리의 글 목록