Manjaro GNOME 18.0_x86-64でelm-dev-envインストール実行エラー
elm-dev-envのREADME.mdの通りにインストールを実行
してみたら、エラーが発生したので、あとで詳しく調査する
ためにメモしておく(Φω|
[手順]
1. elm-dev-envをgit clone。
% git clone https://github.com/ababup1192/elm-dev-env.git
2. npmコマンドでインストール実行。
% npm i
3. エラー ReferenceError: internalBinding is not defined が発生。
internal/util/inspect.js:31
const types = internalBinding('types');
^ReferenceError: internalBinding is not defined
at internal/util/inspect.js:31:15
at req_ (/home/haiju/workspace/elm-dev-env/node_modules/natives/index.js:137:5)
at require (/home/haiju/workspace/elm-dev-env/node_modules/natives/index.js:110:12)
at util.js:25:21
at req_ (/home/haiju/workspace/elm-dev-env/node_modules/natives/index.js:137:5)
at require (/home/haiju/workspace/elm-dev-env/node_modules/natives/index.js:110:12)
at fs.js:42:21
at req_ (/home/haiju/workspace/elm-dev-env/node_modules/natives/index.js:137:5)
at Object.req [as require] (/home/haiju/workspace/elm-dev-env/node_modules/natives/index.js:54:10)
at Object.<anonymous> (/home/haiju/workspace/elm-dev-env/node_modules/unzip/node_modules/graceful-fs/fs.js:1:99)
npm WARN elm-dev-env@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! elm@0.19.0 install: `binwrap-install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the elm@0.19.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/haiju/.npm/_logs/2019-01-10T05_04_15_930Z-debug.log
※インストール環境のNode.jsとnpmのバージョンは以下。
node v10.15.0
npm v6.4.1
[参考サイト]