Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

npm run dev --rtl --demo1


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>


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi Moha,

Could you please try to remove the node_modules folder and package-lock.json file, then retry with the "npm install".

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(