Skip to content
New issue

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

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

Already on GitHub? # to your account

when I use npm i nosql-leveldb,there some error #5

Open
leochen-g opened this issue Mar 8, 2019 · 3 comments
Open

when I use npm i nosql-leveldb,there some error #5

leochen-g opened this issue Mar 8, 2019 · 3 comments

Comments

@leochen-g
Copy link

platform: Mac 10.12.5

> nosql-leveldb@3.0.1 install /Users/admin/project/wechatPad/node_modules/nosql-leveldb
> prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.15.1 runtime=node arch=x64 platform=darwin)
gyp ERR! configure error 
gyp ERR! stack Error: Command failed: /Users/admin/anaconda3/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                                ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack 
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at maybeClose (internal/child_process.js:970:16)
gyp ERR! stack     at Socket.stream.socket.on (internal/child_process.js:389:11)
gyp ERR! stack     at Socket.emit (events.js:189:13)
gyp ERR! stack     at Pipe._handle.close (net.js:600:12)
gyp ERR! System Darwin 16.6.0
gyp ERR! command "/Users/admin/.nvm/versions/node/v10.15.1/bin/node" "/Users/admin/.nvm/versions/node/v10.15.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/admin/project/wechatPad/node_modules/nosql-leveldb
gyp ERR! node -v v10.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN wechatpad@1.0.0 No description
npm WARN wechatpad@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nosql-leveldb@3.0.1 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the nosql-leveldb@3.0.1 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!     /Users/admin/.npm/_logs/2019-03-08T06_29_02_066Z-debug.log
@leochen-g leochen-g changed the title when I use npm install node-nosql-leveldb,there some error when I use npm i nosql-leveldb,there some error Mar 8, 2019
@snowyu
Copy link
Owner

snowyu commented Mar 8, 2019

It seems that the python vesion error. R u sure used the python2.7?

@mgttt
Copy link

mgttt commented Jul 11, 2019

leveldown.h:82:54: error: no matching function for call to ‘v8::Value::ToString

@snowyu
Copy link
Owner

snowyu commented Jul 12, 2019

@wanjochan report your used node, npm, python version. You should open a new issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants