본문 바로가기

보드팩토리 – SBC 커뮤니티

기술 Q&A

프로그래밍 HOT

npm install 중 gyp 오류 원인이 뭘까요?

작성자보드덕후 Lv.2 준회원 작성일 조회635 댓글1

본문

오드로이드 N2+ · Windows 11 를 쓰고 있습니다. 전원은 PD 65W 충전기 입니다.

apt 로 설치한 node 가 너무 오래된 버전이라 패키지가 설치되지 않습니다.

nvm 도 써 봤습니다.

const http = require('http');
http.createServer((req, res) => {
  res.end('hello');
}).listen(3000);

어떻게 확인하면 될까요?

추천4

답변 1

해결됨
13 채택됨

질문한 사람이 채택한 답변

node-gyp 는 python3 와 build-essential 이 있어야 합니다.

const http = require('http');
http.createServer((req, res) => {
  res.end('hello');
}).listen(3000);
라떼파이