-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: Cannot read properties of undefined (reading 'forEach') #496
Comments
There are probably some updates needed for webpack. See #488 . |
npm list webpack showed '[email protected]', I reinstalled it and still not worked, any further suggestion? |
Is it convenient to post a whole smallest project to help me understand and solve the error report? |
@zhangmo8 Sure, thanks a lot. |
It's working normally. Make sure eslint works when you give us the minimum demo @charismafight |
That's weird, I've tried your version and it's still not worked. ( I just use npm intall and npm run serve)
Okay, I will note that. |
What's your Node version and npm version @charismafight |
@zhangmo8 |
It's strange that I can run normally in my local. |
Are you on Windows? I have the same problem using rspack on Windows |
Hi there,
I created a new vue project by 'vue create' to test this package, followed the installation and migrating part, I've got 'Uncaught TypeError: Cannot read properties of undefined (reading 'forEach')' error from router.ts. I found out that routes imported from 'vue-router/auto-routes' is undefined. And I have also created another project using vite, and it worked correctly. The only difference is the vite.config.ts and vue.config.js. Anybody can help me solving this problem? Thanks.
The text was updated successfully, but these errors were encountered: