Skip to content

install报错 #12

@DKFish

Description

@DKFish

mac:在根目录下直接install失败
nodejs: v10.15.3
npm:v10.15.3
=====npm install 日志==============
14025 silly saveTree ├── options@0.0.6
14025 silly saveTree └── ultron@1.0.2
14026 verbose stack Error: electron@1.8.8 postinstall: node install.js
14026 verbose stack Exit status 1
14026 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
14026 verbose stack at EventEmitter.emit (events.js:189:13)
14026 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
14026 verbose stack at ChildProcess.emit (events.js:189:13)
14026 verbose stack at maybeClose (internal/child_process.js:970:16)
14026 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14027 verbose pkgid electron@1.8.8
14028 verbose cwd /Users/finup/Desktop/work/dev/electron-anyproxy
14029 verbose Darwin 18.7.0
14030 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
14031 verbose node v10.15.3
14032 verbose npm v6.11.2
14033 error code ELIFECYCLE
14034 error errno 1
14035 error electron@1.8.8 postinstall: node install.js
14035 error Exit status 1
14036 error Failed at the electron@1.8.8 postinstall script.
14036 error This is probably not a problem with npm. There is likely additional logging output above.
14037 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions