Raathigesh / majestic

⚡ Zero config GUI for Jest
MIT License
7.49k stars 173 forks source link

How to run with sourcecode or sourcemaps? #214

Open ap1969 opened 4 years ago

ap1969 commented 4 years ago

Hi, I'm trying to resolved an issue with my install which seem to occur a number of times in other issues logged, but there's no clear answer: I get the error:

TypeError: Cannot read property 'projectRoot' of undefined
    at Za (ui.bundle.js:21)
    at Jo (ui.bundle.js:42)
    at Ii (ui.bundle.js:42)
    at Ha (ui.bundle.js:42)
    at Ka (ui.bundle.js:42)
    at jl (ui.bundle.js:42)
    at Tl (ui.bundle.js:42)
    at xl (ui.bundle.js:42)
    at ui.bundle.js:42

In an attempt to debug this, is there any way to run it from the src, rather than the public NPM package? Specifically, if I have one project folder with my app in it, how can I copy the majestic src to another folder to then run in on the app folder?

Thanks Andy

Raathigesh commented 4 years ago

Hi,

Thanks for trying to debug the problem. This guide should help - https://github.com/Raathigesh/majestic/blob/master/CONTRIBUTING.MD

Do let me know if you run into further problem.