Skip to content
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

Failed to parse source map from '\node_modules\@chevrotain\utils\lib\src\api.js.map' file: Error: ENOENT: no such file or directory, open '\node_modules\@chevrotain\utils\lib\src\api.js.map' #127

Open
ThatNerdUKnow opened this issue Jan 8, 2022 · 1 comment

Comments

@ThatNerdUKnow
Copy link

I get the following error on npm run start when trying to import the generated jsx file into my project. Also when using the generated component I get the following errors: in my console

Failed to parse source map from 'C:\Users\brand\repos\tjs-lab\node_modules\@chevrotain\utils\lib\src\api.js.map' file: Error: ENOENT: no such file or directory, open 'C:\Users\brand\repos\tjs-lab\node_modules\@chevrotain\utils\lib\src\api.js.map'

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

assets by path static/js/*.js 3.56 MiB
  asset static/js/bundle.js 3.55 MiB [emitted] (name: main) 1 related asset
  asset static/js/node_modules_web-vitals_dist_web-vitals_js.chunk.js 6.88 KiB [emitted] 1 related asset
asset index.html 1.67 KiB [emitted]
asset asset-manifest.json 458 bytes [emitted]
cached modules 8.33 MiB (javascript) 31.4 KiB (runtime) [cached] 657 modules

WARNING in ./node_modules/@chevrotain/utils/lib/src/api.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'C:\Users\brand\repos\tjs-lab\node_modules\@chevrotain\utils\lib\src\api.js.map' file: Error: ENOENT: no such file or directory, open 'C:\Users\brand\repos\tjs-lab\node_modules\@chevrotain\utils\lib\src\api.js.map'
 @ ./node_modules/chevrotain/lib/src/scan/lexer_public.js 10:14-42
 @ ./node_modules/chevrotain/lib/src/api.js 45:21-51
 @ ./node_modules/chevrotain/lib_esm/api_esm.mjs 1:0-36 2:15-18 3:27-42 4:27-42 5:25-38 6:25-38 7:19-26 8:34-56 9:37-62 10:27-42 11:21-30 12:40-68 13:40-68 14:36-60 15:27-42 16:42-72 17:22-32 18:22-32 19:41-70 20:26-40 21:35-58 22:48-84 23:39-66 24:20-28 25:24-36 26:23-34 27:26-40 28:40-68 29:27-42 30:35-58 31:41-70 32:42-72 33:38-64 34:32-52 35:35-58 36:26-40 37:28-44 38:25-38
 @ ./node_modules/three-stdlib/loaders/VRMLLoader.js 2:0-59 58:30-41 62:25-36 80:22-33 85:23-34 90:18-29 95:18-29 100:20-31 105:17-28 111:28-39 115:25-36 119:28-39 123:26-37 127:27-38 131:26-37 135:22-33 139:22-33 143:21-32 147:21-32 151:22-33 154:15-28 158:25-36 161:15-28 2390:21-26 2406:25-34
 @ ./node_modules/three-stdlib/index.js 267:0-53 267:0-53
 @ ./node_modules/@react-three/drei/core/Line.js 4:0-65 14:43-48 15:50-62 18:21-33
 @ ./node_modules/@react-three/drei/index.js 10:0-38 10:0-38
 @ ./src/rei/Rei.js 14:0-59 26:6-13 29:6-19 95:10-17 95:19-32 99:0-15
 @ ./src/App.js 5:0-28 21:37-40
 @ ./src/index.js 7:0-24 11:33-36

1 warning has detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.65.0 compiled with 1 warning in 2011 ms

I was also getting errors in my browser's console but of course when I tried to reproduce the problem they wouldn't show up for me anymore

@CianLawlor
Copy link

Have the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants