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

Undefined variable tensorflow-library-target in binding.gyp #8262

Open
Yveltalio opened this issue Apr 29, 2024 · 2 comments
Open

Undefined variable tensorflow-library-target in binding.gyp #8262

Yveltalio opened this issue Apr 29, 2024 · 2 comments

Comments

@Yveltalio
Copy link

Hello,

I encountered some problems during the installation of the TensorFlow package (2 moderate severity vulnerabilities). When I tried to run this command to fix the problem:

 npm audit fix --force

It gave me this error: "Undefined variable tensorflow-library-target in binding.gyp while trying to load binding.gyp."

This installation problem prevents me from running my code.

Could you please assist me in resolving this issue?

Thank you.

@Yveltalio Yveltalio added the type:bug Something isn't working label Apr 29, 2024
@gaikwadrahul8 gaikwadrahul8 self-assigned this May 7, 2024
@gaikwadrahul8
Copy link
Contributor

gaikwadrahul8 commented May 7, 2024

Hi, @Yveltalio

I apologize for the delay in responding. To assist you further with the Undefined variable tensorflow-library-target in binding.gyp error, could you please provide the following details:

  • The specific steps you were following immediately before encountering the error. This will help us reproduce the issue on our end.
  • Confirmation on whether you attempted to resolve the issue by completely removing the current installation of @tensorflow/tfjs or @tensorflow/tfjs-node using npm uninstall @tensorflow/tfjs or npm uninstall @tensorflow/tfjs-node, respectively.
  • If you did uninstall, did you then reinstall them using npm install @tensorflow/tfjs or npm install @tensorflow/tfjs-node with the --force flag to ensure a clean installation?

For further troubleshooting, please share the following system information:

  • Operating System you are using
  • Versions of npm and node (you can obtain these details using the commands npm -v and node -v in your terminal)
  • The specific version of @tensorflow/tfjs or @tensorflow/tfjs-node you have installed
  • The version of Python installed on your system

Providing this information will allow us to diagnose the issue more effectively and provide further assistance.

Thank you for your cooperation and patience.

Copy link

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants