vite icon indicating copy to clipboard operation
vite copied to clipboard

Issue with mapbox-gl-js pkg & vite ?

Open vinayakkulkarni opened this issue 3 years ago • 3 comments

 > error: Two output files share the same path but have different contents: node_modules/.vite/mapbox-gl.js.map

 > error: Two output files share the same path but have different contents: node_modules/.vite/mapbox-gl.js


 ERROR  Client compiled with errors: Build failed with 2 errors:                                                                                                                                                                                    19:22:46
error: Two output files share the same path but have different contents: node_modules/.vite/mapbox-gl.js.map
error: Two output files share the same path but have different contents: node_modules/.vite/mapbox-gl.js

vinayakkulkarni avatar Feb 26 '21 13:02 vinayakkulkarni

I'll try and add a repro

vinayakkulkarni avatar Feb 26 '21 13:02 vinayakkulkarni

  • [x] Try to replicate the issue by cloning this repo/branch - https://github.com/geoql/expenses/tree/refactor/nuxt-vite

vinayakkulkarni avatar Feb 26 '21 14:02 vinayakkulkarni

Hi @vinayakkulkarni. Maybe can you please help making minimal reproduction only for this issue? There are many modules and options that are used in linked repo (like tailwind and CAPI) which are not supported yet.

pi0 avatar Feb 26 '21 14:02 pi0