defunctzombie/zuul

Update path to istanbul assets

kof opened this issue · 12 comments

kof commented

Files like this one are moved in instanbul to assets dir.

zuul/node_modules/istanbul-middleware/node_modules/istanbul/lib/vendor/prettify.css

@vvo ping, something from a recent update?

vvo commented

@lpinca any hints? You did an istanbul related PR.

vvo commented

Also @kof I am not sure to understand what you are asking for, can you be more specific on what's wrong?

kof commented

just install the latest version, remove node_modules and you will get it when you run some tests locally, it will try to load some files from a non-existing location.

vvo commented

I still don't get how to fix this eheh. What to fix

I can reproduce this and yes it is caused by the istanbul-middleware update (my pr).
If you pin down istanbul to version 0.2.x in instabul-middleware, it works. A newer istanbul generates this issue.

I will try to investigate as soon as I find some time.

To repoduce the issue:

  1. Install latest zuul
  2. Run zuul --local 8080 -- test.js
  3. Open the url shown by zuul in a browser

@vvo lets revert the update since it seems to break for users and needs more testing

vvo commented

Allright

vvo commented

Ok published 3.7.2 with reverted istanbul-middleware, @lpinca would be good to get your insights when you have time :D

@vvo sure, I will take a look, I just have to find a little time 😄

gotwarlost/istanbul#467
gotwarlost/istanbul-middleware#26

istanbul-middleware@0.2.1 is broken, we have to wait for the next version.

vvo commented

Nice, open a new PR when ready then :)