Skip to content
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

No complaint even though two versions of aws-amplify in build #23

Open
ceich opened this issue Jun 28, 2018 · 0 comments
Open

No complaint even though two versions of aws-amplify in build #23

ceich opened this issue Jun 28, 2018 · 0 comments

Comments

@ceich
Copy link

ceich commented Jun 28, 2018

I have added this plugin to devDependencies, and here is my webpack.config.js:

var DuplicatePackageCheckerPlugin = require("duplicate-package-checker-webpack-plugin");

module.exports = {
  plugins: [new DuplicatePackageCheckerPlugin({
    verbose: true,
  })]
};

Problem: neither yarn build nor yarn start complain about this duplicate package:

$ grep aws-amplify yarn.lock
aws-amplify-react@^0.1.52:
  resolved "https://registry.yarnpkg.com/aws-amplify-react/-/aws-amplify-react-0.1.52.tgz#0080a10ad14447a4a33ebe3855917c98ed009148"
    aws-amplify "^0.4.6"
aws-amplify@^0.3.4:
  resolved "https://registry.yarnpkg.com/aws-amplify/-/aws-amplify-0.3.4.tgz#fc7e9398a51f6d071f3e3dd50017509b67efedfc"
aws-amplify@^0.4.6:
  resolved "https://registry.yarnpkg.com/aws-amplify/-/aws-amplify-0.4.6.tgz#aa6485876ca37c75b600883be52924be78b2840f"

I am a newbie with webpack and yarn, so I am probably overlooking something obvious. Any pointers would be gratefully appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant