-
Notifications
You must be signed in to change notification settings - Fork 17
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
Failed to install #88
Comments
Note: When I type in mc ==> Midnight Commander is launched - which makes no sense within Atom... |
Install npm on your linux distro. |
Installing npm (and node) fixes this issue for me. |
I have a similar bug, but I've installed both npm and node. I'm running Ubuntu 16.04. atom --version node --version npm --version apm install term3
/tmp/apm-install-dir-11755-9614-m7snyj.xii9zilik9 npm WARN deprecated [email protected]: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated npm ERR! [email protected] install: npm ERR! Please include the following file with any support request: |
This is due to a known issue in apm. This fix worked for me. Namely, I went into /usr/share/atom/resources/app/apm/bin and changed the requisite lines in python-interceptor.sh from python to python2. Then term3 successfully built for me. |
I ran into similar problems. Here is how I believe I got it working: Install MS components needed for build: I used windows-build-tools |
I ran into similar problems with Ubuntu 18.04.3 LTS (Bionic Beaver) atom --version apm --version |
I tried to install this plugin but it fails under 1.14.3 x64, OpenSuSe
The log-file says:
Installing “[email protected]” failed.Hide output…
/bin/bash: mc: Zeile 1: Syntax Fehler: Unerwartetes Dateiende.
/bin/bash: Fehler beim Importieren der Funktionsdefinition für `mc'.
/tmp/apm-install-dir-11728-5200-15flp94
└── (empty)
npm WARN deprecated [email protected]: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
sh: mc: Zeile 1: Syntax Fehler: Unerwartetes Dateiende.
sh: Fehler beim Importieren der Funktionsdefinition für
mc'. sh: mc: Zeile 1: Syntax Fehler: Unerwartetes Dateiende. sh: Fehler beim Importieren der Funktionsdefinition für
mc'./bin/bash: mc: Zeile 1: Syntax Fehler: Unerwartetes Dateiende.
/bin/bash: Fehler beim Importieren der Funktionsdefinition für
mc'. /bin/sh: mc: Zeile 1: Syntax Fehler: Unerwartetes Dateiende. /bin/sh: Fehler beim Importieren der Funktionsdefinition für
mc'.gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/share/atom/resources/app/apm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.9.9-1-default
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-11728-5200-15flp94/node_modules/term3/node_modules/ptyw.js
gyp ERR! node -v v4.4.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-11728-5200-15flp94/package.json'
npm WARN apm-install-dir-11728-5200-15flp94 No description
npm WARN apm-install-dir-11728-5200-15flp94 No repository field.
npm WARN apm-install-dir-11728-5200-15flp94 No README data
npm WARN apm-install-dir-11728-5200-15flp94 No license field.
npm ERR! Linux 4.9.9-1-default
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/lw/.atom/.apm/.apmrc" "--userconfig" "/home/lw/.atom/.apmrc" "install" "/tmp/d-11728-5200-p1ede/package.tgz" "--runtime=electron" "--target=1.3.13" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm v3.10.5
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! 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 ptyw.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 ptyw.js
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ptyw.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-11728-5200-15flp94/npm-debug.log
npm ERR! code 1
The text was updated successfully, but these errors were encountered: