Skip to content
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

Doesnt Work With Nativescript 8+ #633

Open
shivampednekar-baxture opened this issue Nov 2, 2021 · 6 comments
Open

Doesnt Work With Nativescript 8+ #633

shivampednekar-baxture opened this issue Nov 2, 2021 · 6 comments

Comments

@shivampednekar-baxture
Copy link

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 }

@basickarl
Copy link

Getting the same issue!

@Leonidas-from-XIV
Copy link
Owner

Leonidas-from-XIV commented Dec 21, 2021 via email

@basickarl
Copy link

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

@Leonidas-from-XIV
Copy link
Owner

Leonidas-from-XIV commented Dec 21, 2021 via email

@qwiz1
Copy link

qwiz1 commented Jan 5, 2022

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?

@a2937
Copy link

a2937 commented Oct 13, 2024

About NativeScript, it let's you write IOS and Android code using Javascript.

https://docs.nativescript.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants