Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

281
Vistas
Webpack polyFill - Cannot read property 'signals' of undefined

I´m currently trying to make the lib youtube-dl-exec work in my electron application. The problem here is that it's not intended to run in the browser!

From what I learned since I tried to solve this issue is that Webpack 5 does no longer provide auto-polyfill, which might be part of the issue I´m facing. To overcome this situation I already tried many solutions I´ve found, but for now they only reduced the list of errors.

My Setup

  • Electron (latest version) (electron-react-boilerplate)
  • Webpack 5
  • Typescript

What I did so far?

Installed this plugin: node-polyfill-webpack

added in my webpack.config.base.js:

   resolve: {
    extensions: ['.js', '.jsx', '.json', '.ts', '.tsx'],
    modules: [webpackPaths.srcPath, 'node_modules'],
    fallback: {
      "fs": false, //added to fix issue
      "child_process": false, //added to fix issue
    }
  },

  plugins: [
    new NodePolyfillPlugin(), //added to fix issue
    new webpack.EnvironmentPlugin({
      NODE_ENV: 'production',
    }),
  ],
};

This reduce the error from a lot to two errors:

Error

I already searched a lot but haven't found anything that could help me. I´m aware of a possible duplicate, but this Question is in my opinion poorly asked and not answered yet.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda