Font-Awesome
Font-Awesome copied to clipboard
Bug: Deprecation Warning when building with Nuxt
Bug description
When I build my app that uses FontAwesome libraries, the console gives me the following warning:
(node:25432) [DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.json.js" for module request ".//index.json" matched to "./*" in the "exports" field module resolution of the package at C:\Users\danilo.ribeiro\Documents\Projetos\design-system-boilerplate-nuxt\node_modules\@fortawesome\free-solid-svg-icons\package.json imported from C:\Users\danilo.ribeiro\Documents\Projetos\design-system-boilerplate-nuxt\node_modules\.pnpm\[email protected]\node_modules.
It doesn't prevent the build though.
Here is the dependencies versions: "@fortawesome/fontawesome-svg-core": "^6.5.2", "@fortawesome/free-solid-svg-icons": "^6.5.2", "@fortawesome/vue-fontawesome": "^3.0.6", "nuxt": "^3.11.2",
Reproducible test case
no url since it's a build bug
Screenshots
No response
Font Awesome version
v6.5.2
Serving
Kit
Implementation
CSS
Browser and Operating System
- Windows 11
- Node 20.12.0
Web bug report checklist
- [ ] I have included a test case because my odds go way up that the team can fix this when I do
- [X] I have searched for existing issues and to the best of my knowledge this is not a duplicate