본문 바로가기 메뉴 바로가기

VoidNoble IT Zone

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

VoidNoble IT Zone

검색하기 폼
  • 분류 전체보기 (721)
    • AI (2)
    • 모바일 (119)
      • Flutter (0)
      • React Native (1)
      • 모바일웹 (20)
      • Android (54)
      • iOS (39)
      • 윈도우모바일 (1)
    • 웹프로그래밍 (313)
      • html (12)
      • js (77)
      • css (31)
      • NodeJS (13)
      • Python (1)
      • PHP (42)
      • ASP Classic (68)
      • GoLang (1)
      • Wordpress (6)
      • JSP (3)
      • .NET (6)
      • Scala (1)
      • XML (4)
      • 웹접근성 (6)
      • Adobe Air & Flex (2)
    • SQL (35)
      • MS-SQL (26)
      • MySql (5)
      • MongoDB (2)
    • OS-서버-서비스 (152)
      • macOS (9)
      • Docker (9)
      • CloudFlare (1)
      • NginX (5)
      • Git (3)
      • AWS (6)
      • Azure (4)
      • 구글 DFP (광고서버) (1)
      • Windows (72)
      • Elasticsearch (3)
      • IoT (1)
      • Linux (27)
    • 응용프로그래밍 (11)
      • Java (1)
      • C# (8)
      • Visual Basic (0)
      • VB.NET (0)
    • 디자인 (16)
      • Photoshop (5)
      • illustrator (0)
      • Flash (1)
      • 웹디자인 (6)
      • 디자인 리소스 (1)
      • Inspiration (0)
    • Tools (12)
      • Visual Studio Code (5)
      • sublime text (1)
      • PHPStorm (4)
    • 개발 옆차기 (1)
    • 서비스들 (18)
    • 용어?영어? (2)
    • 문서-사무-OA (0)
    • 자료실 (34)
    • 하드웨어 (0)
    • 네트워크 (2)
    • 개발자 생활로그 (4)
  • 방명록

웹프로그래밍/NodeJS (13)
serverless 로컬 디버깅 방법

1. handler.js callback() 필드 중 body 의 값 Type은 String 이어야만 함. 만약 다른 형식을 지정하면 postman 같은 툴에서 502 Internal Server Error 를 만나게 됨. module.export.run = (event, context, callback) => { return callback(null, { statusCode: 200, headers: { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Credentials': true }, body: event }); }; 2. postman 에서 api uri 로 호출 Body > raw > application/json { “foo": “bar..

웹프로그래밍/NodeJS 2019. 3. 31. 23:33
npm install 시 .npm/_cacache/tmp/git-clone permission denied 문제 발생

아래 명령들을 각각 시도해보았다.$ chown -R $(whoami) ~/.npm$ npm install --cache /tmp/empty-cache $ npm i --unsafe-perm$ npm i --unsafe-perm --cache /tmp/empty-cache위 명령들로도 해결이 안되는 경우가 발생하였고다른 node.js 패키지 관리자인 yarn 으로 갈아타니 깔끔하게 해결되었다.

웹프로그래밍/NodeJS 2018. 11. 25. 02:31
NodeJS Experss 4.x 이상에서 Query string 받기

body-parser 쓰지 말고 권장되는 middleware 로 해결 app.use((req, res, next) => { if (req.query.something) { // Do something; call next() when done. } else { next(); } }); 참고= http://stackoverflow.com/a/14909941/4449774

웹프로그래밍/NodeJS 2016. 7. 14. 16:25
NodeJS pm2 ProcessContainerFork.js 오류 대응

$ node app.js 로는 실행 후 포트 리스닝이 문제 없는데 pm2 로 start 시 포트 리스닝이 계속 안되는 문제가 발생!자세한 pm2 프로세스 상태를 보기 위해$ pm2 show 명령 실행에러 로그 경로를 확인error log path | ~/.pm2/logs/callback-error-0.logless 명령으로 열어서 오류 로그 확인$ less ~/.pm2/logs/callback-error-0.logError: Cannot find module '~/.nvm/....../lib/node_modules/pm2/lib/ProcessContainerFork.js'저 오류는 pm2 env 가 변경되어 유발된다고 하며해결은$ rm -rf ~/.pm2$ pm2로고가 뜨며 pm2 설정이 업데이트 됨.다..

웹프로그래밍/NodeJS 2016. 7. 14. 15:46
ERR! Refusing to install XXX as a dependency of itself 해결법

설치하려는 npm 패키지명과 프로젝트명이 같으면 발생하는 오류. package.json 의 name: "{이 값을 변경}"

웹프로그래밍/NodeJS 2016. 7. 14. 11:13
CentOS Socket.io 로드밸런싱

공식 문서에는 NginX 설정이 나옴 http://socket.io/docs/using-multiple-nodes/다중 노드들 사용#고 load balancing고정 로드밸런싱If you plan to distribute the load of connections among different processes or machines, you have to make sure that requests associated with a particular session id connect to the process that originated them.This is due to certain transports like XHR Polling or JSONP Polling relying on firing sever..

웹프로그래밍/NodeJS 2016. 5. 18. 16:57
Cloud9에서 git push 후 Authentication failed 오류 발생 해결

Cloud9 Terminal (ALT + T)에서$ git push origin master 했더니> fatal: Authentication failed 치명적 오류가 발생하였다.해결방법은 아래의 페이지에서 찾을 수 있었다. https://github.com/DouglasCAyers/Cloud9-FAQ/tree/master 해결책1cloud9과 github 간 연결을 확실히 하고 cloud9 ssh key를 github에 추가계정 페이지인 http://c9.io/계정아이디 에서 cloud9 ssh 얻기github 계정 페이지인 https://github.com/settings/ssh 에 키를 추가 해결책2 github에서 cloud9으로 프로젝트를 clone 하였다면 remote origin url을 H..

웹프로그래밍/NodeJS 2014. 4. 28. 17:07
socket.io 전송 .on 데이터가 string 형식으로 되어버리는 문제(PrototypeJS 영향) 해결법

개발서버에서는 이상이 없는데원격서버에서 socket.on('some event', function(data){ }); 클라이언트에서 전송된 message data가 object type이 아닌 string 형식 등으로 받아지는 문제가 발생했다.문제를 일으키는것은 PrototypeJS 이었다.PrototypeJS v1.6.x 가 JSON.parse, JSON.stringify Overrides 하여 socket.io 의 JSON 관련 모든 기능 깨먹는 문제가 발생하는 것.아래와 같은 코드를 사용하면 해결됨. if(window.Prototype) { delete Object.prototype.toJSON; delete Array.prototype.toJSON; delete Hash.prototype.toJS..

웹프로그래밍/NodeJS 2014. 4. 14. 18:45
node.js 프로그램 NSSM 이용하여 윈도우 서비스로 등록하여 실행

http://blog.tatham.oddie.com.au/2011/03/16/node-js-on-windows/ 아래쯤의 조언대로커맨드라인에서nssm.exe install sydjs-node c:\where-i-put-node-standalone\node.exe c:\code\SydJS\server.jsnet start sydjs-node하여도 되고http://harjinderkamboj.wordpress.com/2012/09/06/running-node-as-a-service-using-nssm-2/ 에서와 같이 Dialog 를 통하여도 됨.

웹프로그래밍/NodeJS 2014. 4. 7. 15:46
MAC OSX에서 npm 모듈 설치시 ERR 오류 마구 발생핼때 재설치법

nodejs.org/download 에서 맥용 설치패키지 받아서 설치 후 npm 명령어로 필요한 모듈 설치하려니 오류가 마구 쏟아지며 설치가 안되어 재설치법을 아래에 붙여둠. Run the following commands to uninstall node.js: lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* http://notepad2.blogspot.kr/2012/06/how-to-uninstall-node..

웹프로그래밍/NodeJS 2014. 2. 5. 00:20
이전 1 2 다음
이전 다음
공지사항
  • 비방 욕설 의견은 바로 삭제해 드립니다
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • Make Use Of
  • How to geek
  • 인터넷 통계정보 검색시스템
  • 트위터 공유 정보모음
  • 웹표준KR
  • 치우의 컴맹탈출구
  • Dev. Cheat Sheets
  • w3schools
  • Dev. 조각들
  • ASP Ajax Library
  • CSS Tricks
  • WebResourcesDepot
  • jQuery Selectors Tester
  • DeveloperSnippets
  • Smashing Magazine
  • Nettuts+
  • devListing
  • 웹 리소스 사이트(한)
  • Mobile tuts+
  • Dream In Code
  • Developer Tutorials
  • CSS3 Previews
  • 자북
  • 안드로이드 사이드
  • Code Visually
  • Code School
  • SQLer.com
  • 무료 파워포인트 템플릿
  • iconPot
  • Free PowerPoint Templates
  • Design Bombs
  • Web Designer Wall
  • 1st Webdesigner
  • Vandelay Design
  • 무료 벡터 이미지 사이트들
  • Tripwire Magazine
  • Web TrendSet
  • WebMonkey
  • 윤춘근 프리젠테이션 디자이너 블로그
  • cz.cc 무료 DNS
  • [웹하드] MediaFire
  • [웹하드] DivShare
  • 한컴 인터넷 오피스
TAG
  • iphone
  • centos
  • javascript
  • CSS
  • API
  • IE
  • Debug
  • nginx
  • JSON
  • macos
  • Android
  • laravel
  • Wordpress
  • JQuery
  • nodejs
  • 워드프레스
  • Mac
  • sencha touch
  • Linux
  • Docker
  • IOS
  • 안드로이드
  • 한글
  • mssql
  • PHP
  • ASP
  • iis
  • Prototype
  • classic asp
  • git
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바