Comments (12)
Did you install via npm?
npm install aerospike
from aerospike-client-nodejs.
I did, that's how I got the above output
BTW, I tried this on both my mac and centos 6.4 box, same output
from aerospike-client-nodejs.
Try the following, then send me the full output:
cd node_modules/aerospike
rm -rf aerospike-client-c
node-gyp clean rebuild
from aerospike-client-nodejs.
After hitting that error, my node_modules folder is empty
from aerospike-client-nodejs.
There should be additional lines before those you had sent. Can you send the entire output?
from aerospike-client-nodejs.
npm http GET https://registry.npmjs.org/aerospike
npm http 200 https://registry.npmjs.org/aerospike
npm http GET https://registry.npmjs.org/aerospike/-/aerospike-1.0.3.tgz
npm http 200 https://registry.npmjs.org/aerospike/-/aerospike-1.0.3.tgz
> [email protected] install /Users/test_user/aerospike-test/node_modules/aerospike
> node-gyp rebuild
ACTION binding_gyp_aerospike_client_c_target_run_scripts_aerospike_client_c_sh aerospike-client-c/lib/libaerospike.a
info: fetching 'http://www.aerospike.com/latest.php?package=client-c&os=mac'
info: downloading 'http://www.aerospike.com/latest.php?package=client-c&os=mac' to '/Users/test_user/aerospike-test/node_modules/aerospike/aerospike-client-c/package/aerospike-client-c.tgz'
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
info: extracting '' from 'aerospike-client-c.tgz'
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
info: extracting files from ''
Error opening xar archive: aerospike-client-c-devel-*.pkg
cat: Payload: No such file or directory
gunzip: (stdin): unexpected end of file
0 blocks
rm: Bom: No such file or directory
rm: PackageInfo: No such file or directory
rm: Payload: No such file or directory
CHECK
[✗] /Users/test_user/aerospike-test/node_modules/aerospike/aerospike-client-c/package/usr/local/lib/libaerospike.a
[✗] /Users/test_user/aerospike-test/node_modules/aerospike/aerospike-client-c/package/usr/local/include/aerospike/aerospike.h
error: It appears as though one or more files cannot be found.
error:
error: You can either:
error:
error: a. Re-run with 'DOWNLOAD=1'
error:
error: $ DOWNLOAD=1 npm install
error:
error: b. Set the 'PREFIX' variable to the path containing the files
error:
error: $ PREFIX=/usr npm install
error:
error: c. Download and install the the Aerospike C Client development package,
error: then retry the command.
error:
make: *** [aerospike-client-c/lib/libaerospike.a] 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:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 13.1.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/test_user/aerospike-test/node_modules/aerospike
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
from aerospike-client-nodejs.
Looks like the URL used is to download the package is invalid for some reason.
I will try to look into why.
from aerospike-client-nodejs.
I could not find anything wrong the scripts.
I am curious whether the issue is due to the website, where the packages are downloaded from.
Where are you located?
Are you able to view: http://www.aerospike.com
Or download: http://www.aerospike.com/client_downloads/c/3.0.55/aerospike-client-c-3.0.55.mac.tgz
from aerospike-client-nodejs.
I am located in California, so I don't think that's the issue.
I was only able to solve the problem once I manually downloaded and installed the C client (dev version) and also set the PATH=/usr
I brought up this issue because I felt the purpose of npm install was to work in 1 line, but if nobody else experiences this issue then its not a problem. I figured you wouldn't have run into this because you probably have the C client installed globally
from aerospike-client-nodejs.
I am glad you resolved the issue. It is intended to be simple. We have not run in to this problem before. I actually do not have the C client installed globally and tend to bring up a new vagrant box for testing.
I had tried it on a few computers, without a problem. So I was concerned with the issue, and was worried it maybe a website issue, due to it appearing you weren't able to download the C client.
from aerospike-client-nodejs.
Same issue with the PHP driver. Maybe there is a way to add the installation to composer.phar?
from aerospike-client-nodejs.
Please open issue on https://github.com/aerospike/aerospike-client-php and additional detail on installation issues. Thanks.
from aerospike-client-nodejs.
Related Issues (20)
- Docs: Broken "Client" doumentation HOT 1
- Version 5.1.1 breaks using Docker HOT 1
- Can't launch the library on macOS. HOT 3
- Error: Running aerospike client on Arm64(aarch) on MacOS HOT 7
- What is the latest version of Aerospike goes with Ubuntu 18.04 HOT 2
- error TS2304: Cannot find name 'Class' HOT 12
- Does aerospike-client-nodejs need python on runtime as well? HOT 1
- I cant install on windows 10 HOT 2
- Issue with using client.operate with policy exists: AS.policy.exists.CREATE HOT 1
- Serialized and blocking connection
- Unable to install aerospike with nexus3 HOT 16
- Unable to install v5.9.0 with yarn, published version requires "npm-run-all" HOT 3
- System's openssl version since static linking in v5.6.0 HOT 4
- Missing 'bool/AS_EXP_TYPE_BOOL' in exp bin type HOT 2
- Unable to use pnpm package manager because of preinstall script of the package HOT 2
- Client.close(true) does not release underlying event loop HOT 2
- Segmentation fault with secondary index query HOT 12
- Typescript build fails HOT 1
- Segmentation fault crash core dump with 5.11.0 HOT 3
- Can't install with node 22 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerospike-client-nodejs.