EdgeImpulse WebAssembly on NextJS

Question/Issue: Is there a way to use the files from the folder that auto downloads when building a WebAssembly model on NextJS?

When I try to import the edge-impulse-standalone.js file, NextJS throws an error saying Module not found: Can't resolve 'fs'

Hello @ElectricDragon,

This seems more a NextJS issue. You can try this solution to see if it fixes it:

Regards,

Louis

@louis I am sorry but it did not fix my issue. Is there an alternative way to run the WebAssembly model in a browser environment? I referred to this Keyword detection on the web with WebAssembly - #2 by janjongboom, but I was not sure how to move ahead with the code.