Нпм ERR! установка пакетов npm для запуска только для браузера Solidity IDE и среды выполнения

Я пытаюсь запустить Remix Solidity Browser на локальном хосте.

Я следую инструкциям по установке в автономном режиме здесь: https://github.com/ethereum/browser-solidity

Мой бег Mac с версией узла v8.9.3

Когда я бегу

npm install

Я получаю следующее npm ERR!

Нажмите для скриншота терминала

и вот файл журнала:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'run',
1 verbose cli   'prepublish' ]
2 info using npm@5.5.1
3 info using node@v8.9.3
4 verbose run-script [ 'prepublish' ]
5 info lifecycle browser-solidity@0.0.0~prepublish: browser-solidity@0.0.0
6 verbose lifecycle browser-solidity@0.0.0~prepublish: unsafe-perm in lifecycle true
7 verbose lifecycle browser-solidity@0.0.0~prepublish: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/thomasmiller/projects/browser-solidity/node_modules/.bin:/Users/thomasmiller/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
8 verbose lifecycle browser-solidity@0.0.0~prepublish: CWD: /Users/thomasmiller/projects/browser-solidity
9 silly lifecycle browser-solidity@0.0.0~prepublish: Args: [ '-c', 'mkdirp build; npm-run-all -ls downloadsolc build' ]
10 silly lifecycle browser-solidity@0.0.0~prepublish: Returned: code: 1  signal: null
11 info lifecycle browser-solidity@0.0.0~prepublish: Failed to exec prepublish script
12 verbose stack Error: browser-solidity@0.0.0 prepublish: `mkdirp build; npm-run-all -ls downloadsolc build`
12 verbose stack Exit status 1
12 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
12 verbose stack     at emitTwo (events.js:126:13)
12 verbose stack     at EventEmitter.emit (events.js:214:7)
12 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
12 verbose stack     at emitTwo (events.js:126:13)
12 verbose stack     at ChildProcess.emit (events.js:214:7)
12 verbose stack     at maybeClose (internal/child_process.js:925:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
13 verbose pkgid browser-solidity@0.0.0
14 verbose cwd /Users/thomasmiller/projects/browser-solidity
15 verbose Darwin 16.7.0
16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "prepublish"
17 verbose node v8.9.3
18 verbose npm  v5.5.1
19 error code ELIFECYCLE
20 error errno 1
21 error browser-solidity@0.0.0 prepublish: `mkdirp build; npm-run-all -ls downloadsolc build`
21 error Exit status 1
22 error Failed at the browser-solidity@0.0.0 prepublish script.
22 error This is probably not a problem with npm. There is likely additional logging output above.
23 verbose exit [ 1, true ]

Что я делаю неправильно?

0 ответов

Другие вопросы по тегам