remarkablemark/html-react-parser

Failed to parse source map from file

Closed this issue · 1 comments

Originally posted by @luane-aquino in #1094

Hi guys! I updated from version 1.2.1 to 4.2.5, but when I run the app (it is a react app create with CRA), it started to show the following warnings in the terminal, does anyone know what it causing these warning and how to solve it? thank you!

image
WARNING in ./node_modules/html-dom-parser/lib/client/constants.js
Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/html-dom-parser/src/client/constants.ts' file: Error: ENOENT: no such file or directory, open 'node_modules/html-dom-parser/src/client/constants.ts'
WARNING in ./node_modules/style-to-object/cjs/index.js
Module Warning (from ./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/style-to-object/src/index.ts' file: Error: ENOENT: no such file or directory, open 'node_modules/style-to-object/src/index.ts'