Verify canary release
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101
Binaries:
Node: 14.16.1
npm: 6.14.12
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.1.7-canary.10
react: 17.0.2
react-dom: 17.0.2
warn - Latest canary version not detected, detected: "12.1.7-canary.10", newest: "12.1.7-canary.9".
Please try the latest canary version (npm install next@canary) to confirm the issue still exists before creating a new issue.
Read more - https://nextjs.org/docs/messages/opening-an-issue
What browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
next run build
Describe the Bug
My deployments are failing on vercel, and when I locally run npm run build I get the following error: Error: [BABEL] /Users/mathchamp/Documents/GitHub/skillify-web/pages/_document.tsx: You gave us a visitor for the node type TSInstantiationExpression but it's not a valid type
Upon research, I think something with the latest version of babel is causing these errors.
Expected Behavior
Builds should pass with npm run build
To Reproduce
Run npm run build on the latest version of next.js
Builds that were passing yesterday are now failing.
Verify canary release
Provide environment information
warn - Latest canary version not detected, detected: "12.1.7-canary.10", newest: "12.1.7-canary.9".
Please try the latest canary version (
npm install next@canary) to confirm the issue still exists before creating a new issue.Read more - https://nextjs.org/docs/messages/opening-an-issue
What browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
next run build
Describe the Bug
My deployments are failing on vercel, and when I locally run
npm run buildI get the following error:Error: [BABEL] /Users/mathchamp/Documents/GitHub/skillify-web/pages/_document.tsx: You gave us a visitor for the node type TSInstantiationExpression but it's not a valid typeUpon research, I think something with the latest version of babel is causing these errors.
Expected Behavior
Builds should pass with
npm run buildTo Reproduce
Run
npm run buildon the latest version of next.jsBuilds that were passing yesterday are now failing.