syntax-tree/hast-util-raw

`Failed to parse source map from 'node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js.map' file: Error: ENOENT: no such file or directory`

qwertychouskie opened this issue · 2 comments

Initial checklist

Affected packages and versions

9.0.3

Link to runnable example

No response

Steps to reproduce

package.json:

{
  "name": "my-app",
  "version": "0.1.0",
  "proxy2": "http://localhost:8080",
  "proxy": "https://extras.carusosignature.com",
  "private": true,
  "dependencies": {
    "@emotion/react": "^11.11.4",
    "@emotion/styled": "^11.11.5",
    "@fontsource/roboto": "^4.5.8",
    "@mui/icons-material": "^5.11.11",
    "@mui/material": "^5.15.15",
    "@mui/x-date-pickers": "^6.14.0",
    "@testing-library/jest-dom": "^5.16.5",
    "@testing-library/react": "^13.4.0",
    "@testing-library/user-event": "^13.5.0",
    "@types/jest": "^27.5.2",
    "@types/node": "^16.18.16",
    "@types/react": "^18.0.28",
    "@types/react-dom": "^18.0.11",
    "@types/underscore": "^1.11.9",
    "@zxing/library": "^0.20.0",
    "dayjs": "^1.11.9",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-markdown": "^8.0.6",
    "react-plaid-link": "^3.5.1",
    "react-router-dom": "^6.9.0",
    "react-scripts": "5.0.1",
    "react-viewport-hooks": "^1.5.0",
    "rehype-raw": "^7.0.0",
    "typescript": "^4.9.5",
    "underscore": "^1.13.6",
    "web-vitals": "^2.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

Expected behavior

No warnings should be present

Actual behavior

Compiled with warnings.

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/index.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js.map'

Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js.map'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/index.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js.map'

WARNING in ./node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js.map' file: Error: ENOENT: no such file or directory, open '/Users/<user>/<company>/transactions/ui/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js.map'

webpack compiled with 14 warnings

Affected runtime and version

18.20.1

Affected package manager and version

10.5.0

Affected OS and version

macOS 14.4.1

Build and bundle tools

No response

Thanks for sharing @qwertychouskie ! 👋
All of the warnings you've shared are coming from parse5, a different project with its own issue tracker, it would be good to make the parse5 team aware https://github.com/inikulin/parse5

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.