{"id":782,"hash":"ddf3d7cd125f9ea82e2f0e11387faa5c12c0a622e86ca2b0cea1f1f86e82aa92","pattern":"Failed to parse source map","full_message":"I created an npm library with rollup. Then, I install and use it in a React project. When i npm start the project it throw me this line:\n\nFailed to parse source map from 'C:\\Users\\XXXX\\Desktop\\example\\node_modules\\@AAA\\BBB\\src\\components\\Button\\Button.tsx' file: \nError: ENO ENT: no such file or directory, open \n'C:\\Users\\XXXX\\Desktop\\example\\node_modules\\@AAA\\BBB\\src\\components\\Button\\Button.tsx' \n\nThis is like a warning more like an error because the button works and webpack says me \"No issues found.\"\n\nIn the node_modules folder I have the @AAA/BBB folder with /dist/cjs and /dist/esm.\nI dont know what can produce the search in /src in the node modules.\n\nThank you for your time <3","ecosystem":"npm","package_name":"reactjs","package_version":null,"solution":"You can remove the warning by adding GENERATE_SOURCEMAP=false to your .env file\n\nActually, CRA with Webpack 5.x cause it. They are working on resolving (https://github.com/facebook/create-react-app/pull/11752)","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/70599784/failed-to-parse-source-map","votes":63,"created_at":"2026-04-19T04:51:42.996444+00:00","updated_at":"2026-04-19T04:51:42.996444+00:00"}