-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SourceMapConsumer error #45
Comments
@beckend I'm trying this out now and can confirm this error |
@beckend are you sure this works with 0.1.8? I tried it and got a different error. At this point I'm not sure if the cause is |
@kulshekhar I am pretty sure, what error are you getting? |
with 0.1.7, I got
with 0.1.8, I got
|
@kulshekhar So what I did is after |
@kulshekhar I did it three times. |
node -v v6.9.1 I don't know much about sinon but it looks like it does some async stuff. Usually, async tests need to explicitly indicate that they are done by returning a promise or calling a callback. Have you tried something like that? |
I did a fresh clone,
|
So I will continue debugging this, it seems that you might be right about async test issue since it IS an async test. |
@kulshekhar Thanks for the async test issue, it has been fixed and will always pass. Sorry about that. I noted something about npm: It still installs So don't edit the The main issue at hand still stands, when using |
I'm certain that I had Nevertheless, I'll do this again. Please let me know if I should do something other than the following
|
I wiped again and matched all your commands, but the last one I always use
|
yeah, running it with |
Sorry about the cache thing also I wasn't paying attention. |
I'm unable to determine the cause of this issue right now. I really don't know how Sinon behaves and I think that's key to debugging this. How does it indicate completion? Is it using a promise or a callback? |
@kulshekhar I did a quick debug: and this fixes it(but probably breaks something else): I also tried to add |
Going to sleep for today. |
That line is what makes the sourcemap translation work :) |
Actually problem is here in : var rawData = sourceMappingURL.slice(sourceMappingURL.indexOf(',') + 1); Somehow in your code appears something that looks like source map url, but it isn't, or may be it is not in base64... Probably we have to get more deep on it. |
Ok, I've found out. |
Should be solved in |
Sorry guys, I was totally mistaken with our internal tests, so I reopen this issue and fix will be provided in |
Publish latest in npm so I can give it a spin? |
@beckend, |
Version
0.1.8
works fine, the repo master works.Version
>0.1.8
results in:Error reproduce-able in repo branch, CI output.
Reproduce:
The text was updated successfully, but these errors were encountered: