Answer the question
In order to leave comments, you need to log in
Why can't I install the npm module to the location chosen by the user?
From the very beginning. I installed atom.io and when I tried to install the atom-tree-ignore plugin to it, I got an error in which node-gyp was mentioned. Then I decided to install this plugin manually. Copied it to the right place and ran atom. I got a message that there is no "some kind of dependency". Then I started to install all the dependencies manually and everything was installed except for pathwatcher . It installs with node-gyp rebuild error all the time. Then I decided to install it globally and it was installed, but the atom did not work. Then I put it in the user's directory and it installed, but the atom still didn't work.
The question is how to put it in the right place, namely in C:\Users\ivan\.atom\packages\... ?
Or what else can be done?
UPD: 0.0.1
windows 7 x 64 system.
I install nodejs from offsite v4.2.1 LTS (I don’t know what bit depth)
When I install the plugin via atom, then this error appears in the editor itself -
> [email protected] install C:\Users\ivan\AppData\Local\Temp\apm-install-dir-115101-5776-vq0huk\node_modules\tree-ignore\node_modules\pathwatcher\node_modules\runas
> node-gyp rebuild
npm_config_node_gyp (node "C:\Users \ivan\AppData\Local\atom\app-1.1.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node- gyp.js" rebuild ) else (node rebuild )
���ઠ ��⮢ � �⮬ ��襭�� �� ������. �⮡� �������� ��ࠫ������� ᡮ����, �������� ��ࠬ���� "/m".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB8020: The build tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, please install v120 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". npm
ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\ivan\\AppData\\Local\\atom\\app-1.1.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users \\ivan\\AppData\\Local\\atom\\app-1.1.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\ivan\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\ivan\\.atom\\.apmrc" "install" "C :\\Users\\ivan\\AppData\\Local\\Temp\\d-115101-5776-1ckqrjb\\package.tgz" "--target=0.30.7" "--arch=ia32" "-- msvs_version=2013"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script ' node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.
C:\Users\ivan\.atom\packages\atom-tree-ignore>npm cache clean
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "cache" "clean"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! path C:\Users\ivan\AppData\Roaming\npm-cache
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rmdir
npm ERR! Error: EPERM: operation not permitted, rmdir 'C:\Users\ivan\AppData\Roaming\npm-cache'
npm ERR! at Error (native)
npm ERR! { [Error: EPERM: operation not permitted, rmdir 'C:\Users\ivan\AppData\Roaming\npm-cache']
npm ERR! errno: -4048,
npm ERR!
npm ERR! syscall: 'rmdir',
npm ERR! path: 'C:\\Users\\ivan\\AppData\\Roaming\\npm-cache' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\ivan\.atom\packages\atom-tree-ignore\npm-debug.log
C:\Users\ivan\.atom\packages\atom-tree-ignore>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question