All Package Installations Fail


#1

I have run Atom for a number of years previously and about 6 months ago installed on a new laptop. I installed atom-beautify and a couple of other packages. Recently there was an update to atom-beautify that I have tried to install a number of times. Each time it fails. I tried installing other packages and they ALL fail at installation. I uninstalled Atom, removed the .atom directories and reinstalled Atom. Every time I try to install a package the install fails. Below is the text from the failure notice after trying to install atom-beautify. The Folder and subsequent log it refers to do not exist when I browse to that location.

Atom version: 1.20.0 x64
OS: Windows 10 Pro version 1703 Build 15063.608

Any help would be appreciated.

AGMNS

C:\Users\agmns\AppData\Local\Temp\apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr
`-- (empty)

npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use ‘npm ls graceful-fs’ to find it in the tree.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\agmns\AppData\Local\Temp\apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr\package.json’
npm WARN apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr No description
npm WARN apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr No repository field.
npm WARN apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr No README data
npm WARN apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr No license field.
npm ERR! Windows_NT 10.0.15063
npm ERR! argv “C:\Users\agmns\AppData\Local\atom\app-1.20.0\resources\app\apm\bin\node.exe” “C:\Users\agmns\AppData\Local\atom\app-1.20.0\resources\app\apm\node_modules\npm\bin\npm-cli.js” “–globalconfig” “C:\Users\agmns\.atom\.apm\.apmrc” “–userconfig” “C:\Users\agmns\.atom\.apmrc” “install” “C:\Users\agmns\AppData\Local\Temp\d-117818-22352-93y2l4.9rugpbvs4i\package.tgz” “–runtime=electron” “–target=1.6.9” “–arch=x64” "–global-style"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! path C:\Users\agmns\AppData\Local\Temp\apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr\node_modules\atom-beautify\node_modules\js-beautify\js\bin\css-beautify.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\agmns\AppData\Local\Temp\apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr\node_modules\atom-beautify\node_modules\js-beautify\js\bin\css-beautify.js’
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\agmns\AppData\Local\Temp\apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr\node_modules\atom-beautify\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! C:\Users\agmns\AppData\Local\Temp\apm-install-dir-117818-22352-1hwi3kk.d29mlpu8fr\npm-debug.log
npm ERR! code 1


#2

There’s currently an npm problem with js-beautify. Any packages that rely on it (directly or indirectly) will fail to install. It’s being tracked at https://github.com/beautify-web/js-beautify/issues/1247.


#3

You try to update minimatch ?

npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue