Open tobychidi opened 1 month ago
@tobychidi Your d3-geo
package seems to be too old, maybe there is a conflicting dependency and this old version is getting installed for some reason. If you can share your package.json
and the lock file, it can help to identify the problem.
You can also try adding d3-geo
as an explicit dependency to your package.json
, try version 3 or later.
You're right. I currently have turf installed. I ran pnpm why d3-geo and this is the result. Installing d3-geo explicitly fixed it.
dependencies:
@turf/turf 7.1.0
└─┬ @turf/buffer 7.1.0
└── d3-geo 1.7.1
@unovis/ts 1.4.3-beta.0
├─┬ d3 7.9.0
│ └── d3-geo 3.1.1
└─┬ d3-geo-projection 4.0.0
└── d3-geo 3.1.1
@unovis/vue 1.4.3-beta.0
└─┬ @unovis/ts 1.4.3-beta.0 peer
├─┬ d3 7.9.0
│ └── d3-geo 3.1.1
└─┬ d3-geo-projection 4.0.0
└── d3-geo 3.1.1
d3 7.9.0
└── d3-geo 3.1.1
I encountered an error while using the Unovis package in my Nuxt project. The error message indicates that there is no matching export for geoEqualEarth in the d3-geo package.
Error Message:
Additional Context: I have tried using this code in other Nuxt projects or on CodeSandbox without issues. I only see the issue in my main project. Need Help.