Js-beautify: L'installation échoue pour la 1.7.0 sous Windows/Linux/SmartOS

Créé le 18 sept. 2017  ·  9Commentaires  ·  Source: beautify-web/js-beautify

Très facile à reproduire - essayez simplement de l'installer.
J'ai essayé sous Windows, Linux et SmartOS et j'ai obtenu la même chose.

npm installer js-beautify
npm WARN enoent ENOENT : aucun fichier ou répertoire de ce type, ouvrez '/home/andra/trash/blah/package.json'
npm WARN bla pas de description
npm WARN bla Pas de champ de référentiel.
npm WARN blah Pas de données README
npm WARN bla Pas de champ de licence.
npm ERR ! Linux 4.4.0-92-générique
npm ERR ! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "js-beautify"
npm ERR ! nœud v6.9.1
npm ERR ! npm v3.10.8
npm ERR ! chemin /home/andra/trash/blah/node_modules/js-beautify/js/bin/css-beautify.js
npm ERR ! code ENOENT
npm ERR ! errno -2
npm ERR ! appel système chmod

npm ERR ! enoent ENOENT : aucun fichier ou répertoire de ce type, chmod '/home/andra/trash/blah/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR ! enoent ENOENT : aucun fichier ou répertoire de ce type, chmod '/home/andra/trash/blah/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR ! enoent Ce n'est probablement pas un problème avec npm lui-même
npm ERR ! enoent et est lié au fait que npm ne parvient pas à trouver un fichier.
npm ERR ! énonce

npm ERR ! Veuillez inclure le fichier suivant avec toute demande d'assistance :
npm ERR ! /home/andra/trash/blah/npm-debug.log

Commentaire le plus utile

Tous les 9 commentaires

Idem pour nous. Tous les travaux échouent...

La version précédente existe,
mais dernier 1.7.0 - n'existe pas

yurii<strong i="7">@hp0143</strong>:/home/si/$ npm i [email protected]
[email protected] /home/si/
└── [email protected] 

npm WARN [email protected] No repository field.
yurii<strong i="8">@hp0143</strong>:/home/si/$ npm i [email protected]
npm WARN [email protected] No repository field.
npm ERR! Linux 4.9.0-3-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "[email protected]"
npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! path /home/si/node_modules/js-beautify/js/bin/css-beautify.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/home/si/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/si/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/si/npm-debug.log

Même erreur ici

Même erreur pour moi...

même erreur

même erreur ici

Corrigé en 1.7.2.

Voir #1254. Des tests seront mis en œuvre pour s'en protéger à l'avenir.

Cette page vous a été utile?
0 / 5 - 0 notes