Is there any plan to fix the warning when using “scichart-react”.
I attach warning message the images below.
- [email protected] asked 1 month ago
- last edited 1 month ago
-
Hello, could you please provide us more details on how to reproduce it? Is that reproducible in our examples? What kind of source map are you using? etc…
-
Hi, we have a react application v18 that use scichart library. we also use “scichart-react” v0.1.9 as a reuse component for scichart library. Every time we runs the local development, the console always throws a warning as below. I think “scichart-react” is missing source map file. WARNING in ./node_modules/scichart-react/DefaultFallback.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\DefaultFallback.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\DefaultFallback.tsx’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\DefaultFallback.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\DefaultFallback.tsx’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/index.js 8:24-52 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/SciChart.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChart.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChart.tsx’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChart.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChart.tsx’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/index.js 15:17-38 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/SciChartGroup.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartGroup.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartGroup.tsx’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartGroup.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartGroup.tsx’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/index.js 22:22-48 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/SciChartGroupContext.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartGroupContext.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartGroupContext.ts’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartGroupContext.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartGroupContext.ts’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/index.js 29:29-62 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/SciChartLegendComponent.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartLegendComponent.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartLegendComponent.tsx’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartLegendComponent.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartLegendComponent.tsx’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/index.js 36:32-68 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/SciChartMemoryDebugWrapper.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartMemoryDebugWrapper.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartMemoryDebugWrapper.tsx’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartMemoryDebugWrapper.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartMemoryDebugWrapper.tsx’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/index.js 43:35-74 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/SciChartOverview.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartOverview.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartOverview.tsx’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartOverview.tsx’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartOverview.tsx’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/index.js 50:25-54 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/SciChartSurfaceContext.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartSurfaceContext.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartSurfaceContext.ts’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartSurfaceContext.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\SciChartSurfaceContext.ts’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/index.js 57:31-66 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/constants.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\constants.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\constants.ts’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\constants.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\constants.ts’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/SciChart.js 50:20-42 @ ./node_modules/scichart-react/index.js 15:17-38 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/index.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\index.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\index.ts’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\index.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\index.ts’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 WARNING in ./node_modules/scichart-react/utils.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\utils.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\utils.ts’ Error: Failed to parse source map from ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\utils.ts’ file: Error: ENOENT: no such file or directory, open ‘C:\Dev\atv-react-develop\atv-react\node_modules\src\utils.ts’ at fetchFromFilesystem (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:140:11) at async fetchFromURL (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\utils.js:254:9) at async C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:105:11 at async Promise.all (index 0) at async Object.loader (C:\Dev\atv-react-develop\atv-react\node_modules\source-map-loader\dist\index.js:89:27) @ ./node_modules/scichart-react/SciChart.js 47:16-34 @ ./node_modules/scichart-react/index.js 15:17-38 @ ./src/components/view/dashboard/widget/type/bar/Widge.Bar.jsx 8:0-47 22:30-43 @ ./src/components/view/dashboard/widget/shared/body/Widget.Body.jsx 6:0-49 34:39-48 @ ./src/components/view/dashboard/widget/Widget.jsx 12:0-51 158:43-53 @ ./src/components/view/dashboard/Dashboard.jsx 11:0-37 47:41-47 @ ./src/components/view/index.jsx 13:0-46 99:42-51 @ ./src/app/ATVRoutes.jsx 14:0-38 180:40-44 @ ./src/app/App.jsx 10:0-36 54:36-45 @ ./src/index.js 13:0-28 24:35-38 webpack 5.91.0 compiled with 11 warnings in 1687 ms
-
Okay, I’ve manged to reproduce this with CRA. Quite possible this warning is only relavant in CRA, but I’m not sure… Logged the issue to our backlog – https://abtsoftware.myjetbrains.com/youtrack/issue/SCJS-1803
- You must login to post comments
Logged to backlog – https://abtsoftware.myjetbrains.com/youtrack/issue/SCJS-1803
- Jim Risen answered 1 month ago
- You must login to post comments
Please login first to submit.