Friday 21 April 2017

How to I can I install Atom on archlinux

I got the following error when installing atom editor on Archlinux.

Error: Cannot find module 'node-gyp/bin/node-gyp' at Function.Module._resolveFilename (module.js:469:15) at Function.resolve (internal/module.js:27:19) at Install.module.exports.Install.installNode (/tmp/yaourt-tmp-drxos/aur-atom-editor-git/src/atom/apm/node_modules/atom-package-manager/lib/install.js:103:67) at /tmp/yaourt-tmp-drxos/aur-atom-editor-git/src/atom/apm/node_modules/atom-package-manager/lib/install.js:3:59 at fn (/tmp/yaourt-tmp-drxos/aur-atom-editor-git/src/atom/apm/node_modules/atom-package-manager/node_modules/async/lib/async.js:582:34) at Immediate. (/tmp/yaourt-tmp-drxos/aur-atom-editor-git/src/atom/apm/node_modules/atom-package-manager/node_modules/async/lib/async.js:498:34) at runCallback (timers.js:649:20) at tryOnImmediate (timers.js:622:5) at processImmediate [as _immediateCallback] (timers.js:594:5) child_process.js:504 throw err; ^

Error: Command failed: /tmp/yaourt-tmp-drxos/aur-atom-editor-git/src/atom/apm/node_modules/atom-package-manager/bin/apm --loglevel=error install at checkExecSyncError (child_process.js:481:13) at Object.execFileSync (child_process.js:501:13) at module.exports (/tmp/yaourt-tmp-drxos/aur-atom-editor-git/src/atom/script/lib/install-atom-dependencies.js:15:16) at Object. (/tmp/yaourt-tmp-drxos/aur-atom-editor-git/src/atom/script/bootstrap:28:1) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) Node: v6.10.2 Npm: v3.10.5

How can I fix ?



via drxos

No comments:

Post a Comment