79236372

Date: 2024-11-29 08:52:12
Score: 1
Natty:
Report link

What worked for my angular project node version 18.19.1 are these steps: . yarn upgrade --latest . yarn add node-polyfill-webpack-plugin --dev . Do these changes in your webpack.config file:

.  plugins: [ new NodePolyfillPlugin() ]
.  resolve: {
         alias: { 
            "node:http": "http",
             "node:https": "https",
             "node:url": "url",        
          }    
         
}. 

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Aman Negi