style-switcher icon indicating copy to clipboard operation
style-switcher copied to clipboard

Source map problem with npm 8.12.0

Open fstivicic opened this issue 2 years ago • 2 comments

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

fstivicic avatar Jul 07 '22 13:07 fstivicic

how are you getting this? I do publish the dist folder as well

el avatar Jul 23 '22 20:07 el

@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 :(

chriszrc avatar Jan 06 '23 17:01 chriszrc