nuxt / nuxt/icon

error , build nuxt icon

Open
#431 1 comment 0 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

(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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.