v12.2.6-canary.0
Babel Error: Cannot find module 'babel-plugin-macros'
#40236
Labels
bug
Issue was opened via the bug report template.
Verify canary release
Provide environment information
What browser are you using? (if relevant)
N/A
How are you deploying your application? (if relevant)
N/A
Describe the Bug
As soon as I install
v12.2.6-canary.0
and try tonpm run dev
I get the following error:This prevents the application from starting and causes
Internal Server Error
Expected Behavior
Using
12.2.5
(and previous versions) the application starts normally.Link to reproduction
https://github.com/Avansai/next-multilingual
To Reproduce
Working Steps
npm install
npm build
cd example
npm install
npm run dev
Failing Steps
Redo the same steps but before steps 1 and 2 run:
npm i -D next@12.2.6-canary.0
Workaround
I can make this work by running
npm i babel-plugin-macros
after step 1 - this was never required before.Potential root cause
This is the only Babel change I could spot https://github.com/vercel/next.js/pull/39520/files on v12.2.6-canary.0
The text was updated successfully, but these errors were encountered: