Error when running
npm run dev --rtl --demo1
for rtl in laravel demo1
[webpack-cli] TypeError: compiler.plugin is not a function
at WebpackRTLPlugin.apply (/Users/......./node_modules/webpack-rtl-plugin/dist/index.js:38:12)
at createCompiler (/Users/......./node_modules/webpack/lib/webpack.js:73:12)
at create (/Users/......./node_modules/webpack/lib/webpack.js:134:16)
at webpack (/Users/......./node_modules/webpack/lib/webpack.js:142:47)
at WebpackCLI.f [as webpack] (/Users/......./node_modules/webpack/lib/index.js:63:16)
at WebpackCLI.createCompiler (/Users/......./node_modules/webpack-cli/lib/webpack-cli.js:2193:23)
at async WebpackCLI.runWebpack (/Users/......./node_modules/webpack-cli/lib/webpack-cli.js:2323:16)
at async Command.<anonymous> (/Users/......./node_modules/webpack-cli/lib/webpack-cli.js:1060:13)
at async Promise.all (index 1)
at async Command.<anonymous>
Hi Moha,
Could you please try to remove the node_modules folder and package-lock.json file, then retry with the "npm install".
Thanks