Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wechaty-puppet can not install in electron #1851

Closed
xiaocode opened this issue Sep 10, 2019 · 0 comments
Closed

wechaty-puppet can not install in electron #1851

xiaocode opened this issue Sep 10, 2019 · 0 comments

Comments

@xiaocode
Copy link

When I use command: sudo yarn add wechaty-puppet-macpro@next,
It shows:

/Users/apple/.electron-gyp/6.0.0/include/node/v8.h:2726:3: note: 'WriteUtf8' has been explicitly marked deprecated here
  V8_DEPRECATED("Use Isolate* version",
  ^
/Users/apple/.electron-gyp/6.0.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated(message)))
                            ^
41 warnings and 4 errors generated.
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/apple/frontend/quant-electron-new/node_modules/nosql-leveldb
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
error Command failed with exit code 1.

                command=/usr/local/bin/node /usr/local/lib/node_modules/yarn/bin/yarn.js run install
                workingDir=/Users/apple/frontend/quant-electron-new/node_modules/nosql-leveldb

error Command failed with exit code 1.

@huan huan closed this as completed Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants