Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source map problem with npm 8.12.0 #25

Open
fstivicic opened this issue Jul 7, 2022 · 2 comments
Open

Source map problem with npm 8.12.0 #25

fstivicic opened this issue Jul 7, 2022 · 2 comments

Comments

@fstivicic
Copy link

fstivicic commented Jul 7, 2022

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: facebook/create-react-app#11924 (comment)

@el
Copy link
Owner

el commented Jul 23, 2022

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

@chriszrc
Copy link

chriszrc commented Jan 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants