Skip to content

Add jest plugin failed! #4026

Closed
Closed
@victor71

Description

@victor71

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    cannot reproduceWe cannot reproduce the problem with the given information. More env information needed.needs feedback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions