nuxt / nuxt/icon

Requested custom icon is returning randomly in production site

Open
#320 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
96
Avg merge
8h 12m
Merged PRs (30d)
2

Description

This bug is so random and it's only happen on our production site. Sometimes it happen, sometimes not. I tried create a reproduction but it's only happen on our production site.
But you can see from the screenshot below that the request to times icon is returning 2 other icons. It return the error message: [Icon] failed to load icon m-icon:times

Versions:
"@nuxt/icon": "1.9.1",
"@nuxt/ui": "2.18.4",
"nuxt": "3.13.0"

Image

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the production-only failure with @nuxt/icon 1.9.1, @nuxt/ui 2.18.4, and Nuxt 3.13.0, focusing on requests for the custom m-icon:times icon and the reported error. Done means the requested custom icon loads consistently in the production site instead of returning other icons.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.