Skip to content
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

升级 next 遇到的各种坑 #1

Open
dailynodejs opened this issue Aug 24, 2020 · 0 comments
Open

升级 next 遇到的各种坑 #1

dailynodejs opened this issue Aug 24, 2020 · 0 comments

Comments

@dailynodejs
Copy link
Collaborator

dailynodejs commented Aug 24, 2020

1、报错

TypeError: Cannot read property 'concat' of undefined
    at Object.webpack (/Users/**/node_modules/next-transpile-modules/src/next-transpile-modules.js:102:73)
    at Object.webpack (/Users/**/@zeit/next-bundle-analyzer/index.js:34:27)
    at Object.webpack (/Users/**/node_modules/next-images/index.js:36:27)
    at getBaseWebpackConfig (/Users/**/node_modules/next/build/webpack-config.ts:1120:28)
    at async Promise.all (index 0)
    at HotReloader.start (/Users/**/node_modules/next/server/hot-reloader.ts:304:21)
    at DevServer.prepare (/Users/**/node_modules/next/server/next-dev-server.ts:263:5)

错误很明显:查看 next-transpile-modules

Next.js version Plugin version
Next.js 9.5+ 4.x
Next.js 9.2 3.x
Next.js 8 / 9 2.x
Next.js 6 / 7 1.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant