Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Doesn't work in webpack 5 #38

Open
soanvig opened this issue Nov 21, 2020 · 1 comment
Open

Doesn't work in webpack 5 #38

soanvig opened this issue Nov 21, 2020 · 1 comment
Assignees
Labels

Comments

@soanvig
Copy link

soanvig commented Nov 21, 2020

Hello. Library doesn't work with webpack 5. Even after changing node parameter to resolve.fallback, as stated in migration docs,
the library doesn't work because:

ERROR in ./node_modules/verror/node_modules/extsprintf/lib/extsprintf.js 6:15-30
 Module not found: Error: Can't resolve 'util' in '/app/node_modules/verror/node_modules/extsprintf/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.

And many similar errors.

It seems, that rx-http-requests has a lot of dependencies to node

@akanass
Copy link
Owner

akanass commented Nov 21, 2020

Hi,

I think you have just to follow what is written in the README here

With that I have no problem to build with webpack in many projects in production.

@akanass akanass self-assigned this Nov 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants