MaJ du 04-02-2021
This commit is contained in:
@@ -145,7 +145,7 @@ bruno@SilverBook:~$ cd Sites/node_modules/
|
||||
|
||||
puis
|
||||
|
||||
- Liste package installé: `npm ls`
|
||||
- Liste package installé: `npm ls` `npm list -g --depth=0`
|
||||
- Mises à jour disponibles: `npm outdated`
|
||||
- Installer une m-à-j: `npm update`
|
||||
- Installer un package: `npm install package`
|
||||
@@ -251,10 +251,70 @@ npm config set fund false
|
||||
|
||||
|
||||
|
||||
#### Erreur *"No matching version found for tar@^6.0.5"*:
|
||||
|
||||
```bash
|
||||
$ npm install -g --unsafe-perm homebridge-config-ui-x
|
||||
npm ERR! code ETARGET
|
||||
npm ERR! notarget No matching version found for tar@^6.0.5.
|
||||
npm ERR! notarget In most cases you or one of your dependencies are requesting
|
||||
npm ERR! notarget a package version that doesn't exist.
|
||||
```
|
||||
|
||||
```bash
|
||||
$ npm info tar
|
||||
|
||||
tar@6.0.5 | ISC | deps: 6 | versions: 88
|
||||
tar for node
|
||||
https://github.com/npm/node-tar#readme
|
||||
|
||||
dist
|
||||
.tarball: https://registry.npmjs.org/tar/-/tar-6.0.5.tgz
|
||||
```
|
||||
|
||||
```bash
|
||||
$ npm install https://github.com/npm/node-tar/tarball/v6.0.5 --save
|
||||
npm ERR! code ETARGET
|
||||
npm ERR! notarget No matching version found for minizlib@^2.1.1.
|
||||
```
|
||||
|
||||
```bash
|
||||
$ npm info minizlib
|
||||
|
||||
minizlib@2.1.2 | MIT | deps: 2 | versions: 20
|
||||
A small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding.
|
||||
https://github.com/isaacs/minizlib#readme
|
||||
```
|
||||
|
||||
```bash
|
||||
$ npm install https://github.com/isaacs/minizlib/tarball/v2.1.1 --save
|
||||
```
|
||||
|
||||
```bash
|
||||
$ npm install https://github.com/npm/node-tar/tarball/v6.0.5 --save
|
||||
```
|
||||
|
||||
```bash
|
||||
$ npm install -g --unsafe-perm homebridge-config-ui-x
|
||||
|
||||
added 362 packages, and audited 362 packages in 45s
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Packages:
|
||||
|
||||
[Rechercher un package](https://npms.io)
|
||||
|
||||
```bash
|
||||
$ npm search tar
|
||||
NAME | DESCRIPTION | AUTHOR | DATE | VERSION | KEYWORDS
|
||||
tar | tar for node | =nlf… | 2020-08-14 | 6.0.5 |
|
||||
tar-fs | filesystem bindings… | =mafintosh… | 2020-11-06 | 2.1.1 | tar fs file tarball directory stream
|
||||
tar-stream | tar-stream is a… | =mafintosh… | 2020-09-10 | 2.1.4 | tar tarball parse parser generate generator stream stream2 streams streams2 str
|
||||
archiver | a streaming… | =ctalkington | 2020-09-11 | 5.0.2 | archive archiver stream zip tar
|
||||
```
|
||||
|
||||
|
||||
|
||||
##### uninstall-all-modules
|
||||
|
||||
Reference in New Issue
Block a user