Skip to content
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: Image with src "/logo.svg" is missing required "width" property in with-redux example #63542

Closed
1 task done
FoSuCloud opened this issue Mar 21, 2024 · 2 comments · Fixed by #63546
Closed
1 task done
Labels
examples Issue/PR related to examples locked

Comments

@FoSuCloud
Copy link
Contributor

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:42:42 PDT 2023; root:xnu-10002.1.13~1/RELEASE_X86_64
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 18.19.1
  npm: 10.2.4
  Yarn: 1.22.11
  pnpm: 8.15.1
Relevant Packages:
  next: 14.2.0-canary.34 // Latest available version is detected (14.2.0-canary.34).
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.2
Next.js Config:
  output: N/A

Which example does this report relate to?

with-redux

What browser are you using? (if relevant)

Chrome 122.0.6261.129

How are you deploying your application? (if relevant)

No response

Describe the Bug

when i open the chrome

 Internal error: Error: Image with src "/logo.svg" is missing required "width" property.
    at getImgProps (./node_modules/.pnpm/next@14.2.0-canary.34_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/shared/lib/get-img-props.js:267:27)
    at eval (./node_modules/.pnpm/next@14.2.0-canary.34_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/client/image-component.js:279:82)
    at au (/Users/xielipei/Documents/reactProject/with-redux-app/node_modules/.pnpm/next@14.2.0-canary.34_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js:35:10446)
....

截屏2024-03-21 10 09 21

Expected Behavior

Open the page normally

To Reproduce

pnpm create next-app --example with-redux with-redux-app
pnpm run dev

@FoSuCloud FoSuCloud added the examples Issue/PR related to examples label Mar 21, 2024
@FoSuCloud
Copy link
Contributor Author

I want to solve this problem

styfle added a commit that referenced this issue Mar 21, 2024
…3546)

- Fixes #63542

Co-authored-by: yelipei <yelipei@qianxin.com>
Co-authored-by: Steven <steven@ceriously.com>
Copy link
Contributor

github-actions bot commented Apr 5, 2024

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot added the locked label Apr 5, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples locked
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant