question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to parse source map from ... Error: ENOENT: no such file or directory, open ...

See original GitHub issue

The issue #521 still reappears after the 0.11 update, but this time without >100 warnings.

Compiled with warnings.

Failed to parse source map from '/Users/mac/Desktop/react-django-nft-marketplace/react_django_nft_marketplace/frontend/frontend/node_modules/@metamask/detect-provider/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/mac/Desktop/react-django-nft-marketplace/react_django_nft_marketplace/frontend/frontend/node_modules/@metamask/detect-provider/src/index.ts'

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 2.92 MiB
  asset static/js/bundle.js 2.92 MiB [emitted] (name: main) 1 related asset
  asset static/js/node_modules_web-vitals_dist_web-vitals_js.chunk.js 6.92 KiB [emitted] 1 related asset
asset index.html 1.67 KiB [emitted]
asset asset-manifest.json 458 bytes [emitted]
cached modules 4.26 MiB (javascript) 31.5 KiB (runtime) [cached] 1227 modules

WARNING in ./node_modules/@metamask/detect-provider/dist/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/mac/Desktop/react-django-nft-marketplace/react_django_nft_marketplace/frontend/frontend/node_modules/@metamask/detect-provider/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/mac/Desktop/react-django-nft-marketplace/react_django_nft_marketplace/frontend/frontend/node_modules/@metamask/detect-provider/src/index.ts'
 @ ./node_modules/@usedapp/core/dist/esm/src/helpers/injectedProvider.js 2:0-63 4:33-55
 @ ./node_modules/@usedapp/core/dist/esm/src/providers/injectedNetwork/provider.js 4:0-69 19:4-23
 @ ./node_modules/@usedapp/core/dist/esm/src/providers/injectedNetwork/index.js 2:0-27 2:0-27
 @ ./node_modules/@usedapp/core/dist/esm/src/providers/index.js 6:0-34 6:0-34
 @ ./node_modules/@usedapp/core/dist/esm/src/index.js 2:0-28 2:0-28
 @ ./src/App.tsx 6:0-54 9:30-42 11:24-37 11:39-54
 @ ./src/index.tsx 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.68.0 compiled with 1 warning in 2753 ms
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...
No issues found.
^C
(env) mbp:src mac$ 

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:7
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
akkiencommented, Feb 24, 2022

I remove latest version and install version 0.7.3 to by pass the error. Hope it useful for you.

1reaction
noodesonmarscommented, May 20, 2022

still getting this error, prevents me from building the app in netlify

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to parse source map | no such file or directory ... - GitHub
Run npm start; Wait for the app to start; See error in the Terminal. Expected behavior. No warnings or errors when running the...
Read more >
Failed to parse source map... Error: ENOENT: no such file or ...
I've created the react app by running npx create-react-app frontend --template typescript command. There is also almost the same issue as of my....
Read more >
Failed to parse source map warnings - Dynamic Docs
node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from 'node_modules/json-rpc-engine/src/mergeMiddleware.ts' file: Error: ENOENT: no ...
Read more >
upgrading to webpack 5 causes sourcemap issues : r/typescript
node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from ... file: Error: ENOENT: no such file or directory, open ...
Read more >
Can't get the hello-world-js example to work - Temporal
The worker fails to start - node src/worker.js. I am getting the following error ... file: Error: ENOENT: no such file or directory,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found