Skip to content

Integrity problem #2061

@Berkmann18

Description

@Berkmann18

Version

3.0.0-rc.5

Node and OS info

node: 10.7.0, npm: 6.3.0, Linux 4.13-rc3-mainline (ArchLinux x64)

Steps to reproduce

A. Installing it globally

npm i -g vue-cli #or even npm i -g @vue/cli

B. Creating a project with vue create or vue ui

vue create projectname #or vue ui then doing that on the GUI

What is expected?

A. Vue CLI should be successfully installed

B. The project should be created with all the dependencies there and scripts

What is actually happening?

A.

npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/commander: Integrity verification failed for sha512-cJpXb1sIdvyafVjk7UCUMrxUslf ggo9qcx47iztm1pqLBRH2DCOc5Q/mBmS1 iDmdFHjr8DpkclvZllmMlCvg== (/home/maxie/.npm/_cacache/content-v2/sha512/70/9a/576f5b0876fc9a7d58e4ed409432bc54b257fe820a3da9cc78ee2ced9b5a6a2c1447d8308e73943f981992d7e88399d1478ebf03a64725bd996598c942be)

B.

npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/commander: Integrity verification failed for sha512-cJpXb1sIdvyafVjk7UCUMrxUslf ggo9qcx47iztm1pqLBRH2DCOc5Q/mBmS1 iDmdFHjr8DpkclvZllmMlCvg== (/home/maxie/.npm/_cacache/content-v2/sha512/70/9a/576f5b0876fc9a7d58e4ed409432bc54b257fe820a3da9cc78ee2ced9b5a6a2c1447d8308e73943f981992d7e88399d1478ebf03a64725bd996598c942be)

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/maxie/.npm/_logs/2018-08-03T15_22_09_817Z-debug.log
 ERROR  command failed: npm install --loglevel error

I was trying to create a project which I've managed to save a preset for but the UI gets stuck on installing the dependencies and whenever I try to do that in the CLI, it fails due to that integrity issue with commander.
I tried updating vue-cli (@vue/cli) but I got the same errors (cf. A.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions