what3words / w3w-node-wrapper

Node wrapper for the What3Words API
https://docs.what3words.com/api/v3/
MIT License
45 stars 10 forks source link

How to resolve Polyfill issue with @what3words/api #40

Closed VashJuan closed 2 years ago

VashJuan commented 2 years ago

Using latest of Angular/etc. I get:

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:

I'm trying to figure out WHERE to add these lines, but figure you might know?!

Thx.

VashJuan commented 2 years ago

More at https://github.com/angular/angular-cli/issues/20819, but I'm still wandering in unfamiliar land for me...

c5haw commented 2 years ago

@VashJuan Hi, I'm not entirely following the issue you've reported here. Could you please provide more detail and any code snippets to reproduce please?

VashJuan commented 2 years ago

Sorry I didn't leave you with much did I? I'll be retrying in the next week and will provide more details (& not under my previous deadline) to clarify.

c5haw commented 2 years ago

Closing due to lack of detail to troubleshoot and action.