style-switcher
style-switcher copied to clipboard
Source map problem with npm 8.12.0
Getting next in terminal:
WARNING in ./node_modules/mapbox-gl-style-switcher/dist/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'D:\Source\XXX\node_modules\mapbox-gl-style-switcher\lib\index.ts' file: Error: ENOENT: no such file or directory, open 'D:\Source\XXX\node_modules\mapbox-gl-style-switcher\lib\index.ts
Edit: See this: https://github.com/facebook/create-react-app/issues/11924#issuecomment-1016947373
how are you getting this? I do publish the dist folder as well
@el I also ran into this too when I ran the build and then installed the package right from github. But I'm also really not sure why :(