Me esta saliendo este error me puede ayudar: Invalid configuration object. Webpack has been initialised using a configuration object that...

Garcia Gar

Garcia Gar

Pregunta
student
hace 6 años

Me esta saliendo este error me puede ayudar:

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.module.rules[0] has an unknown property ‘exclusive’. These properties are valid:
    object { compiler?, enforce?, exclude?, include?, issuer?, loader?, loaders?, oneOf?, options?, parser?, query?, realResource?, resolve?, resource?, resourceQuery?, rules?, sideEffects?, test?, type?, use? }
    -> A rule
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! platzi-video@1.0.0 build:
    webpack-cli --config webpack.config.js

    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the platzi-video@1.0.0 build script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/elioenai/.npm/_logs/2020-06-01T02_14_01_387Z-debug.log

1 respuestas
    Rubén Padilla

    Rubén Padilla

    student
    hace 6 años

    Es un error en tu archivo de configuración de webpack, en la opción de rules tienes una propiedad desconocida exclusive, puedes compartir ese archivo para ver exactamente dónde está el error?

    Saludos.

Curso de Server Side Render con Express

Curso de Server Side Render con Express

Aumenta la velocidad de carga inicial de tu SPA. Integra y optimiza el SEO de tu sitio web con la lógica de negocio y mejora el posicionamiento de tu marca usando SSR Server Side Rendering. Configura el servidor de PlatziVideo con Express y renderizalo desde el servidor.

Curso de Server Side Render con Express
Curso de Server Side Render con Express

Curso de Server Side Render con Express

Aumenta la velocidad de carga inicial de tu SPA. Integra y optimiza el SEO de tu sitio web con la lógica de negocio y mejora el posicionamiento de tu marca usando SSR Server Side Rendering. Configura el servidor de PlatziVideo con Express y renderizalo desde el servidor.