※Phantom.jsを事前にインストールしておいてください。 インストール時にエラーが出た場合 筆者のWindows 7環境でインストールしたところ、下記のエラーが発生しました。 C:\Users\**>npm install nightmare | > weak@0.3.3 install C:\Users\**\node_modules\nightmare\node_modules\phantom\node_modules\dnode\node_modules\weak > node-gyp rebuild C:\Users\**\node_modules\nightmare\node_modules\phantom\node_modules\dnode\node_modules\weak>node "C:\Program Fil es\nodejs\node_modules\npm