Skip to content

Failed to parse source map from file #1097

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

Closed
remarkablemark opened this issue Oct 19, 2023 · 1 comment · Fixed by #1098
Closed

Failed to parse source map from file #1097

remarkablemark opened this issue Oct 19, 2023 · 1 comment · Fixed by #1098
Assignees
Labels
bug Something isn't working

Comments

@remarkablemark
Copy link
Owner

remarkablemark commented Oct 19, 2023

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'
@remarkablemark remarkablemark self-assigned this Oct 19, 2023
@remarkablemark remarkablemark added the bug Something isn't working label Oct 19, 2023
remarkablemark added a commit to remarkablemark/style-to-object that referenced this issue Oct 19, 2023
Relates to remarkablemark/html-react-parser#1097

```
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'
```
remarkablemark added a commit to remarkablemark/html-dom-parser that referenced this issue Oct 19, 2023
Relates to remarkablemark/html-react-parser#1097

```
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'
```
remarkablemark added a commit to remarkablemark/style-to-js that referenced this issue Oct 20, 2023
remarkablemark added a commit that referenced this issue Oct 20, 2023
Fixes #1097

```
 html-dom-parser  5.0.1  →  5.0.2
 style-to-js      1.1.6  →  1.1.8
```
@remarkablemark
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant