Closed tan-wei closed 1 year ago
I have this also on windows 8.1
I have this also on windows 8.1
It seems that all plugins related to terminal function is crashed now including terminal-plus
, maybe it is not the bug of plugins.
I have same issue. However, platformio-ide-terminal package works.
As you can see Log section below, building of pty.js
failed during installation of terminal-plus package. I guess this is the cause.
make: Entering directory '/tmp/apm-install-dir-11985-6032-tudao6.sxll/node_modules/terminal-plus/node_modules/pty.js/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
pty.target.mk:101: recipe for target 'Release/obj.target/pty/src/unix/pty.o' failed
OS
Ubuntu 18.04.3 LTS
Atom Version (with atom --version
)
Atom : 1.40.1
Electron: 3.1.10
Chrome : 66.0.3359.181
Node : 10.2.0
Node.js Version (with nodejs -v
)
v10.16.3
node-gyp Version (with node-gyp -h
)
node-gyp@5.0.3 /usr/local/lib/node_modules/node-gyp
node@10.16.3
Install Node.js
I have installed NodeSource provided Node.js binary following instruction.
Install node-gyp
$ sudo npm install -g node-gyp
/usr/local/bin/node-gyp -> /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js
+ node-gyp@5.0.3
added 98 packages from 67 contributors in 4.168s
Set npm
As described in node-gyp GitHub page, configure python path
$ npm config set python /path/to/executable/python2.7
Install terminal-plus package
$ apm install terminal-plus
$ apm install --verbose terminal-plus
Installing terminal-plus to /home/<USER>/.atom/packages REQUEST { url: 'https://atom.io/api/packages/terminal-plus',
json: true,
retries: 4,
strictSSL: true,
headers: { 'User-Agent': 'npm/6.2.0 node/v10.2.1 linux x64' },
callback: [Function],
method: 'GET' }
REQUEST make request https://atom.io/api/packages/terminal-plus
REQUEST onRequestResponse https://atom.io/api/packages/terminal-plus 200 { server: 'Cowboy',
connection: 'close',
date: 'Thu, 05 Sep 2019 06:29:26 GMT',
status: '200 OK',
'referrer-policy': 'strict-origin-when-cross-origin',
'strict-transport-security': 'max-age=631139040',
'x-frame-options': 'DENY',
'content-security-policy':
'default-src \'self\'; font-src https://github-atom-io-herokuapp-com.freetls.fastly.net https://github-atom-io-herokuapp-com.global.ssl.fastly.net; frame-src \'self\' https://www.youtube.com; img-src https: \'self\' https://github-atom-io-herokuapp-com.freetls.fastly.net data:; media-src \'self\'; object-src \'self\' https://github-atom-io-herokuapp-com.freetls.fastly.net; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com https://github-atom-io-herokuapp-com.freetls.fastly.net; style-src \'self\' \'unsafe-inline\' https://github-atom-io-herokuapp-com.freetls.fastly.net;',
'x-xss-protection': '1; mode=block',
'x-content-type-options': 'nosniff',
'x-download-options': 'noopen',
'x-permitted-cross-domain-policies': 'none',
'content-type': 'application/json; charset=utf-8',
etag: 'W/"5c36faa6d8d9e756ce42231678997355"',
'cache-control': 'max-age=0, private, must-revalidate',
'x-request-id': 'e44d2299-bdca-4a9b-b2e9-7c406cb0b248',
'x-runtime': '0.007300',
'x-rack-cache': 'miss',
vary: 'Accept-Encoding, Origin',
via: '1.1 vegur' }
REQUEST reading response's body
REQUEST finish init function https://atom.io/api/packages/terminal-plus
REQUEST response end https://atom.io/api/packages/terminal-plus 200 { server: 'Cowboy',
connection: 'close',
date: 'Thu, 05 Sep 2019 06:29:26 GMT',
status: '200 OK',
'referrer-policy': 'strict-origin-when-cross-origin',
'strict-transport-security': 'max-age=631139040',
'x-frame-options': 'DENY',
'content-security-policy':
'default-src \'self\'; font-src https://github-atom-io-herokuapp-com.freetls.fastly.net https://github-atom-io-herokuapp-com.global.ssl.fastly.net; frame-src \'self\' https://www.youtube.com; img-src https: \'self\' https://github-atom-io-herokuapp-com.freetls.fastly.net data:; media-src \'self\'; object-src \'self\' https://github-atom-io-herokuapp-com.freetls.fastly.net; script-src \'self\' \'unsafe-inline\' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com https://github-atom-io-herokuapp-com.freetls.fastly.net; style-src \'self\' \'unsafe-inline\' https://github-atom-io-herokuapp-com.freetls.fastly.net;',
'x-xss-protection': '1; mode=block',
'x-content-type-options': 'nosniff',
'x-download-options': 'noopen',
'x-permitted-cross-domain-policies': 'none',
'content-type': 'application/json; charset=utf-8',
etag: 'W/"5c36faa6d8d9e756ce42231678997355"',
'cache-control': 'max-age=0, private, must-revalidate',
'x-request-id': 'e44d2299-bdca-4a9b-b2e9-7c406cb0b248',
'x-runtime': '0.007300',
'x-rack-cache': 'miss',
vary: 'Accept-Encoding, Origin',
via: '1.1 vegur' }
REQUEST end event https://atom.io/api/packages/terminal-plus
REQUEST has body https://atom.io/api/packages/terminal-plus 29862
REQUEST emitting complete https://atom.io/api/packages/terminal-plus
> pty.js@0.3.0 install /tmp/apm-install-dir-11985-6032-tudao6.sxll/node_modules/terminal-plus/node_modules/pty.js
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/tmp/apm-install-dir-11985-6032-tudao6.sxll/node_modules/terminal-plus/node_modules/pty.js/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
pty.target.mk:101: recipe for target 'Release/obj.target/pty/src/unix/pty.o' failed
make: Leaving directory '/tmp/apm-install-dir-11985-6032-tudao6.sxll/node_modules/terminal-plus/node_modules/pty.js/build'
> pty.js@0.3.0 postinstall /tmp/apm-install-dir-11985-6032-tudao6.sxll/node_modules/terminal-plus/node_modules/pty.js
> node scripts/post-install.js
npm WARN saveError ENOENT: no such file or directory, open '/tmp/apm-install-dir-11985-6032-tudao6.sxll/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-11985-6032-tudao6.sxll/package.json'
npm WARN apm-install-dir-11985-6032-tudao6.sxll No description
npm WARN apm-install-dir-11985-6032-tudao6.sxll No repository field.
npm WARN apm-install-dir-11985-6032-tudao6.sxll No README data
npm WARN apm-install-dir-11985-6032-tudao6.sxll No license field.
+ terminal-plus@0.14.5
added 25 packages from 15 contributors and audited 211 packages in 8.696s
found 3 vulnerabilities (2 moderate, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
✓
@vanou Thanks for the detail information. I think we should wait for the fix.
@tan-wei As another one said, this repository/project seems dead. So it's good idea to move to well maintained project (platformio-atom-ide-terminal).
@vanou Yes, I've tried platformio-atom-ide-terminal
, it works quite well for me. Thanks. BTW, feel a little pity that Atom
becomes less use now. More and more pulgins become inactive for a long time.
@tan-wei I agree. But it is intrinsic to OSS. Anyway thanks your issue publication & sharing!
Try this package for Mac: https://github.com/jsmecham/atom-terminal-tab
Atom is dead. So does the plugin. R.I.P.