Closed berryywise closed 2 years ago
Can you post the stack trace of the error? Anyway, the library can't be used in the browser. See https://github.com/MONEI/Shopify-api-node/issues/409#issuecomment-679107964.
Can you post the stack trace of the error? Anyway, the library can't be used in the browser. See #409 (comment).
Okay that makes complete sense, I did not know it! Thank you!
Hey guys. I'm getting this error when bundling my code. I can't seem to find out what causes the issue.
Importing the package -> bundling already gives this error.
so with only : import Shopify from "shopify-api-node"; as code it gives the error.
Everything works fine in VScode though when I run my code, just when its bundled and I try it out on the browser it crashes..
I already tried using the ES5 require syntax as in the readme, but this also did not work.