Open febilyt opened 1 year ago
Facing the same issue!
Same problem here.
Node version: 18.14.2 Npm version: 9.5.0
So, I installed the client-side danfojs but I received an error when I tried read excel file.
ReferenceError ReferenceError: File is not defined
I had the similar problem, but it was resolved. As a result of the following
Download and install nodejs; the nodejs installation will prompt you to install other tools. Check and continue with the installation.
The nodejs installation will include Visual Studio Build Tools, as well as Python and other tools.
Create an environment variable called "VCINSTALLDIR" and then navigate to the Visual Studio Build Tools directory.
Open powershell/CMD, then run npm config set msvs_version 2017
.Change the 2017
to the version installed on your platform. Follow this guide for further information.
Because the precompiled binary 3.21.1
is currently not available for Windows, I overrode the danfojs-node tensorflow node dependency down to 3.18.0
since a precompiled build for Windows is available at 3.18.0
.
package.json
{ "name": "dfd", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "danfojs-node": "1.1.2" }, "overrides": { "danfojs-node": { "@tensorflow/tfjs-node": "~3.18.0" } } }
note: The package.json overrides field was added in npm >8.3.0.
Mine is:
Describe the bug Unable to install danfojs-node
To Reproduce
npm install danfojs-node
Expected behavior successful install
Desktop (please complete the following information):
Command output Failed to install danfojs-node
Able to install @tensorflow/tfjs independently