Meaningful errors with inlined sourcemaps
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- backend
Direzione di ricerca
The report describes JavaScript errors from webpack bundles with inlined sourcemaps but names no repository files or tests. Start by reading the error handling and stack trace code, then check whether sourcemaps can be used there. Done means exceptions identify the originating file and line; the issue has had no comment for years, so confirm the work is still relevant before starting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi
I'm using webpack to compile a server side js bundle with inlined sourcemaps, used to render server side views. Everything's going well except errors. The stack trace given back is reasonable, eg:
ExecJS::ProgramError - ReferenceError: func is not defined:
Widget.vtree (eval at <anonymous> ((execjs):357:in `'
Widget.render (eval at <anonymous> ((execjs):391:in `'
Object.render (eval at <anonymous> ((execjs):1379:in `'
This error is okay, i can follow it from the entry point but I don't get a strong gauge on which line in which file, which would be available in chrome, for example.
Is there a way to do that, to get more specific information about which line and which file is causing the exception?
- Lingua principale
- JavaScript
- Stelle
- 628
- Fork
- 100
- Merge medio
- 1g 20h
- PR unite (30g)
- 2
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rubyjs/mini_racer
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
rubyjs/mini_racer#449 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
rubyjs/mini_racer#450 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
rubyjs/mini_racer#448 ·
-
bug/crash platform: linux/x86
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
rubyjs/mini_racer#422 · 10 commenti ·
-
platform: darwin/x86
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
rubyjs/mini_racer#388 · 4 commenti ·
Tutte le issue di rubyjs/mini_racer
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
thedevs-network/kutt#1059 ·
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage 35-feedback bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno