-
Notifications
You must be signed in to change notification settings - Fork 730
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
Error parsing undici module in Next.js 14 project #2207
Comments
Semi-related to elastic/elastic-transport-js#91 I'll put out patch versions of 8.x versions of this package this week to help mitigate. |
@sleipner01 Please try upgrading |
@JoshMock The upgrade resolved the problem in our project. Thanks:) |
@JoshMock After upgrading to 8.14 from 8.13, it seems this issue has resurfaced. I am also using Next 14, and [email protected] |
Never mind, it seems updating to |
After updating from "next": "14.0.4" to "next": "^14.2.5". issue resolved, Thanks @dylanhu7 π₯³ |
π Bug Report
In a Next.js 14 project, my team and I encountered this problem Tuesday 2nd of April.
A member tried running the project after reinstalling node_modules and got the following error:
April 2nd both undici and @elastic/transport had version updates.
To Reproduce
Using any elastic Client initialisation with Next.js 14.
Any standard Next.js package.json containing the following:
"@elastic/elasticsearch": "^8.12.2",
Run:
npm install
Run:
npm run dev
Expected behavior
Build/run successfully
Environment
The text was updated successfully, but these errors were encountered: