You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ source-map-explorer build/static/js/*.js
build/static/js/2.9d3308cf.chunk.js
Unable to map 86/5098426 bytes (0.00%)
build/static/js/main.b235dfa8.chunk.js
Unable to map 77/248845 bytes (0.03%)
build/static/js/runtime~main.a8a9905a.js
Unable to map 13/1502 bytes (0.87%)
Unable to open web browser. Invalid switch - "/tmp".
Either run with --html, --json, --tsv, --file, or view HTML for the visualization at:
/tmp/sme-result-2020113-220-1f3lsmg.3b1gf.html
Steps to reproduce
Build your create-react-app with npm run build
run $ source-map-explorer build/static/js/*.js
See error
Expected behavior
It should open the web browser and show the visualization.
Additional context
I can still see the /tmp/sme-result-2020113-220-1f3lsmg.3b1gf.html generated. I can still also put --html params and it will generate the file alright. I'm just wondering how to get the proper/expected behaviour if I am using WSL.
$ source-map-explorer build/static/js/*.js
build/static/js/2.9d3308cf.chunk.js
Unable to map 130/5098425 bytes (0.00%)
build/static/js/main.b235dfa8.chunk.js
Unable to map 124/248844 bytes (0.05%)
build/static/js/runtime~main.a8a9905a.js
1. Your source map only contains one source (../webpack/bootstrap).
This can happen if you use browserify+uglifyjs, for example, and don't set the --in-source-map flag to uglify.
See https://github.com/danvk/source-map-explorer/blob/master/README.md#generating-source-maps
2. Unable to map 62/1501 bytes (4.13%)
Unable to open web browser. Invalid switch - "/tmp".
Either run with --html, --json, --tsv, --file, or view HTML for the visualization at:
/tmp/sme-result-2020113-146-119t6vf.v2pk.html
The text was updated successfully, but these errors were encountered:
According to their readme, it supports WSL paths under /mnt/* (i.e. files being on the windows filesystem). But here, the file is on the linux filesystem, and so is affected by sindresorhus/open#174
Description
I'm working on [email protected] and I got this error.
Steps to reproduce
npm run build
$ source-map-explorer build/static/js/*.js
Expected behavior
It should open the web browser and show the visualization.
Environment
Additional context
I can still see the
/tmp/sme-result-2020113-220-1f3lsmg.3b1gf.html
generated. I can still also put--html
params and it will generate the file alright. I'm just wondering how to get the proper/expected behaviour if I am using WSL.Couldn't test with
[email protected]
because it's too slow.I tried with
[email protected]
The text was updated successfully, but these errors were encountered: