-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
getDnsSuffix Webpack Error On Build #13253
Comments
Hello, @steffen-tomm 👋. Did you recently upgrade your app from v5 to v6 by chance, or is this a new v6 app? And can you share what's in your |
Additionally, can you see if taking the following steps helps resolve the issue?
|
@cwomack i tried that already, good advise so far. started directly with v6, like in that documentation: package.json looks like that:
|
that's my config. is something wrong here? |
@steffen-tomm, I'm still a little lost as to how to reproduce this issue and get the errors you're seeing. You mentioned starting with the Next.JS getting started guide, but can you share the steps that different from our docs to get to where you're experiencing the build issues? Do you run into this with a fresh Next.JS project with Amplify imported or was this an existing project that you integrated Amplify into? And finally, do you experience this when running it locally as well? |
i started building the project two month ago, but never went through the build process, because i always ran |
i started the project like that: What can i do to make it work? Transfer everything to a new instance? |
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
Not applicable
Amplify Version
v6
Amplify Categories
Not applicable
Backend
Other
Environment information
Describe the bug
i have the following bug and i have no idea how to solve it. Google doesn't help me anymore. Someone any idea?
The failure is that when i try
npm run build
it responsens:
Expected behavior
it should create the build, but doesn't
Reproduction steps
npm run build
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: