홈페이지 제작할땐!

비버팩토리

반응형

it 언어 노트/nodejs 5

node ) Sharp 모듈 에러 날때

안녕하세요! 비버팩토리입니다. 이미지 리사이징 주제로 포스팅 글 올립니다. sharp 모듈 설치시 주의 사항이라고 참고 자료를 확인해서 해결 하려고 했는데 해결 되지 않는다 가상서버로 실행중이라서.. 아무리 해도 문제 해결 되지 않는다. npm install --platform=linux sharp  그래서 Sharp 모듈에서 깃헙 이슈를 찾다가 발견 했다. https://github.com/lovell/sharp/issues/4001 Error: Could not load the "sharp" module using the linux-x64 runtime on AWS Lambda · Issue #4001 · lovell/sharpPossible bug Is this a possible bug in a ..

centos7 glibc_2.27 not found

안녕하세요! 비버팩토리입니다.이번에 노드 설치 도중에 발생한 아래 처럼 에러가 나왔을때 대처방법에 대해서 설명 남깁니다. node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by node)node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)node: /lib64/libstdc++.so.6: ve..

failed: WebSocket is closed before the connection is established.

개발자도구에서 failed: WebSocket is closed before the connection is established. 라는 문구가 나옵니다. 노란색 경고문으로 나오는데 혹시나 그대로 구글링으로 찾아봤더니.... (예측헌데 nginx 설정은 이미 프록시로 해놨고.. 여러 문제를 생각해야된다...) 어쨌든 이런 메시지가 나올때 아래 참고 자료를 확인하면 됩니다.  https://github.com/feathersjs/feathers/issues/1149 WebSocket is closed before the connection is established · Issue #1149 · feathersjs/feathersThe following errors are often found: websoc..

[Node] babel-node가 권한 문제로 실행이 안될 경우 #@babel-node

sh: /home/ec2-user/폴더이름/node_modules/.bin/babel-node: Permission denied권한이 없다고 나오는 경우가 있다. 처음에 위에 경로 그대로 나오니까 응용해서 아래 경로와 퍼미션을 조화롭게 입력하면됩니다.$ chmod 755 /home/ec2-user/폴더이름/node_modules/.bin/babel-node     참고 자료 :  https://dev-san.tistory.com/27 [Node] babel-node가 권한 문제로 실행이 안될 경우 #@babel-nodesh: /home/ec2-user/폴더이름/node_modules/.bin/babel-node: Permission denied 권한이 없다고 나오는 경우가 있다. $ chmod 755 /..

반응형