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
Hi! I'm recently trying to use TalonOne's Javascript SDK in my React project. After installing it I'm receiving the following Webpack error. I tried to apply these instructions to my webpack.config.js but to no avail.
ERROR in ./node_modules/talon_one/dist/ApiClient.js 8:42-64
Module not found: Error: Can't resolve 'querystring' in '/.../node_modules/talon_one/dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }'
install 'querystring-es3'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "querystring": false }
This is my webpack.config.js (I've follow this repository README's instructions):
Hi! I'm recently trying to use TalonOne's Javascript SDK in my React project. After installing it I'm receiving the following Webpack error. I tried to apply these instructions to my
webpack.config.js
but to no avail.This is my
webpack.config.js
(I've follow this repository README's instructions):These are my
webpack
,talon_one
andquerystring-es3
versions:I haven't found any template to open a new issue so please let me know if there's any. Any help would be appreciated! Thanks.
The text was updated successfully, but these errors were encountered: