You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading webpack to version 5.89.0 I started getting this error:
ERROR in ../../vendor/laravel/nova/resources/js/mixins/PreventsFormAbandonment.js 8:0-45
Module not found: Error: Can't resolve '@inertiajs/inertia' in '/Users/my_user/my_website/vendor/laravel/nova/resources/js/mixins'
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".wasm",".mjs",".js",".jsx",".json",".vue",".*"]' instead of '["*",".wasm",".mjs",".js",".jsx",".json",".vue",".*"]'?
npm list --depth=0
)node -v
): v18.19.0npm -v
): 10.2.3Description:
After upgrading webpack to version
5.89.0
I started getting this error:The issue seems to be in the file src/builder/webpack-default.js#L32, the extensions configuration expects them to have a leading dot:
This seems to be a check that webpack added some time ago: webpack/webpack#16807
Steps To Reproduce:
npm run dev
The text was updated successfully, but these errors were encountered: