-
Notifications
You must be signed in to change notification settings - Fork 31
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
Issue installing gcloud using command "npm install --save gcloud" #39
Comments
@paryasomayajulu Can you please try cloning the sse4_crc32 repo, building it ( Also, what platform are you running on? |
The relevant part is the
You need Python 2.7 and Visual Studio 2013 (or 2015?) installed to build native addons on Windows. |
You say in googleapis/google-cloud-node#817 that "Python thing is that i regularly get and i am ignoring it since past.". If you ignored it in the past without consequence, it was probably because a native addon was optional. I'm guessing sse4_crc32 is not optional for gcloud-node, so you need Python and VS2013. |
I'd second @ivan's advice. If you have in fact never built any native addons in the past, then that might explain how you got through without any issues. SSE4_CRC32 uses node-gyp to build the native add-on and requires python to be installed. |
Is there a way to fallback to software based implementation if the hardware based can't be built? |
@gkorland The software is designed to use the best possible implementation that works. So it should, at runtime, pick the best variant (H/w or S/w). |
@anandsuresh the problem is that I'm trying to deploy the app on a PaaS that doesn't allow the build process to run. |
That might be hard. Not sure how you'd plan on installing the module without building it! :( Perhaps if you could give me more information, I might be able to make some suggestions. |
It's pretty simple I'm using gcloud which in turn uses ss4_crc32. |
So the issue here is that both the hardware and software implementations are in C and need to be compiled to be used. Perhaps you can build the component offline and check it into the repository. Not the best way to deal with it, but lacking a build environment, you might need to get creative. |
@paryasomayajulu I'm closing this issue for now. Feel free to reopen it if you are still facing problems. |
This is killing the Google Cloud Storage Node.js Client inside of Windows 10: https://github.com/googleapis/nodejs-storage Per Google Cloud Storage instructions above,
|
HI,
I have an issue installing gcloud package on my machine . I am getting following error. So could you please help me out with this.
F:\Projects\Kiran\Bald-Eagle\mcapi>npm install --save gcloud
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No license field.
F:\Projects\Kiran\Bald-Eagle\mcapi\node_modules\gcloud\node_modules\sse4_crc32>i
f not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\np
else (node rebuild ) ..\node_modules\node-gyp\bin\node-gyp.js" rebuild )
configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod
e_modules\node-gyp\lib\configure.js:114:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node
-gyp\lib\configure.js:69:11
gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.:95:15)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd F:\Projects\Kiran\Bald-Eagle\mcapi\node_modules\gcloud\node_modules
\sse4_crc32
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
\node_modules\npm\bin\npm-cli.js" "install" "--save" "gcloud"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the sse4_crc32 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls sse4_crc32
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! F:\Projects\Kiran\Bald-Eagle\mcapi\npm-debug.log
The text was updated successfully, but these errors were encountered: