Summer Sale! All accounts are 50% off this week.

robdesilets's avatar

Error: Cannot find module '@babel/plugin-syntax-dynamic-import'

Hi All,

I am still using web pack and try to keep my code up to date. Today when I did "nom outdated" I saw this:

@babel/core 7.29.7 7.29.7 8.0.1 node_modules/@babel/core application @babel/preset-env 7.29.7 7.29.7 8.0.2 node_modules/@babel/preset-env application

So I upgraded to 8.0.1.

However, after doing this I am now getting:

[webpack-cli] Error: Cannot find module '@babel/plugin-syntax-dynamic-import'

When I run "npm run dev" or "rpm run prod".

I have my own branch of laravel mix repo (as I made other small changes over time) and I was wondering if someone could tell me what to change/remove to get rid of this error so it will compile.

Thanks!

-Rob

0 likes
0 replies

Please or to participate in this conversation.