node-xml2js
node-xml2js copied to clipboard
Doesnt Work With Nativescript 8+
Module not found: Error: Can't resolve 'string_decoder' in '/Users/admin/Desktop/SHivam/mfm-sequential-delegate/seq ver1/mfm/node_modules/sax/lib'
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: { "string_decoder": require.resolve("string_decoder/") }' - install 'string_decoder' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "string_decoder": false }
Getting the same issue!
I don't know what NativeScript is but looking at the error message it looks like it explains how to fix the problem?
Yea I was able to resolve my issue by changing to another library in the end!
That's an extreme measure but if that works for you...
Yea I was able to resolve my issue by changing to another library in the end!
Could you tell what library you used to solve this problem?