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

Add jest plugin failed! #4026

Closed
victor71 opened this issue May 19, 2019 · 5 comments
Closed

Add jest plugin failed! #4026

victor71 opened this issue May 19, 2019 · 5 comments
Labels
cannot reproduce We cannot reproduce the problem with the given information. More env information needed. needs feedback

Comments

@victor71
Copy link

Version

3.7.0

Environment info

  System:
    OS: Windows 7
    CPU: (4) x64 Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz
  Binaries:
    Node: 10.15.3 - D:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.9.0 - D:\Program Files\nodejs\npm.CMD
  npmPackages:
    @kazupon/vue-i18n-loader: ^0.3.0 => 0.3.0
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.0.0
    @vue/babel-preset-app:  3.7.0
    @vue/babel-preset-jsx:  1.0.0
    @vue/babel-sugar-functional-vue:  1.0.0
    @vue/babel-sugar-inject-h:  1.0.0
    @vue/babel-sugar-v-model:  1.0.0
    @vue/babel-sugar-v-on:  1.0.0
    @vue/cli-overlay:  3.7.0
    @vue/cli-plugin-babel: ^3.7.0 => 3.7.0
    @vue/cli-plugin-eslint: ^3.7.0 => 3.7.0
    @vue/cli-service: ^3.7.0 => 3.7.0
    @vue/cli-shared-utils:  3.7.0
    @vue/component-compiler-utils:  2.6.0
    @vue/preload-webpack-plugin:  1.1.0
    @vue/test-utils: ^1.0.0-beta.29 => 1.0.0-beta.29
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    eslint-plugin-vue: ^5.0.0 => 5.2.2 (4.7.1)
    vue: ^2.6.8 => 2.6.10
    vue-cookie: ^1.1.4 => 1.1.4
    vue-eslint-parser:  2.0.3 (5.0.0)
    vue-hot-reload-api:  2.3.3
    vue-i18n: ^8.8.2 => 8.11.2
    vue-loader:  15.7.0
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.21 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

  1. Run command vue add @vue/unit-jest

What is expected?

Install cli-plugin-unit-jest successful.

What is actually happening?

npm ERR! code EINTEGRITY
npm ERR! sha1-FKjsOVbC6B7bdSB5CuzyHCkK69I= integrity checksum failed when using sha1: wanted sha1-FKjsOVbC6B7bdSB5CuzyHCkK69I= but got sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW swQ CbGiu7lju6t JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=. (1736 bytes)


It is OK to run vue add @vue/unit-mocha, but not jest.
'sha1-FKjsOVbC6B7bdSB5CuzyHCkK69I= ' is the integrity of '@types/strip-bom@3.0.0'

@sodatea
Copy link
Member

sodatea commented May 19, 2019

Most likely a network/cache issue. Please run npm cache verify and try again.

@victor71
Copy link
Author

@sodatea I tried it many times, it is not working. Clean cache and update npm also not working.

@victor71
Copy link
Author

@sodatea May be the problem of mirror npm server?

@sodatea
Copy link
Member

sodatea commented May 20, 2019

@victor71 Probably. I can not reproduce this issue on my local machine.

@LinusBorg LinusBorg added cannot reproduce We cannot reproduce the problem with the given information. More env information needed. needs feedback labels May 20, 2019
@vue-bot
Copy link

vue-bot commented Jun 3, 2019

Hello!
This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues requiring feedback after 20 days of inactivity. It’s been at least 10 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. (A maintainer can also add the label not stale to keep this issue open.)

Thanks for being a part of the Vue community! 💪💚️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce We cannot reproduce the problem with the given information. More env information needed. needs feedback
Projects
None yet
Development

No branches or pull requests

4 participants