Error installing package Linter


#1

Hello, good morning.

During the installation of the package Linter Atom occurred the following error log:

npm ERR! Error: ENOENT, lstat 'C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\font-awesome\src\3.2.1\assets\font-awesome\css\font-awesome.min.css'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <'http://github.com/npm/npm/issues'>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\bin\\\\node.exe" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\.apmrc" "--userconfig" "C:\\Users\\admin\\.atom\\.apmrc" "install" "C:\\Users\\admin\\AppData\\Local\\Temp\\d-11482-2660-z6tkqb\\package.tgz" "--target=0.11.13" "--arch=ia32"
npm ERR! cwd C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\font-awesome\src\3.2.1\assets\font-awesome\css\font-awesome.min.css
npm ERR! fstream_path C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\font-awesome\src\3.2.1\assets\font-awesome\css\font-awesome.min.css
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack c:\Users\admin\Desktop\Atom\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\lodash\dist\lodash.compat.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\bin\\\\node.exe" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\.apmrc" "--userconfig" "C:\\Users\\admin\\.atom\\.apmrc" "install" "C:\\Users\\admin\\AppData\\Local\\Temp\\d-11482-2660-z6tkqb\\package.tgz" "--target=0.11.13" "--arch=ia32"
npm ERR! cwd C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\lodash\dist\lodash.compat.js
npm ERR! fstream_path C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\lodash\dist\lodash.compat.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack c:\Users\admin\Desktop\Atom\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: EPERM, unlink 'C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\jshint\dist\jshint-rhino.js'
npm ERR! error rolling back  linter@0.5.17 { [Error: EPERM, unlink 'C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\jshint\dist\jshint-rhino.js']
npm ERR! error rolling back   errno: 50,
npm ERR! error rolling back   code: 'EPERM',
npm ERR! error rolling back   path: 'C:\\Users\\admin\\AppData\\Local\\Temp\\apm-install-dir-11482-2660-1kpsf2p\\node_modules\\linter\\node_modules\\jshint\\dist\\jshint-rhino.js' }
npm ERR! not found: git
npm ERR! 
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\bin\\\\node.exe" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\.apmrc" "--userconfig" "C:\\Users\\admin\\.atom\\.apmrc" "install" "C:\\Users\\admin\\AppData\\Local\\Temp\\d-11482-2660-z6tkqb\\package.tgz" "--target=0.11.13" "--arch=ia32"
npm ERR! cwd C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ENOGIT
npm ERR! Error: ENOENT, chmod 'C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\chai\lib\chai\utils\getActual.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <'http://github.com/npm/npm/issues'>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\bin\\\\node.exe" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\.apmrc" "--userconfig" "C:\\Users\\admin\\.atom\\.apmrc" "install" "C:\\Users\\admin\\AppData\\Local\\Temp\\d-11482-2660-z6tkqb\\package.tgz" "--target=0.11.13" "--arch=ia32"
npm ERR! cwd C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\chai\lib\chai\utils\getActual.js
npm ERR! fstream_path C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\chai\lib\chai\utils\getActual.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack c:\Users\admin\Desktop\Atom\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\node_modules\fstream\lib\writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat 'C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\jshint\dist\jshint-rhino.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\bin\\\\node.exe" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "c:\\Users\\admin\\Desktop\\Atom\\Atom\\resources\\app\\apm\\node_modules\\atom-package-manager\\.apmrc" "--userconfig" "C:\\Users\\admin\\.atom\\.apmrc" "install" "C:\\Users\\admin\\AppData\\Local\\Temp\\d-11482-2660-z6tkqb\\package.tgz" "--target=0.11.13" "--arch=ia32"
npm ERR! cwd C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\jshint\dist\jshint-rhino.js
npm ERR! fstream_path C:\Users\admin\AppData\Local\Temp\apm-install-dir-11482-2660-1kpsf2p\node_modules\linter\node_modules\jshint\dist\jshint-rhino.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack c:\Users\admin\Desktop\Atom\Atom\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }
npm

Could anyone help me?


#2

I reformatted your post to make the log dump into a preformatted section using triple-backticks (```). It should make it more readable. I hope you don’t mind.

Have you checked the linter package repository to see if any of the Issues there match your sypmtoms? I found these three that seem to be pretty similar:


#3

I tested the changes as posted on the link you passed me, now managed to install the package and is in perfect working order