hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.14k stars 394 forks source link

Module Parse Failed #334

Closed DhruvDange closed 1 year ago

DhruvDange commented 1 year ago

I am installing Tailwindcss and am getting an error. Could you tell me how to fix this?

./node_modules/mind-ar/dist/controller.03a2d8ae.js 73127:96
Module parse failed: Unexpected token (73127:96)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|           u(f);
|         } else {
>           const d = new Worker(new URL("" + new URL("assets/compiler.worker.a69dc9d5.js", import.meta.url).href, self.location));
|           d.onmessage = p => {
|             p.data.type === "progress" ? e(50 + p.data.percent) : p.data.type === "compileDone" && u(p.data.list);
DhruvDange commented 1 year ago

Was an issue with React-icons and AFrame

fakhrulraharjo commented 1 year ago

hello i know it was closed, but can u tell me ur solution for this problem?