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

Failed to parse source map from... #169

Closed
freynolds-plannery opened this issue Oct 18, 2023 · 3 comments
Closed

Failed to parse source map from... #169

freynolds-plannery opened this issue Oct 18, 2023 · 3 comments

Comments

@freynolds-plannery
Copy link
Contributor

freynolds-plannery commented Oct 18, 2023

In last version of react-scripts, warnings are now being shown for problems with parsing source maps in dependencies. As a result, with every run of react-scripts, there is a warning:

WARNING in ./node_modules/react-calendly/dist/index.es.js
Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '.../node_modules/react-calendly/src/components/PopupModal/Modal.tsx' file: Error: ENOENT: no such file or directory, open '.../node_modules/react-calendly/src/components/PopupModal/Modal.tsx'

facebook/create-react-app#11752

From what I've seen in other repos, adding the source map to the package should solve the issue

@freynolds-plannery
Copy link
Contributor Author

@tcampb
Copy link
Owner

tcampb commented Oct 19, 2023

Thanks for creating this issue @freynolds-plannery! This issue should be fixed in version 4.2.1.

@freynolds-plannery
Copy link
Contributor Author

you rock!

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

2 participants