-
Notifications
You must be signed in to change notification settings - Fork 91
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
images not showing, src= object #204
Comments
I have the same issue. It seems the bug occurs only in builds of static pages. |
I have exactly the same issue :( |
Try |
This fixed all my issues, thanks! |
That did work. Thanks @andreisergiu98 To be clear, one needs the full path and, if you use ESLint, you have to disable global require:
|
Can we re-open this please? This error still happening, Adding |
I have the same problem and although default solves it, I feel it is still a problem that needs addressing as it is not in documentation :) |
This seems to only happens with files that were under the The temporary fix seems to be setting |
"next-optimized-images": "^2.6.2"
Images are not showing. The resulting HTML is like below:
Image originals are stored on
/public/images
as per Nextjs docs.I run both
npm run dev
andnpm run build
with the same result.For
build
I also checked on/.next/static/
and found no folder namedimages
as I understand it should be the case.next.config.js
On /src/components/header.js
Excerpt from package.json
The text was updated successfully, but these errors were encountered: