-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while importing WooCommerceRestApi in js file #115
Comments
Same issue here |
Where are you deploying the library? front or backend? |
more issue with wordpress/scripts ERROR in ./node_modules/cipher-base/index.js 2:16-43 BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. If you want to include a polyfill, you need to: |
Same issue, did you found some solution? |
Hey all, Ok I've found some solution ( it works on my side with bud.js ) install stream and stream-browserify
and define global in your build tools
|
Hi,
i just install the library with: npm i @woocommerce/woocommerce-rest-api
Then I imported the module as the specifications: import WooCommerceRestApi from "@woocommerce/woocommerce-rest-api";
But there is a typeError:
Any idea?
Thank you very much!
The text was updated successfully, but these errors were encountered: