-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Unable to install @tensorflow/tfjs-node #911
Comments
Thanks for the report - couple of things to look at: 1.) Can you post: C:\Users\jcruz\AppData\Roaming\npm-cache_logs\2018-11-15T01_16_06_967Z-debug.log 2.) It looks like NPM is using your global version of node-gyp - can we check the version ? Looking at this line:
Also this might help - nodejs/node-gyp#119 (comment) Let me know and I can add that to our README |
@nkreeger here is the information you requested: 1.) 2018-11-15T01_16_06_967Z-debug.log 2.) Looks like I'm running version 3.8.0 of node-gyp
I'll take a look at node-gyp issue 119 that you mentioned and see if there's anything there that will help fix my problem. Thanks for giving me some direction! |
@nkreeger, I took a look at nodejs/node-gyp#119 (comment) and I think that solved my problem. Though when I first tried to install the windows-build-tools package, I got an error because I didn't run from an elevated Command Prompt. But when I opened a Command Prompt that had administrative privileges, the install went smoothly, albeit slowly (took about 5 minutes). First I installed windows-build-tools: C:\Users\jcruz\Documents\nodejs\demo>npm install --production windows-build-tools
Then I installed @tensorflow/tfjs-node: C:\Users\jcruz\Documents\nodejs\demo>npm install @tensorflow/tfjs-node
Aside from some warnings, looks like I was finally able to install @tensorflow/tfjs-node! Thanks much @nkreeger for the help! |
Not working. I tried all the steps above and still get the same error. |
Hi @ttfreeman Is your error similar to this |
@kangyizhang, I have bit different error gyp ERR! stack Error: |
@kangyizhang, the complete log attached: |
hi @nightBaker can you run |
My issue is resolved by following the steps posted by user 'refack' in the following thread: nodejs/node-gyp#1144 |
I am unable to install @tensorflow/tfjs-node.
I'd appreciate it if someone can shed some light and let me know what I'm missing.
I'm running the following:
C:\Users\jcruz\Documents\nodejs\demo>node -v
C:\Users\jcruz\Documents\nodejs\demo>npm --v
C:\Users\jcruz\Documents\nodejs\demo>python
C:\Users\jcruz\Documents\nodejs\demo>npm install @tensorflow/tfjs-node
The text was updated successfully, but these errors were encountered: