autorest icon indicating copy to clipboard operation
autorest copied to clipboard

ms-azure-rest is broken in Webpack due to json-schema being broken in Webpack

Open dukedougal opened this issue 10 years ago • 3 comments

https://github.com/kriszyp/json-schema/issues/59

dukedougal avatar Feb 25 '16 07:02 dukedougal

@dukedougal - "ms-rest" does not use "json-schema" directly. request library has a dependency on "json-schema" via "http-signature". so the dependency chain goes like this:

ms-rest -> request -> http-signature -> jsprim ->json-schema
where -> = "depends on"

I installed the latest version of request: "2.69.0" locally. Webpack needs to fix this issue. By the download numbers it seems json-schema is a commonly used module. ms-rest depends on the request library for making requests. There is nothing much that I can do in this. I have removed the depenedency on "tough-cookie" as it was not required.

amarzavery avatar Feb 27 '16 05:02 amarzavery

Closing issue as this is an issue in WebPack rather than this project.

azuresdkci avatar Mar 02 '16 00:03 azuresdkci

The outcome is still that Azure is broken with Webpack.

Azure say its not their problem, Webpack seem to think everyone else needs to make their packages compatible with it instead of the other way around, and the guy behind the json-schema package appears to have no interest in making his package to work with webpack.

It's a mexican standoff in which no-one wants to do what it takes to make their software work with each other.

https://github.com/webpack/webpack/issues/2101 https://github.com/kriszyp/json-schema/issues/59

What can be done?

dukedougal avatar Mar 06 '16 08:03 dukedougal