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'd like to user this code inside my react app, i've downloaded the library using npm (npm install --save wasm-imagemagick) as stated in the guide, then i've copied the file from node_modules to the public folder, as stated in the guide.
But when i start the application i get this error: Uncaught SyntaxError: Cannot use import statement outside a module im using snowpack, then i've tried to clone the example code you have hosted on codesandbox, but still, when installing the components and run the app, i get this error,
How can i solve?
The text was updated successfully, but these errors were encountered:
Hi,
I'd like to user this code inside my react app, i've downloaded the library using
npm
(npm install --save wasm-imagemagick
) as stated in the guide, then i've copied the file fromnode_modules
to the public folder, as stated in the guide.But when i start the application i get this error:
Uncaught SyntaxError: Cannot use import statement outside a module
im using snowpack, then i've tried to clone the example code you have hosted on codesandbox, but still, when installing the components and run the app, i get this error,
How can i solve?
The text was updated successfully, but these errors were encountered: