デスクトップ ノード シェルでヘッドレス ブラウザを使用しようとすると、「モジュール バージョンの不一致エラー」が発生します。nw.js と atom-shell の両方で Zombiejs と Phantomjs を試しました。どちらの場合も、ヘッドレス ブラウザが起動するとすぐに、モジュールの不一致エラーでアプリケーションがクラッシュします。
Phantomjs と atom-shell のエラーは次のとおりです。
Uncaught Exception:
Error: Module version mismatch. Expected 41, got 14.
at Error (native)
at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:118:20)
at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:118:20)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at bindings (/Users/Ajay/Projects/atom-shell/node_modules/phantom/node_modules/dnode/node_modules/weak/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/Users/Ajay/Projects/atom-shell/node_modules/phantom/node_modules/dnode/node_modules/weak/lib/weak.js:7:35)
at Module._compile (module.js:475:26)
エラーの原因は何ですか?