블로그 이미지
윤영식
Full Stacker, Application Architecter, KnowHow Dispenser and Bike Rider

Publication

Category

Recent Post

2013. 3. 12. 17:41 카테고리 없음

Sublime Text 2에서 Node.js 수행을 위한 Path 설정하기 


1) 설정 

  - Ctrl + Shift + P => "Nodejs::Default File Settings" 검색하여 환경파일 오픈 (Node.js.sublime-settings)

// 기본 설정 내역

{

  // save before running commands

  "save_first": true,

  // if present, use this command instead of plain "node"

  // e.g. "/usr/bin/node" or "C:\bin\node.exe"

  "node_command": false,

  // Same for NPM command

  "npm_command": false,


  "expert_mode": false,


  "ouput_to_new_tab": false

}


// 변경 설정 내역 

{

  // save before running commands

  "save_first": true,

  // if present, use this command instead of plain "node"

  // e.g. "/usr/bin/node" or "C:\bin\node.exe"

  "node_command": "/usr/local/bin/node",

  // Same for NPM command

  "npm_command": false,


  "expert_mode": false,


  "ouput_to_new_tab": false

}


2) 실행

  - Ctrl + R 



<참조> 

  - 원문 http://stackoverflow.com/questions/12124544/can-not-run-node-app-with-nodejs-sublime-plugin

posted by 윤영식