-
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
Error when installing(?) and crash upon importing #4625
Comments
There is underlying issue with windows , you need to manually copy files from |
Still the same issue.
Any other ideas? |
can you delete tensorflow.dll in deps\lib and try again |
Tried the following with the same results:
|
I guess this is something to do with electron app , can you please check a similar issue here #2640 , thank you |
Thanks! I managed to make it work with he info in the issue you linked. After some research, I found out that the node version used to install the node packages (such as tfjs) should be the exact one bundled with electron. Mainly because of the napi version. Thanks again @rthadur! |
I am having getting the same error described in this post, only that I am not using electron. |
@Diabl0269 The deps folder of the package is located at |
Thanks. In my case I haven't been able to install the package so I guess this a different issue, which I already asked about in a new thread. |
System information
Describe the problem
While installing tfjs-node, I get an weird message, which I'm not sure is an error.
When importing thee library I get a crashing error, as seen below.
Provide the exact sequence of commands / steps that you executed before running into the problem
Installing:
I find the line
symlink ./lib/napi-v7 failed: null
really weird. Maybe the root of the error below is here, however I could not find any info regarding this message.Importing:
Any other info / logs
importing error:
In case I try the fix suggested in the error message, I still get the same weird message
symlink ./lib/napi-v7 failed: null
while the importing error persists:I am new to javascript and node, so please tell me if you need any other info.
The text was updated successfully, but these errors were encountered: