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

BUGs on ubuntu16.10 when I install package in atom #177

Open
ghost opened this issue Oct 19, 2016 · 2 comments
Open

BUGs on ubuntu16.10 when I install package in atom #177

ghost opened this issue Oct 19, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 19, 2016

pty.js@0.3.0 install /tmp/apm-install-dir-116920-8313-1r8eukp/node_modules/terminal-plus/node_modules/pty.js
(node-gyp rebuild 2> builderror.log) || (exit 0)

pty.js@0.3.0 postinstall /tmp/apm-install-dir-116920-8313-1r8eukp/node_modules/terminal-plus/node_modules/pty.js
node scripts/post-install.js

/tmp/apm-install-dir-116920-8313-1r8eukp
└── (empty)

module.js:327
throw err;
^

Error: Cannot find module '/tmp/apm-install-dir-116920-8313-1r8eukp/node_modules/terminal-plus/node_modules/pty.js/scripts/post-install.js'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-116920-8313-1r8eukp/package.json'
npm WARN apm-install-dir-116920-8313-1r8eukp No description
npm WARN apm-install-dir-116920-8313-1r8eukp No repository field.
npm WARN apm-install-dir-116920-8313-1r8eukp No README data
npm WARN apm-install-dir-116920-8313-1r8eukp No license field.
npm ERR! Linux 4.8.0-22-generic
npm ERR! argv "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/ray/.atom/.apm/.apmrc" "--userconfig" "/home/ray/.atom/.apmrc" "install" "/tmp/d-116920-8313-1vcvr7s/package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE

npm ERR! pty.js@0.3.0 postinstall: node scripts/post-install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pty.js@0.3.0 postinstall script 'node scripts/post-install.js'.
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 scripts/post-install.js
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-116920-8313-1r8eukp/npm-debug.log
npm ERR! code 1

@TheFlyingPig
Copy link

TheFlyingPig commented Dec 19, 2016

I've experienced this too, the log file requested does not exist, I've installed node.js and npm, this didn't help.

I'm using Ubuntu 16.04. The ATOM package I was installing was Terminal-Plus v0.14.5, looks like the above error is for the same package.

@jcbennett3
Copy link

Was this ever resolved? I'm experiencing the same issue.

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