-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Receiving warning when building project: "It seems you're using webpack >= v2.0.0, which includes native support for JSON." #7095
Comments
same here. |
Same |
+1 |
Having this issue on a React project after upgrading the Not isolated to Angular. Upgraded multiple files related to loaders and webpack itself, did a rebuild of node_modules and everything appears to be right as rain. Sorry for adding to the noise. I suggest if this continues for others to simply do the same or to see Shywim's referenced ticket. |
webpack-contrib/json-loader#57 (comment) For reference, anything using In the sprit of not breaking half the internet again, I am locking json-loader until we resolve the issue upstream. It was deprecated, should be deprecated but can't be until Webpack doesn't directly delegate to it. |
nice! the warn is gone. thx @d3viant0ne |
@st1s how you fix this? |
These are my error codes: ../~/aws-sdk/apis/cognito-idp-2016-04-18.min.json It seems you're using webpack >= v2.0.0, which includes native support for JSON. ../~/aws-sdk/apis/cognito-idp-2016-04-18.paginators.json It seems you're using webpack >= v2.0.0, which includes native support for JSON. ../~/aws-sdk/apis/metadata.json It seems you're using webpack >= v2.0.0, which includes native support for JSON. ../~/aws-sdk/apis/sts-2011-06-15.min.json It seems you're using webpack >= v2.0.0, which includes native support for JSON. ../~/aws-sdk/apis/sts-2011-06-15.paginators.json It seems you're using webpack >= v2.0.0, which includes native support for JSON. ../~/aws-sdk/apis/cognito-identity-2014-06-30.min.json It seems you're using webpack >= v2.0.0, which includes native support for JSON. ../~/aws-sdk/apis/cognito-identity-2014-06-30.paginators.json It seems you're using webpack >= v2.0.0, which includes native support for JSON. ../~/aws-sdk/lib/region_config_data.json It seems you're using webpack >= v2.0.0, which includes native support for JSON. Search for the keywords to learn more about each warning. I added the //es-line disable lines to my webpack, and I even tried just commenting out the 'test' part, but I don't even have the json loader as as a loader! These error messages are messing with my inner OCD. |
Nevermind, I fixed it - I added json-loader to my devDependencies, and added it as a loader alongside babel-loader in my webpack.config.js - annoying warnings begone! |
@wal-junaid yep. just remove node_modules and issue npm install again |
this issue could be closed @alexjlockwood |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I have recently started getting the warning below when building my project (https://github.com/alexjlockwood/ShapeShifter).
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.2.3
node: 8.1.1
os: darwin x64
@angular/animations: 4.3.1
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.3.1
@angular/compiler: 4.3.1
@angular/core: 4.3.1
@angular/flex-layout: 2.0.0-beta.8
@angular/forms: 4.3.1
@angular/http: 4.3.1
@angular/material: 2.0.0-beta.8
@angular/platform-browser: 4.3.1
@angular/platform-browser-dynamic: 4.3.1
@angular/router: 4.3.1
@angular/service-worker: 1.0.0-beta.16
@angular/cli: 1.2.3
@angular/compiler-cli: 4.3.1
@angular/language-service: 4.3.1
Logs
The text was updated successfully, but these errors were encountered: