Failed to parse source map from '../@antv/layout/src/util/object.ts' file
See original GitHub issue🐛 bug 描述
一直报下面的 Warning
WARNING in ./node_modules/@antv/layout/es/util/object.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from
…/@antv/layout/src/util/object.ts’ file: Error: ENOENT: no such file or directory, open ‘’
/node_modules/@antv/layout/src/util/object.ts'
© 版本信息
- ant-design-charts 版本: 1.2.4
- 浏览器环境: Chrome
- 开发环境: Mac OS
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Failed to parse source map - Stack Overflow
You can remove the warning by adding GENERATE_SOURCEMAP=false to your .env file. Actually, CRA with Webpack 5.x cause it.
Read more >After Upgrading to CRA 5.0 getting a lot of: Failed to parse ...
Upgraded and now I'm getting a lot of Failed to parse source map from warnings. ... But for some reason CRA wants the...
Read more >Failed to parse source map warnings - Dynamic Docs
If using create-react-app v5, you may see some warnings (although they appear like errors) when running/building your react application.
Read more >source-map-loader - webpack
Extracts source maps from existing source files (from their ... import css from "file.css"; ... ignoreWarnings: [/Failed to parse source map/], };.
Read more >"Failed to parse source map" errors with datetime picker and ...
Hello, When using the Atlaskit DateTimePicker components in my Create React App 5.0.0 app, I get warnings about missing sourcemaps in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
如果只使用了统计图表,建议直接使用 plots (charts 的子包)
如果用的是 react-scripts 5.x ,可以把 GENERATE_SOURCEMAP=false 添加到 .env文件中