[[JavaScript]]

* node.js [#v27c9d6c]

#contents

** Lionの下準備 [#m0ecad22]
+ xcodeのinstall ~
appstoreから
+ macportsのinstall ~
http://www.macports.org/install.php

** node.js [#rfb1a597]
 wget http://nodejs.org/dist/node-latest.tar.gz
 dekuyou-no-MacBook-Air:~ dekuyou$ sudo port selfupdate
 Warning: xcodebuild exists but failed to execute
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.0.4 installed,
 MacPorts base version 2.0.4 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version
 
 The ports tree has been updated. To upgrade your installed ports, you should run
   port upgrade outdated

 tar zxvf node-latest.tar.gz
あれ?
 dekuyou-no-MacBook-Air:~ dekuyou$ sudo port install nodejs
 Warning: xcodebuild exists but failed to execute
 Warning: Xcode does not appear to be installed; most ports will likely fail to build.
 --->  Computing dependencies for nodejsError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
 To report a bug, see <http://guide.macports.org/#project.tickets>
 dekuyou-no-MacBook-Air:~ dekuyou$ 

 cd node-v0.6.12

 ./configure
 >'configure' finished successfully (5.360s)
 make
 >'build' finished successfully (8m23.748s)
 sudo make install
 >'install' finished successfully (3.423s)



 node -v
 >v0.6.12



** eclipse [#g667361b]
Eclipse IDE for JavaScript Web Developers | Eclipse Packages
- http://www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/indigosr2

plug-in 
- http://code.google.com/p/chromedevtools/wiki/HowToInstall

**heroku [#qbfebaae]
node.js websocket が利用できる?
http://www.heroku.com/


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS