An error occurred while trying to read the map file
See original GitHub issueReproduction
test/crash.js
const ava = require('ava')
test('anything', t => {
`//# sourceMappingURL=a.js.map`
})
Bash
> ava test/crash.js
1. Uncaught Exception
Error: An error occurred while trying to read the map file at /path/to/test/a.js.map`
Error: ENOENT: no such file or directory, open 'path/to/test/test/a.js.map`'
Environment
- Node.js v6.3.0
- darwin 15.5.0
- ava 0.15.2
- npm 3.10.3
There is a $30.00 open bounty on this issue. Add more on Issuehunt.
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on Issuehunt to raise funds.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Intermittent errors from code coverage mapping ...
Intermittent errors from code coverage mapping (Transformation error, An error occurred while trying to read the map file, ENAMETOOLONG) # ...
Read more >Resolve error "An error occurred while importing the map ...
This article explains how to resolve error "An error occurred while importing the map file, possibly due to missing labels for the geoset...
Read more >Map execution error and warning messages
A problem was encountered attempting to write to an output database. Read the database trace file (.dbl) for information about possible causes.
Read more >node - how to use source-map with nyc and mocha
1 Answer 1 · Well I'm trying to use in their example of $ mocha --require source-map-support/register tests/ , except that's pretty pointless ......
Read more >Build failes if map file should be generated - MSDN - Microsoft
What I'm seeing is that, when the map file doesn't exist, the link fails with that exact error message, and a zero-byte map...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s great news @havenchyk. Thank you for confirming.
@novemberborn I got the next result
seems can be closed