You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using webpack to bundle my scripts and I get the following warning/errors:
Module build failed: Module not found:
"./node_modules/essentia.js/dist/essentia-wasm.es.js" contains a reference to the file "crypto".
This file can not be found, please check it for typos or update it if the file got moved.
ERROR Failed to compile with 2 errors 12:06:27
Module build failed: Module not found:
"./node_modules/essentia.js/dist/essentia-wasm.es.js" contains a reference to the file "path".
This file can not be found, please check it for typos or update it if the file got moved.
"./node_modules/essentia.js/dist/essentia-wasm.es.js" contains a reference to the file "fs".
This file can not be found, please check it for typos or update it if the file got moved.
Is there anything I can do to prevent such an error? Note: The script is working however.
After some more research I found a solution(?). The errors are caused by the WASM integration and the configuration of the following experiments in my webpack.config.js:
What is the issue about?
What part(s) of Essentia.js is involved?
Description
I'm using webpack to bundle my scripts and I get the following warning/errors:
Is there anything I can do to prevent such an error? Note: The script is working however.
Steps to reproduce / Code snippets / Screenshots
Small sample script:
System info
The text was updated successfully, but these errors were encountered: