Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apm bug #192

Closed
lalitmee opened this issue Feb 11, 2018 · 1 comment
Closed

apm bug #192

lalitmee opened this issue Feb 11, 2018 · 1 comment

Comments

@lalitmee
Copy link

Hey, I was trying to install term2 for atom by terminal but it is giving some error like this. Can you help me with this.

❯  sudo apm install term2
Installing term2 to /home/lalit/.atom/packages ✗

> pty.js@0.2.13 install /tmp/apm-install-dir-118112-4493-1423po4.tkrge6d2t9/node_modules/term2/node_modules/pty.js
> node-gyp rebuild

/tmp/apm-install-dir-118112-4493-1423po4.tkrge6d2t9
`-- (empty)


gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/tmp/apm-install-dir-118112-4493-1423po4.tkrge6d2t9/node_modules/term2/node_modules/pty.js/build'
gyp ERR! stack     at Error (native)
gyp ERR! System Linux 4.4.0-112-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-118112-4493-1423po4.tkrge6d2t9/node_modules/term2/node_modules/pty.js
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-118112-4493-1423po4.tkrge6d2t9/package.json'
npm WARN apm-install-dir-118112-4493-1423po4.tkrge6d2t9 No description
npm WARN apm-install-dir-118112-4493-1423po4.tkrge6d2t9 No repository field.
npm WARN apm-install-dir-118112-4493-1423po4.tkrge6d2t9 No README data
npm WARN apm-install-dir-118112-4493-1423po4.tkrge6d2t9 No license field.
npm ERR! Linux 4.4.0-112-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/lalit/.atom/.apm/.apmrc" "--userconfig" "/home/lalit/.atom/.apmrc" "install" "/tmp/d-118112-4493-uxp0dy.ix1qph9f6r/package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! pty.js@0.2.13 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the pty.js@0.2.13 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pty.js 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 information on how to open an issue for this project with:
npm ERR!     npm bugs pty.js
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-118112-4493-1423po4.tkrge6d2t9/npm-debug.log
npm ERR! code 1

Thank you so much.

@azumia-azu
Copy link

+1 same issue

@lalitmee lalitmee closed this as completed Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants