Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.84k stars 598 forks source link

Doesnt Work With Nativescript 8+ #633

Open shivampednekar-baxture opened 2 years ago

shivampednekar-baxture commented 2 years ago

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:

basickarl commented 2 years ago

Getting the same issue!

Leonidas-from-XIV commented 2 years ago

I don't know what NativeScript is but looking at the error message it looks like it explains how to fix the problem?

basickarl commented 2 years ago

Yea I was able to resolve my issue by changing to another library in the end!

Leonidas-from-XIV commented 2 years ago

That's an extreme measure but if that works for you...

qwiz1 commented 2 years ago

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?