Jaakko Puntila

Results comments of Jaakko Puntila

I'm on Windows and I get the same error with all requests because `resolve-path` thinks they are absolute paths. That is because the path always starts with a slash. I...

> I think your problem is koajs/static#77 ? Yep, seems to be a Node issue, works on Node 5.6.0.

Yeah, I think the point is that `path#parse` is for parsing filesystem paths, but in this case we're parsing the path part of a URL.

In my project I'm getting the same error message as [Asken](https://github.com/angular/angular-cli/issues/4874#issuecomment-329106327). It only happens when using AOT. And I also narrowed it down to using a type imported from a...

It seems that the whole file has double content: https://unpkg.com/[email protected]/js/flatbuffers.mjs Theory: the `npm publish` command was run twice. It didn't go through the first time, but still executed the prepublishOnly...

Just posting a future proof link to the source :) https://github.com/lhorie/mithril.js/blob/d3cbbef4d593f9b20b356390ec07a9426dd1cad3/mithril.js#L852-L853

It sounds like the server is returning some HTML content on a 500 error but mithril expects JSON by default (`deserialize` option). [Docs](https://mithril.js.org/mithril.request.html#using-variable-data-formats)

From what I understand, this happens because Jest doesn't do Babel transforms on any node_modules (as configured [here](https://github.com/facebookincubator/create-react-app/blob/5ea6de91c2f291376578392e453c575785c5b67f/packages/react-scripts/scripts/utils/createJestConfig.js#L42)). And because Node doesn't support ES modules yet, it causes syntax error....

Ok, I was using undocked devtools... Also, looks like with the new v4 it doesn't crash anymore! :tada:

> The response may be conditional. It's entirely reasonable to have a request that returns either a 200 (with data) or a 204 on success, based on the original payload....