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
fwiw, este é um dupe de https://github.com/beautify-web/js-beautify/issues/1247
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.
Comentários muito úteis
fwiw, este é um dupe de https://github.com/beautify-web/js-beautify/issues/1247