2015-01-03から1日間の記事一覧

npm install level 時にエラー

$npm install -save level ... ... ... In file included from ../src/batch.cc:5: ../node_modules/nan/nan.h:680:46: error: call to non-static member function without an object argument return NanPersistentToLocal(handle)->Get(NanSymbol("callba…

nodejsでhttpsサーバーを立てる

node.js | HTTPSサーバーの作り方 - 生存戦略型プログラミング node.js | HTTPSサーバーの作り方 - 生存戦略型プログラミングを参考にさせていただいたところ、 Error: error:0906406D:PEM routines:PEM_def_callback:problems getting password at Object.e…

nodejs で leveldb を利用する

コンパイルの方法とかいろいろ探してしまったけど、そんなの必要なかった。。。githubのサンプルコードを動かしてみる。 var levelup = require('levelup') // 1) Create our database, supply location and options. // This will create or open the under…