Very easy to reproduce - just try to install it.
I tried on Windows, Linux and SmartOS and got the same thing.
npm install js-beautify
npm WARN enoent ENOENT: no such file or directory, open '/home/andra/trash/blah/package.json'
npm WARN blah No description
npm WARN blah No repository field.
npm WARN blah No README data
npm WARN blah No license field.
npm ERR! Linux 4.4.0-92-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "js-beautify"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! path /home/andra/trash/blah/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/andra/trash/blah/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/andra/trash/blah/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/andra/trash/blah/npm-debug.log
fwiw this is a dupe of https://github.com/beautify-web/js-beautify/issues/1247
Same for us. All jobs are failling ...
Previous version exists,
but last 1.7.0 - does not exists
yurii@hp0143:/home/si/$ npm i [email protected]
[email protected] /home/si/
└── [email protected]
npm WARN [email protected] No repository field.
yurii@hp0143:/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
Same error here
Same error for me...
same error
same error here
Fixed in 1.7.2.
See #1254. Tests will be implemented to protect against this in the future.
Most helpful comment
fwiw this is a dupe of https://github.com/beautify-web/js-beautify/issues/1247