<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Node.js on DevTrace — 글로벌 개발 에러 트러블슈팅</title><link>https://tokkabi.com/tags/node.js/</link><description>Recent content in Node.js on DevTrace — 글로벌 개발 에러 트러블슈팅</description><generator>Hugo -- 0.125.0</generator><language>ko</language><lastBuildDate>Mon, 24 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tokkabi.com/tags/node.js/index.xml" rel="self" type="application/rss+xml"/><item><title>npm 전역 설치 시 EACCES 권한 오류 — sudo 없이 안전하게 해결하는 방법</title><link>https://tokkabi.com/posts/how-to-fix-npm-throwing-error-without-sudo/</link><pubDate>Mon, 24 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/how-to-fix-npm-throwing-error-without-sudo/</guid><description>npm 전역 설치/검색 시 발생하는 EACCES: open &amp;#39;.../.npm/...&amp;#39; 권한 오류를 sudo 없이 해결하는 방법을 정리합니다. npm 전역 경로를 사용자 홈 디렉토리로 옮기는 안전한 해결책과 원인별 분기 방법을 단계별로 제시합니다.</description></item><item><title>Node.js/Windows ENOENT stat AppData\Roaming\npm 오류 — npm 폴더 생성으로 해결하기</title><link>https://tokkabi.com/posts/nodejs-windows-error-enoent-stat-appdata-roaming-npm/</link><pubDate>Sat, 22 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/nodejs-windows-error-enoent-stat-appdata-roaming-npm/</guid><description>Windows에서 npm install 실행 시 &amp;#39;ENOENT, stat C:\Users\사용자\AppData\Roaming\npm&amp;#39; 오류가 발생하는 증상, 원인 후보 점검 체크리스트, npm 전역 폴더 수동 생성 해결 방법을 단계별로 정리한다.</description></item><item><title>React 'Minified exception occurred' 에러 — NODE_ENV=development로 전체 에러 메시지 확인하기</title><link>https://tokkabi.com/posts/react-minified-exception-occurred/</link><pubDate>Thu, 20 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/react-minified-exception-occurred/</guid><description>React에서 &amp;#39;Uncaught Error: Minified exception occurred&amp;#39; 에러가 발생할 때, NODE_ENV=development로 빌드하면 원래 에러 메시지를 확인할 수 있습니다. browserify, webpack, vite 등 번들러별 전체 에러 메시지 확인 방법과 함께 원인 후보별 디버깅 체크리스트를 정리합니다.</description></item><item><title>Node.js CryptoJS AES 암호화를 Go에서 복호화할 때 panic이 나는 이유 — 문자열 키는 passphrase로 처리된다</title><link>https://tokkabi.com/posts/decrypt-aes-node-to-golang-evp-bytestokey/</link><pubDate>Wed, 19 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/decrypt-aes-node-to-golang-evp-bytestokey/</guid><description>Node.js(CryptoJS)로 AES 암호화한 데이터를 Go에서 복호화할 때 panic/깨진 값이 나오는 원인을 설명합니다. 문자열 키를 CryptoJS가 passphrase로 해석해 EVP_BytesToKey로 키와 IV를 유도하는 동작 차이를 파고들고, salt를 추출해 AES-CTR로 복호화하는 Go 코드와 안전한 대안을 소개합니다.</description></item><item><title>Node.js MongoDB 드라이버 'requires at least 2 (MongoDB2.6)' wire version 오류 — 드라이버·서버 버전 호환성 문제 해결</title><link>https://tokkabi.com/posts/nodejs-mongodb-driver-requires-at-least-2-wire-version/</link><pubDate>Tue, 18 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/nodejs-mongodb-driver-requires-at-least-2-wire-version/</guid><description>MongoError: Server at localhost:27017 reports wire version 0, but this version of Node.js Driver requires at least 2 (MongoDB 2.6) 오류의 원인과 해결 방법을 설명합니다. mongodb npm 드라이버 버전과 MongoDB 서버 버전(wire protocol) 간 호환성을 맞추는 방법을 다룹니다.</description></item><item><title>Express에서 'Can't set headers after they are sent' 오류 해결하기</title><link>https://tokkabi.com/posts/error-cant-set-headers-after-they-are-sent/</link><pubDate>Mon, 17 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/error-cant-set-headers-after-they-are-sent/</guid><description>Node.js/Express에서 &amp;#39;Can&amp;#39;t set headers after they are sent to the client&amp;#39;가 발생하는 원인은 응답이 시작된 뒤 헤더를 설정하거나 중복 응답을 보내기 때문입니다. 콜백 중복 호출·redirect 후 에러 발생 등 원인을 파악하고 res.header를 본문 전에만 호출하는 해결책을 제시합니다.</description></item><item><title>Node.js uncaughtException 처리 방법 — 처리되지 않은 예외로 프로세스가 종료되는 문제</title><link>https://tokkabi.com/posts/nodejs-handling-uncaught-exceptions/</link><pubDate>Sun, 16 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/nodejs-handling-uncaught-exceptions/</guid><description>Node.js에서 처리되지 않은 예외(Uncaught Exception)가 발생하면 프로세스 전체가 종료됩니다. process.on(&amp;#39;uncaughtException&amp;#39;) 사용법과 async-safe한 에러 처리 전략(return Error, err-first callback, event emit)을 통해 이 문제를 해결하는 방법을 다룹니다.</description></item><item><title>Node.js: node-sass/node-gyp 빌드 시 'Python not found' 오류 해결하기</title><link>https://tokkabi.com/posts/nodejs-python-not-found-exception-due-to-node-sass-and-node-gyp/</link><pubDate>Sat, 15 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/nodejs-python-not-found-exception-due-to-node-sass-and-node-gyp/</guid><description>Jenkins에서 node-sass와 node-gyp가 &amp;#39;Python not found&amp;#39; 오류로 빌드가 실패하는 문제를 다룹니다. 원인은 node-gyp가 Python 2를 요구하기 때문이며, node-sass 버전 업데이트 또는 Node.js 버전 업그레이드로 해결합니다.</description></item><item><title>Node.js 17+ 에서 'error:0308010C:digital envelope routines::unsupported' 오류 해결 (OpenSSL 3.0 호환 문제)</title><link>https://tokkabi.com/posts/node-17-error0308010c-digital-envelope-routines-unsupported/</link><pubDate>Mon, 10 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/node-17-error0308010c-digital-envelope-routines-unsupported/</guid><description>Node.js 17 이상에서 OpenSSL 3.0.0으로 인해 webpack 4가 해시 함수를 처리하지 못할 때 발생하는 error:0308010C:digital envelope routines::unsupported 오류를 4가지 방법으로 해결하는 방법을 설명합니다.</description></item><item><title>Node.js heap out of memory 크래시 원인과 해결 (--max-old-space-size)</title><link>https://tokkabi.com/posts/nodejs-heap-out-of-memory/</link><pubDate>Sun, 02 Aug 2026 00:00:00 +0000</pubDate><guid>https://tokkabi.com/posts/nodejs-heap-out-of-memory/</guid><description>Node.js에서 대용량 데이터를 처리할 때 &amp;#39;heap out of memory&amp;#39; 크래시가 발생하는 문제를 다룬다. V8 엔진의 기본 메모리 한도(약 1.7GB)를 초과하면 발생하며, --max-old-space-size 옵션으로 구(old space) 메모리 한도를 늘려 해결한다. 파일 인덱싱, 대량 배열 처리 등에서 자주 나타난다.</description></item></channel></rss>