Replies: 4 comments 6 replies
-
I got the same issue after "npm install danfojs" and "npm run dev"... |
Beta Was this translation helpful? Give feedback.
-
Hi, I had the same error. I figured out that the file that is referenced in the Interestingly the files are generated when I ran the following commands: git clone https://github.com/javascriptdata/danfojs/
cd danfojs
yarn run install
cd src/danfojs-browser
yarn build The last command invokes all other build commands and generates the expected file. Since I also didn't find any hint on how danfojs is released I'm not able to help with any kind of PR or something else (for now at least) Update: I found a workaround for now (also in a vite + typescript setup):
import * as danfojs from "danfojs";
declare global {
const dfd: typeof danfojs;
}
This also has the little advantage that the CDN version can be loaded very fast since browser will manage the caching (danfojs browser bundle is roughly ~6MB) |
Beta Was this translation helpful? Give feedback.
-
I also had this issue and though not ideal, downgrading from |
Beta Was this translation helpful? Give feedback.
-
Fixed in latest release 1.2.0 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, guys!
I'm trying to use Danfojs+Vite+Vue3 but I have the import problem.
Screenshot with full text in attachments.
Please tell me how could I resolve the problem?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions