Skip to content

Conversation

onnimonni
Copy link
Contributor

@onnimonni onnimonni commented Nov 1, 2024

Context

This fixes the annoying DeprecationWarning and should allow us to use all of the new icons which are not available in @react-icons/all-files.

$ pnpm dev

> nextjs-notion-starter-kit@2.0.0 dev /Users/onnimonni/Projects/nextjs-notion-starter-kit
> next dev

   ▲ Next.js 15.0.2
   - Local:        http://localhost:3000

 ✓ Starting...
 ✓ Ready in 3.2s
 ○ Compiling / ...
 ✓ Compiled / in 1286ms (759 modules)
(node:79829) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/onnimonni/Projects/nextjs-notion-starter-kit/node_modules/@react-icons/all-files/package.json' of 'lib'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)

Screenshots

Icons are rendering perfectly even after this change:
image

Copy link

vercel bot commented Nov 1, 2024

@onnimonni is attempting to deploy a commit to the Saasify Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

socket-security bot commented Nov 1, 2024

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/@react-icons/all-files@4.1.0

View full report↗︎

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

Successfully merging this pull request may close these issues.

1 participant