richterger / Perl-LanguageServer

Language Server for Perl
Other
224 stars 53 forks source link

Update package-lock.json with `npm install` #60

Closed utgwkk closed 3 years ago

utgwkk commented 3 years ago

npm ci returned the following error. Looks like package-lock.json is very old.

% npm ci
npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR!
npm ERR! Invalid: lock file's vscode-languageclient@4.3.0 does not satisfy vscode-languageclient@^6.1.0
npm ERR! Invalid: lock file's @types/node@7.0.67 does not satisfy @types/node@^7.10.9
npm ERR! Invalid: lock file's tslint@5.10.0 does not satisfy tslint@^5.20.1
npm ERR! Invalid: lock file's typescript@2.9.2 does not satisfy typescript@^3.7.5
npm ERR! Invalid: lock file's vscode@1.1.18 does not satisfy vscode@^1.1.36
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/utgwkk/.npm/_logs/2020-11-10T02_22_54_111Z-debug.log
complete log of npm ci ``` 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli '/Users/utgwkk/.nodenv/versions/12.16.3/bin/node', 1 verbose cli '/Users/utgwkk/.nodenv/versions/12.16.3/bin/npm', 1 verbose cli 'ci' 1 verbose cli ] 2 info using npm@6.14.4 3 info using node@v12.16.3 4 verbose npm-session d5a8d36738895b66 5 info prepare initializing installer 6 verbose prepare starting workers 7 verbose prepare installation prefix: /Users/utgwkk/ghq/github.com/utgwkk/Perl-LanguageServer/clients/vscode/perl 8 verbose prepare using package-lock.json 9 verbose checkLock verifying package-lock data 10 verbose teardown shutting down workers. 11 info teardown Done in 0s 12 verbose stack Error: cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing. 12 verbose stack 12 verbose stack 12 verbose stack Invalid: lock file's vscode-languageclient@4.3.0 does not satisfy vscode-languageclient@^6.1.0 12 verbose stack Invalid: lock file's @types/node@7.0.67 does not satisfy @types/node@^7.10.9 12 verbose stack Invalid: lock file's tslint@5.10.0 does not satisfy tslint@^5.20.1 12 verbose stack Invalid: lock file's typescript@2.9.2 does not satisfy typescript@^3.7.5 12 verbose stack Invalid: lock file's vscode@1.1.18 does not satisfy vscode@^1.1.36 12 verbose stack 12 verbose stack at /Users/utgwkk/.nodenv/versions/12.16.3/lib/node_modules/npm/node_modules/libcipm/index.js:172:15 13 verbose cwd /Users/utgwkk/ghq/github.com/utgwkk/Perl-LanguageServer/clients/vscode/perl 14 verbose Darwin 19.6.0 15 verbose argv "/Users/utgwkk/.nodenv/versions/12.16.3/bin/node" "/Users/utgwkk/.nodenv/versions/12.16.3/bin/npm" "ci" 16 verbose node v12.16.3 17 verbose npm v6.14.4 18 error cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing. 18 error 18 error 18 error Invalid: lock file's vscode-languageclient@4.3.0 does not satisfy vscode-languageclient@^6.1.0 18 error Invalid: lock file's @types/node@7.0.67 does not satisfy @types/node@^7.10.9 18 error Invalid: lock file's tslint@5.10.0 does not satisfy tslint@^5.20.1 18 error Invalid: lock file's typescript@2.9.2 does not satisfy typescript@^3.7.5 18 error Invalid: lock file's vscode@1.1.18 does not satisfy vscode@^1.1.36 19 verbose exit [ 1, true ] ```
richterger commented 3 years ago

Just missed to commit package-lock.json It's now done in ef91cc12a19606ada55ec8ace23e25ab4e8601a7 and 7f31cd97c39074a740f5d46ab9da3dd360e120c4