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 Errors in CRA 5.0 #11

Open
amcdnl opened this issue Apr 7, 2022 · 1 comment
Open

Source Map Errors in CRA 5.0 #11

amcdnl opened this issue Apr 7, 2022 · 1 comment

Comments

@amcdnl
Copy link

amcdnl commented Apr 7, 2022

In CRA 5.0, the build will fail when using this library stating:

WARNING in ./node_modules/calculate-size/lib/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/austin/dev/asdf/ui/node_modules/calculate-size/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/austin/dev/asdf/ui/node_modules/calculate-size/src/index.ts'

Reference: facebook/create-react-app#11752

@calteran
Copy link

I'm also seeing this warning, but currently my build is still completing using both npm start and npm run build.

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