본문 바로가기

보드팩토리 – SBC 커뮤니티

기술 Q&A

프로그래밍 HOT

라떼판다 3 델타 에서 웹서버 띄우는 방법 경험 있으신 분

작성자펌웨어굽는남자 Lv.2 준회원 작성일 조회220 댓글8

본문

라떼판다 3 델타 · Ubuntu 22.04 를 쓰고 있습니다. 전원은 USB 허브 전원 입니다.

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

nvm 도 써 봤습니다.

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

어떻게 확인하면 될까요?

추천11

답변 6

해결됨 내공 650 지급됨
25 채택됨

질문한 사람이 채택한 답변

NodeSource 저장소를 추가하면 최신 LTS 를 받을 수 있습니다.

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

NodeSource 저장소를 추가하면 최신 LTS 를 받을 수 있습니다.

스마트홈러
4

NodeSource 저장소를 추가하면 최신 LTS 를 받을 수 있습니다.

const http = require('http');
http.createServer((req, res) => {
  res.end('hello');
}).listen(3000);
보드덕후
추가로 궁금한 게 있는데 쪽지 드려도 될까요? — 펌웨어굽는남자
혹시 어댑터 사양이 어떻게 되나요? — 라떼파이
3

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

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

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

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

NodeSource 저장소를 추가하면 최신 LTS 를 받을 수 있습니다.

로그를 먼저 보셔야 원인을 좁힐 수 있습니다. dmesg 와 journalctl 결과를 올려 주세요.

오버클럭