amazon-archives / aws-cognito-angular-quickstart

An Angular(v5)-based QuickStart single-page app utilizing Amazon Cognito, S3, and DynamoDB (Serverless architecture)
https://cognito.budilov.com
Apache License 2.0
689 stars 304 forks source link

npm start fails with the below warning. #90

Closed c4adarsh closed 7 years ago

c4adarsh commented 7 years ago

C:\Users\adarsh\Downloads\aws-cognito-angular2-quickstart-master>npm start

aws-cognito-angular2-quickstart@1.0.0 start C:\Users\adarsh\Downloads\aws-cognito-angular2-quickstart-master ng serve --port 3333

NG Live Development Server is running on http://localhost:3333 Hash: ba3f9f58310e78a77ca1 Time: 15606ms chunk {0} main.bundle.js, main.bundle.js.map (main) 88.8 kB {2} [initial] [rendered] chunk {1} styles.bundle.js, styles.bundle.js.map (styles) 9.77 kB {3} [initial] [rendered] chunk {2} vendor.bundle.js, vendor.bundle.js.map (vendor) 3.61 MB [initial] [rendered] chunk {3} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]

WARNING in ./~/aws-sdk/apis/sts-2011-06-15.paginators.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/sts.js 12:23-72 @ ./src/app/service/user-login.service.ts @ ./src/app/app.component.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/dynamodb-2011-12-05.min.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/dynamodb.js 11:16-63 @ ./src/app/service/ddb.service.ts @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/sts-2011-06-15.min.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/sts.js 11:16-58 @ ./src/app/service/user-login.service.ts @ ./src/app/app.component.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/dynamodb-2012-08-10.min.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/dynamodb.js 21:16-63 @ ./src/app/service/ddb.service.ts @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/dynamodb-2011-12-05.paginators.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/dynamodb.js 12:23-77 @ ./src/app/service/ddb.service.ts @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/dynamodb-2011-12-05.waiters2.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/dynamodb.js 13:20-72 @ ./src/app/service/ddb.service.ts @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/dynamodb-2012-08-10.paginators.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/dynamodb.js 22:23-77 @ ./src/app/service/ddb.service.ts @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/dynamodb-2012-08-10.waiters2.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/dynamodb.js 23:20-72 @ ./src/app/service/ddb.service.ts @ ./src/app/app.module.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/cognito-idp-2016-04-18.min.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/cognitoidentityserviceprovider.js 10:16-66 @ ./~/amazon-cognito-identity-js/es/CognitoUserPool.js @ ./~/amazon-cognito-identity-js/es/index.js @ ./src/app/service/user-login.service.ts @ ./src/app/app.component.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/cognito-idp-2016-04-18.paginators.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/cognitoidentityserviceprovider.js 11:23-80 @ ./~/amazon-cognito-identity-js/es/CognitoUserPool.js @ ./~/amazon-cognito-identity-js/es/index.js @ ./src/app/service/user-login.service.ts @ ./src/app/app.component.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/metadata.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/lib/util.js 813:19-51 @ ./~/aws-sdk/lib/core.js @ ./~/aws-sdk/browser.js @ ./src/app/service/aws.service.ts @ ./src/app/app.component.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/lib/region_config_data.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/lib/region_config.js 2:19-55 @ ./~/aws-sdk/lib/service.js @ ./~/aws-sdk/clients/sts.js @ ./src/app/service/user-login.service.ts @ ./src/app/app.component.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/cognito-identity-2014-06-30.paginators.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/cognitoidentity.js 12:23-85 @ ./~/aws-sdk/lib/credentials/cognito_identity_credentials.js @ ./~/aws-sdk/lib/core.js @ ./~/aws-sdk/browser.js @ ./src/app/service/aws.service.ts @ ./src/app/app.component.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts

WARNING in ./~/aws-sdk/apis/cognito-identity-2014-06-30.min.json ⚠️ JSON Loader

It seems you're using webpack >= v2.0.0, which includes native support for JSON. Please remove this loader from webpack.config.js as it isn't needed anymore and is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information (https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)

@ ./~/aws-sdk/clients/cognitoidentity.js 11:16-71 @ ./~/aws-sdk/lib/credentials/cognito_identity_credentials.js @ ./~/aws-sdk/lib/core.js @ ./~/aws-sdk/browser.js @ ./src/app/service/aws.service.ts @ ./src/app/app.component.ts @ ./src/app/index.ts @ ./src/main.ts @ multi webpack-dev-server/client?http://localhost:3333 ./src/main.ts


C:\Users\adarsh\Documents\Git_Workspace\OfficeWork\aws-cognito-angular2-quickstart>node -v v6.10.1

C:\Users\adarsh\Documents\Git_Workspace\OfficeWork\aws-cognito-angular2-quickstart>npm -v 3.10.10

c4adarsh commented 7 years ago

updated the node version to v6.11.1 and it started working.