본문 바로가기

보드팩토리 – SBC 커뮤니티

기술 Q&A

프로그래밍

npm install 중 gyp 오류 해결 방법 있을까요

작성자스마트홈러 Lv.2 준회원 작성일 조회67 댓글2

본문

오렌지파이 3B · Raspberry Pi OS Lite 를 쓰고 있습니다. 전원은 휴대폰 충전기(5V 2A) 입니다.

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

nvm 도 써 봤습니다.

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

비슷한 경험 있으신 분 조언 부탁드립니다.

추천0

답변 1

답변있음 채택하면 내공 1,000
6

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

const http = require('http');
http.createServer((req, res) => {
  res.end('hello');
}).listen(3000);
준혁
펌웨어 업데이트 뒤에도 같은가요? — 스마트홈러