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

Warning when creating new Vue project #959

Closed
UrsMetz opened this issue Oct 8, 2017 · 2 comments
Closed

Warning when creating new Vue project #959

UrsMetz opened this issue Oct 8, 2017 · 2 comments
Assignees
Labels

Comments

@UrsMetz
Copy link

UrsMetz commented Oct 8, 2017

Today I created a new Vue project using vue-cli and the webpack template.
Here's the configuration I chose:

? Vue build standalone
? Install vue-router? No
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Setup unit tests with Karma + Mocha? Yes
? Setup e2e tests with Nightwatch? No

When vue-cli ran the initial npm install I got the warning

npm WARN karma-sinon-chai@1.3.2 requires a peer of sinon@^2.1.0 but none was installed.

The sinon version in the generated package.json is ^4.0.0

The warning persists when running npm install manually.

I'm using Node version 6.6.0 on Debian 8.

@LinusBorg LinusBorg added the bug label Oct 8, 2017
@LinusBorg LinusBorg self-assigned this Oct 8, 2017
@LinusBorg
Copy link
Contributor

Thanks. Seems this was created by a recent dependency upgrade for other deps.

This is likely not creating any issues (karma and Simon still work fine), but I'll clear up issue.

@LinusBorg LinusBorg added wontfix and removed bug labels Oct 8, 2017
@LinusBorg
Copy link
Contributor

It seems that karma-sinon-chai didn't update the peer dependency in a while:

kevicency/karma-sinon-chai#50

But it still works as intended, so there's not much we can do. You will just have to ignore it...

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

No branches or pull requests

2 participants