error , build nuxt icon
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 96
- Avg merge
- 8h 12m
- Merged PRs (30d)
- 2
Description
(node:22008) [DEP0155] DeprecationWarning: Use of deprecated trailing slash pattern mapping "./" in the "exports" field module resolution of the package at D:\nuxt-v2\webnuxt32\webgopanel\node_modules@iconify\utils\package.json imported from D:\nuxt-v2\webnuxt32\webgopanel\node_modules@nuxt\icon\dist\runtime\server\api.js. Mapping specifiers ending in "/" is no longer supported.
(Use node --trace-deprecation ... to show where the warning was created)
how to fix ??
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the warning during a Nuxt icon build and inspect node_modules/@iconify/utils/package.json, especially its exports field, alongside node_modules/@nuxt/icon/dist/runtime/server/api.js. Done means identifying the dependency or resolution change that removes the DEP0155 warning without breaking the build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100