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

IPX_FILE_NOT_FOUND when using npm run build #1378

Open
jtlindsey opened this issue Jun 10, 2024 · 0 comments
Open

IPX_FILE_NOT_FOUND when using npm run build #1378

jtlindsey opened this issue Jun 10, 2024 · 0 comments

Comments

@jtlindsey
Copy link

jtlindsey commented Jun 10, 2024

Bug

Images with non-url friendly characters in filename can't be found during npm run build.

Min reproduction repo

See components/MyImages.vue and nuxt.config.ts

Example of filename with + in name is escaped in content during build but original filename not changed or referenced. File not copied to .output/public/_ipx/.. as f2-a%2Bmber-kipp-75715CVEJhI-unsplash.jpg.

Actual file name f2-a+mber-kipp-75715CVEJhI-unsplash.jpg

Errors prerendering:
  ├─ /_ipx/** (6ms)                                                       nitro 7:31:20 PM
  │ └── Error: [400] IPX_MISSING_ID
  ├─ /_ipx/w_400/example/f2-a%2Bmber-kipp-75715CVEJhI-unsplash.jpg (8ms)  nitro 7:31:20 PM
  │ ├── Error: [404] IPX_FILE_NOT_FOUND
  │ └── Linked from /
  ├─ /_ipx/w_800/example/f2-a%2Bmber-kipp-75715CVEJhI-unsplash.jpg (8ms)  nitro 7:31:20 PM
  │ ├── Error: [404] IPX_FILE_NOT_FOUND
  │ └── Linked from /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant