Js-beautify: A instalação falha para 1.7.0 no Windows / Linux / SmartOS

Criado em 18 set. 2017  ·  9Comentários  ·  Fonte: beautify-web/js-beautify

Muito fácil de reproduzir - apenas tente instalá-lo.
Tentei no Windows, Linux e SmartOS e consegui a mesma coisa.

npm install js-beautify
npm WARN enoent ENOENT: nenhum arquivo ou diretório, abra '/home/andra/trash/blah/package.json'
npm WARN blah Sem descrição
npm WARN blah Nenhum campo de repositório.
npm WARN blah Sem dados README
npm WARN blah Nenhum campo de licença.
npm ERR! Linux 4.4.0-92-genérico
npm ERR! argv "/ usr / local / bin / node" "/ usr / local / bin / npm" "install" "js-beautify"
npm ERR! nó v6.9.1
npm ERR! npm v3.10.8
npm ERR! caminho /home/andra/trash/blah/node_modules/js-beautify/js/bin/css-beautify.js
npm ERR! código ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: nenhum arquivo ou diretório, chmod '/home/andra/trash/blah/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent ENOENT: nenhum arquivo ou diretório, chmod '/home/andra/trash/blah/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent Este provavelmente não é um problema com o próprio npm
npm ERR! enoent e está relacionado ao npm não conseguir localizar um arquivo.
npm ERR! enoent

npm ERR! Inclua o seguinte arquivo com qualquer solicitação de suporte:
npm ERR! /home/andra/trash/blah/npm-debug.log

Comentários muito úteis

Todos 9 comentários

O mesmo para nós. Todos os trabalhos estão falhando ...

A versão anterior existe,
mas último 1.7.0 - não existe

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

Mesmo erro aqui

Mesmo erro para mim ...

mesmo erro

mesmo erro aqui

Corrigido em 1.7.2.

Veja # 1254. Os testes serão implementados para proteger contra isso no futuro.

Esta página foi útil?
0 / 5 - 0 avaliações

Questões relacionadas

knocte picture knocte  ·  5Comentários

keeganstreet picture keeganstreet  ·  6Comentários

Hirse picture Hirse  ·  3Comentários

gabrielmaldi picture gabrielmaldi  ·  3Comentários

geakstr picture geakstr  ·  3Comentários