libsvm icon indicating copy to clipboard operation
libsvm copied to clipboard

DEMO page on the documentation and Error in wasm.js

Open pang-lee opened this issue 2 years ago • 3 comments

  1. Which of the folder is your documentary demo page?? Your Coding is so good that I want to try your demo page on my computer!!

  2. By the way there is an error in wasm.js say that -> [ cannot resolve ‘./out/wasm/libsvm’ ], and In deed there is no out folder in root directory.

Please give me a hand about that two questions, Thanks!!

pang-lee avatar Oct 12 '21 13:10 pang-lee

The project is really outdated and would need to be reworked

  1. Which of the folder is your documentary demo page??

The demo page is generated in the demo-dist folder

2. By the way there is an error in wasm.js say that -> [ cannot resolve ‘./out/wasm/libsvm’ ], and In deed there is no out folder in root directory.

If you run npm run build that folder should be created

stropitek avatar Oct 12 '21 16:10 stropitek

This is the result which I tried to run "npm run build" error, Is there any version of npm & node should I use for this project?? My node version : v14.18.0 My npm version : 6.14.15 My OS: window 10 螢幕擷取畫面 2021-10-13 101915

after modify the command 螢幕擷取畫面 2021-10-13 125428

螢幕擷取畫面 2021-10-13 124255

pang-lee avatar Oct 13 '21 02:10 pang-lee

To make the build work, you'll have to use a unix system and install emscripten

But you probably can just copy files that are published by hand if you don't need to modify the SVM library and only want to play around with the demo website. What exactly do you want to achieve?

stropitek avatar Oct 13 '21 06:10 stropitek