webpack < 5 used to include polyfills for node.js on socket.io ionic angular

Viewed 24

I was implementing the socket.io in my ionic application using angular, at the time of putting the server to work, I get these problems with the socket.io and webpack modules, I was looking at other questions of StackOverflow, GitHub, and the answers that worked to the others but it did not work for me, and I try to downgrade the webpack to version 4.46 and installing the following modules

npm install path-browserify

npm install node-polyfill-webpack-plugin

npm i --save-dev crypto-browserify

error in app

error in webpack 4.46

[webpack54

enter image description here

0 Answers
Related