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
Lots of compatibility issues with Webpack #2101
Comments
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. Azure/autorest#734 What can be done? |
What are you trying to do exactly? These all look like modules that were not designed for the browser. If you use webpack to transpile and bundle your node js code, you might want to look into excluding node_modules from your bundle. This way, your bundle would include |
Read here for details: * kriszyp/json-schema#59 * webpack/webpack#2101 Used a fix mentioned here: * webpack/webpack#138 Works for now…
@amarzavery what can we do @ webpack to remedy this? Dep change? @dukedougal can you please submit a new issue in regards to this and tie this issue I want to verify the following:
|
Closing due to lack of answer. Feel free to open separate issues or use Stack Overflow for support level questions. |
That doesn't make any sense |
seriously, this is webpack's fault and you just close this |
We stayed pretty clearly why we closed it. We are willing to help if we are provided more information, etc. |
well, what about the issues linked here? |
I have no way to work on my current website because of this, not even noparse fixed it |
@ForsakenHarmony Can you open a separate issue about that? Easier to digest, get fixed. 👍 |
well, it's probably a problem with meteor-webpack, should I still do it? |
@ForsakenHarmony If it's an upstream issue, start with meteor-webpack and see what they have to say. The challenge is in finding the right place to fix. |
I don't quite understand the error, and have no way of tracing it, because the only file I know of is amd-define.js, which seemingly exports define, but instantly throws with anything using it https://github.com/kriszyp/json-schema/blob/master/lib/validate.js the file checks for define, and uses it, if it exists |
oh, wait, I'm sorry, it was 100% my fault, json-schema was updated, but the update wasn't released we'll, not my fault, the package author's |
Having just spent an entire day tracking down problems that ended up being issues with Webpack, I'm starting to wonder if there is a general compatibility problem with Webpack and if maybe the onus isn't on Webpack to be more compatible?
It's getting a little tedious fighting through issues and I'm now starting to assume when there is a problem thinking "hmmm.... probably Webpack.".
Here's some of the action:
Azure/autorest#734
kriszyp/json-schema#59
AzureAD/azure-activedirectory-library-for-nodejs#100
aws/aws-sdk-js#603
#2076
TritonDataCenter/node-jsprim#13
Each of these issues represents many hours and days diagnosing and tracking down problems and unfortunately not writing any features or functions for my application.
Sorry to be blunt about it because I know everyone is working hard, it's just that the pattern is starting to become clear....
The text was updated successfully, but these errors were encountered: