본문 바로가기

보드팩토리 – SBC 커뮤니티

기술 Q&A

프로그래밍 HOT

Node.js 설치 버전이 너무 낮아요

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

본문

오렌지파이 Zero 3 · Debian 12 를 쓰고 있습니다. 전원은 휴대폰 충전기(5V 2A) 입니다.

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

nvm 도 써 봤습니다.

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

미리 감사드립니다.

추천0

답변 3

답변있음
6

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

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

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

const http = require('http');
http.createServer((req, res) => {
  res.end('hello');
}).listen(3000);
보드팩토리
1

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

공장장
감사합니다! 덕분에 해결했어요. — 스마트홈러