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
Are you trying to transpile a local package or an npm package?
local
Describe the bug
[next] TypeError: config?.externals?.map is not a function
[next] at Object.webpack (/Users/paulhachmang/Sites/reachdigital-next/node_modules/next-transpile-modules/src/next-transpile-modules.js:233:49)
[next] at Object.webpack (/Users/paulhachmang/Sites/reachdigital-next/packagesDev/next-config/dist/index.js:24:74)
[next] at Object.webpack (/Users/paulhachmang/Sites/reachdigital-next/node_modules/next-pwa/index.js:57:27)
[next] at Object.getBaseWebpackConfig [as default] (/Users/paulhachmang/Sites/reachdigital-next/node_modules/next/dist/build/webpack-config.js:1327:32)
[next] at async Promise.all (index 0)
[next] at async Span.traceAsyncFn (/Users/paulhachmang/Sites/reachdigital-next/node_modules/next/dist/trace/trace.js:74:20)
[next] at async Span.traceAsyncFn (/Users/paulhachmang/Sites/reachdigital-next/node_modules/next/dist/trace/trace.js:74:20)
[next] at async HotReloader.start (/Users/paulhachmang/Sites/reachdigital-next/node_modules/next/dist/server/dev/hot-reloader.js:321:25)
[next] at async DevServer.prepare (/Users/paulhachmang/Sites/reachdigital-next/node_modules/next/dist/server/dev/next-dev-server.js:289:9)
[next] at async /Users/paulhachmang/Sites/reachdigital-next/node_modules/next/dist/cli/next-dev.js:126:9
To Reproduce
I just upgraded to 12.0.1 from 12.0.0 and now this error occured.
Expected behavior
A clear and concise description of what you expected to happen.
Setup
Next.js version: 12.0.1
next-transpile-modules version: latest
Node.js version: 14
npm/yarn version: yarn
Operating System: osx
Webpack 4 or 5: 5
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Are you trying to transpile a local package or an npm package?
local
Describe the bug
To Reproduce
I just upgraded to 12.0.1 from 12.0.0 and now this error occured.
Expected behavior
A clear and concise description of what you expected to happen.
Setup
next-transpile-modules
version: latestnpm
/yarn
version: yarnAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: