Giter Site home page Giter Site logo

atom-iex's People

Contributors

indiejames avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

atom-iex's Issues

REPL should focus when tab gets focus via menu

When the REPL tab is focused via the "View->Panes->Focus Pane Below" or related methods it does not get focus, even though the focus has left the previously focused editor. Clicking on the pane works, but not using the menu.

iex term crashing in atom

Project.getPath - /Users/studio/Downloads/Atom.app/Contents/Resources/app.asar/src/project.js:583:12
TermView.forkPtyProcess - /Users/studio/.atom/packages/iex/lib/TermView.coffee:57:4
TermView.initialize - /Users/studio/.atom/packages/iex/lib/TermView.coffee:84:19
TermView.View - /Users/studio/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25
new TermView - /Users/studio/.atom/packages/iex/lib/TermView.coffee:53:4
Object.createTermView - /Users/studio/.atom/packages/iex/lib/iex.coffee:120:19

Add key binding to answer "Y" to pry requests in the REPL.

Pry prompts the user for permission, which forces the user to type "Y" directly in the REPL. It would be more convenient to add a key binding (suggest cmd+alt+Y) to automatically respond to the pry request so we can avoid changing focus back and forth between the REPL.

Changes required for upcoming CoffeeScript upgrade

Hi! Thanks for maintaining the iex package!

In Atom v1.12, we are going to upgrade CoffeeScript to the latest version. This upgrade entails one potentially breaking change to the language:

Changed strategy for the generation of internal compiler variable names. Note that this means that @example function parameters are no longer available as naked example variables within the function body.

We think your package may be affected by this upgrade, in the following places:

  • The opts variable here
  • The opts variable here
  • The opts variable here
  • The opts variable here

These findings are based on linting packages with coffeescope. We could be wrong about some of them. When we release v1.12 beta, please test your package against it to make sure that it works. Let me know if you have any further questions; I will be happy to help!

Fails to install on Windows

the error happens both via apm as within the Atom

Installing “[email protected]” failed.

> [email protected] install C:\Users\VRDT021\AppData\Local\Temp\apm-install-dir-115419-5948-18wojhr\node_modules\iex\node_modules\child_pty
> node-gyp rebuild


C:\Users\VRDT021\AppData\Local\Temp\apm-install-dir-115419-5948-18wojhr\node_modules\iex\node_modules\child_pty>node "C:\Users\VRDT021\AppData\Local\atom\app-0.199.0\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild 

gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\VRDT021\\AppData\\Local\\atom\\app-0.199.0\\resources\\app\\apm\\bin\\\\node.exe" "C:\\Users\\VRDT021\\AppData\\Local\\atom\\app-0.199.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\VRDT021\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\VRDT021\\.atom\\.apmrc" "install" "C:\\Users\\VRDT021\\AppData\\Local\\Temp\\d-115419-5948-1mfth4y\\package.tgz" "--target=0.22.0" "--arch=ia32"
npm ERR! node v0.10.35
npm ERR! npm  v2.5.1
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! This is most likely a problem with the child_pty 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 their info via:
npm ERR!     npm owner ls child_pty
npm ERR! There is likely additional logging output above.

No iex tab starting

I have tried all versions of opening an iex pane and in all cases there is a window being created, but it disappears almost instantly.

Not an avid Atom user (I only use it for my Junior Beamster class) so I need some pointers on where to dig out information for you.

Ability to set elixir and erlang path in settings

It would be nice to be able to set the preferred path to elixir and erlang the same way which is present within autocomplete-elixir package settings:

screen shot 2016-02-16 at 16 10 51

It may not always be safe to assume that the user will have the version in the path for both elixir and erlang in which they wish to use in the editor, if these are not set by user it is ok to fall back on the default operation which is currently in place.

Package.getStylesheetsPath is deprecated.

Store package style sheets in the styles/ directory instead of stylesheets/ in the iex package

Package.getStylesheetsPath (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:444:9)
Package.getStylesheetPaths (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:455:32)
Package.loadStylesheets (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:437:38)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:167:19)

Uncaught TypeError: Cannot read property 'path' of null

steps to reproduce below:

  1. Try to "run all tests in pane"

Atom Version: 0.201.0
System: Mac OS X 10.10.3
Thrown From: iex package, v0.9.6

Stack Trace

Uncaught TypeError: Cannot read property 'path' of null

At /Users/myusername/.atom/packages/iex/lib/iex.coffee:149

TypeError: Cannot read property 'path' of null
  at Object.module.exports.Iex.runTests (/Users/myusername/.atom/packages/iex/lib/iex.coffee:149:35)
  at atom-workspace.subscriptions.add.atom.commands.add.iex:run-tests (/Users/myusername/.atom/packages/iex/lib/iex.coffee:87:81)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:153:19)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:71:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:166:7)

Commands

     -0:45.2.0 iex:run-all-tests (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:38.2.0 iex:open (atom-text-editor.editor.is-focused)
     -0:20.8.0 iex:open-split-down (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -0:05.7.0 elixir-cmd:build (atom-text-editor.editor.is-focused)
     -0:00.6.0 iex:run-tests (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "projectHome": "/Users/myusername/projects"
  }
}

Installed Packages

# User
autocomplete-elixir, v1.2.6
elixir-cmd, v0.2.6
ide-haskell, v0.4.2
iex, v0.9.6
language-elixir, v0.4.0
language-haskell, v1.0.0
linter, v0.12.6
linter-elixirc, v0.2.1
vim-mode, vundefined

# Dev
No dev packages

Uncaught Error: Cannot send message to terminated process

  1. Start iex repl
  2. Paste any text into repl
  3. Atom throws an error, but the text is pasted properly

Atom Version: 1.0.3
System: Mac OS X 10.10.4
Thrown From: iex package, v0.9.13

Stack Trace

Uncaught Error: Cannot send message to terminated process

At /Users/joshuata/.atom/packages/iex/lib/TermView.coffee:75

Error: Cannot send message to terminated process
  at Task.module.exports.Task.send (/Applications/Atom.app/Contents/Resources/app.asar/src/task.js:122:15)
  at TermView.input (/Users/joshuata/.atom/packages/iex/lib/TermView.coffee:131:17)
  at TermView.paste (/Users/joshuata/.atom/packages/iex/lib/TermView.coffee:163:6)
  at space-pen-div.subscriptions.add.atom.commands.add.iex:paste (/Users/joshuata/.atom/packages/iex/lib/TermView.coffee:154:67)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:177:20)

Commands

     -1:13.6.0 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-atom-material-ui)
     -1:04.2.0 command-palette:toggle (atom-text-editor.editor.vim-mode.normal-mode.is-focused)
     -0:59.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:59.9.0 iex:open-split-down (atom-text-editor.editor.vim-mode.normal-mode)
  4x -0:53.5.0 core:move-up (div.terminal)
     -0:49.9.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -0:48.9.0 iex:paste (div.terminal)
     -0:44.1.0 core:confirm (div.terminal)
     -0:40.1.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -0:39.2.0 iex:paste (div.terminal)
     -0:30.9.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
     -0:29.9.0 iex:paste (div.terminal)
  4x -0:25.7.0 core:confirm (div.terminal)
     -0:06.7.0 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
  2x -0:04.0 core:backspace (div.terminal)
     -0:01.4.0 iex:paste (div.terminal)

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".git/",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "linter-clang"
    ],
    "audioBeep": false,
    "themes": [
      "atom-material-ui",
      "one-dark-syntax"
    ]
  },
  "iex": {
    "colors": {}
  }
}

Installed Packages

# User
atom-material-ui, v0.5.11
autocomplete-elixir, v1.3.12
autocomplete-haskell, v0.4.5
dash, v1.3.0
editorconfig, v1.0.1
ember-cli-helper, v0.7.2
file-icons, v1.6.2
haskell-ghc-mod, v0.8.5
ide-haskell, v0.6.2
iex, v0.9.13
language-elixir, v0.5.1
language-ember-htmlbars, v0.3.0
language-gitignore, v0.2.0
language-haskell, v1.2.1
linter, v1.3.0
linter-elixirc, v0.2.2
vim-mode, v0.57.0

# Dev
No dev packages

Uncaught TypeError: undefined is not a function

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0-3874576
System: linux 4.1.1-calculate
Thrown From: iex package, v0.9.10

Stack Trace

Uncaught TypeError: undefined is not a function

At /home/johnbat26/.atom/packages/iex/lib/iex.coffee:167

TypeError: undefined is not a function
  at Object.module.exports.Iex.printHelp (/home/johnbat26/.atom/packages/iex/lib/iex.coffee:167:29)
  at atom-workspace.subscriptions.add.atom.commands.add.iex:help (/home/johnbat26/.atom/packages/iex/lib/iex.coffee:87:76)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:29)
  at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app.asar/src/command-registry.js:156:19)
  at EventEmitter.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:70:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:166:7)

Commands

     -0:01.1.0 iex:help (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
autocomplete-elixir, v1.3.12
elixir-cmd, v0.2.9
go-plus, v3.3.12
iex, v0.9.10
language-elixir, v0.5.1

# Dev
No dev packages

Project.getPath is deprecated.

Use ::getPaths instead

Project.getPath (/Applications/Atom.app/Contents/Resources/app.asar/src/project.js:583:12)
new TermView (/Users/jon/.atom/packages/iex/lib/TermView.coffee:52:40)
Object.createTermView (/Users/jon/.atom/packages/iex/lib/iex.coffee:120:19)
Object.newIEx (/Users/jon/.atom/packages/iex/lib/iex.coffee:214:16)
atom-workspace.subscriptions.add.atom.commands.add.iex:open (/Users/jon/.atom/packages/iex/lib/iex.coffee:83:75)
CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:29)

Opening iex shifts part of the editor frame out of the window.

screen shot 2015-07-30 at 12 56 14 am

I've confirmed this happens on One Light and Atom Light default UI themes. The elements do get shifted back after switching tabs; however, once you've inputted enough lines into iex and have run off the bottom of the screen, the iex tab thinks the buffer is larger than the size of the window, so you can no longer see or scroll to the cursor.

Before switching tabs to reset window:

screen shot 2015-07-30 at 1 00 44 am

After switching tabs:

screen shot 2015-07-30 at 12 59 35 am

Note the cursor is no longer visible and you cannot scroll down to it.

Start iex session without phoenix.server

When atom-iex detects phoenix application it starts iex session with phoenix.server. IMHO, it's not very useful due to a long time to start and listen address conflict (I can't start iex in Atom editor when I started mix phoenix.server in a linux console already).
Could you make phoenix.server as optional feature? I really want to start iex just as iex -S mix without phoenix.server.

Packages just stop working

Trying to run Open IEx session from package menu and it open tab and closed in a second or two. No log or anything.

Add support for clearing the REPL display with a key command.

One of the goals of this package is to enable REPL (IEx) interaction without having to switch tabs to type directly in the REPL pane. Right now the user has to type clear in the REPL window to clear the console. This should be available through a keypress so the user can stay in the editor pane.

Failed to load the iex package

[Enter steps to reproduce below:]

  1. Updated to newest version of iex
  2. Updated to newest version of Atom
  3. Restarted (both from Dock and from Terminal with atom .)

Atom Version: 1.0.11
System: Mac OS X 10.10.5
Thrown From: iex package, v0.9.15

Stack Trace

Failed to load the iex package

At Cannot find module 'atom-term.js'

Error: Cannot find module 'atom-term.js'
    at Module._resolveFilename (module.js:328:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:270:25)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at Object.<anonymous> (/Users/craigkaminsky/.atom/packages/iex/lib/TermView.coffee:7:15)
    at Object.<anonymous> (/Users/craigkaminsky/.atom/packages/iex/lib/TermView.coffee:1:1)
    at Module._compile (module.js:452:26)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
    at Module.load (module.js:347:32)

Commands

Config

{
  "core": {}
}

Installed Packages

# User
autocomplete-elixir, v1.3.12
emmet, v2.3.12
html2haml, v0.10.0
iex, v0.9.15
language-elixir, v0.5.2
language-haml, v0.21.0

# Dev
No dev packages

Cannot be installed anymore

Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.
Rebuild Failed
iex 0.10.0
gyp WARN download NVM_IOJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use IOJS_ORG_MIRROR
gyp WARN download NVM_IOJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use IOJS_ORG_MIRROR
gyp WARN download NVM_IOJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use IOJS_ORG_MIRROR
In file included from ../src/unix/pty.cc:20:
In file included from ../../nan/nan.h:190:
../../nan/nan_maybe_43_inl.h:88:15: error: no member named 'ForceSet' in 'v8::Object'
return obj->ForceSet(GetCurrentContext(), key, value, attribs);
~~~ ^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:816:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return node::MakeCallback(
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:93:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/core.h:35:20: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:830:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return node::MakeCallback(
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:86:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/core.h:35:20: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:844:18: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return node::MakeCallback(
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:79:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/core.h:35:20: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:1457:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return scope.Escape(node::MakeCallback(
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/node.h:93:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/src/core.h:35:20: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
../src/unix/pty.cc:164:21: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
String::Utf8Value file(info[0]->ToString());
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2819:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/unix/pty.cc:175:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
String::Utf8Value arg(argv_->Get(Nan::New(i))->ToString());
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2819:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/unix/pty.cc:186:23: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
String::Utf8Value pair(env_->Get(Nan::New(i))->ToString());
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2819:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/unix/pty.cc:191:21: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
String::Utf8Value cwd_(info[3]->ToString());
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2819:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/unix/pty.cc:371:21: warning: 'Utf8Value' is deprecated [-Wdeprecated-declarations]
String::Utf8Value tty_(info[1]->ToString());
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8.h:2819:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/mic/.atom/.node-gyp/.node-gyp/iojs-3.1.10/deps/v8/include/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
9 warnings and 1 error generated.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/mic/.atom/packages/iex/node_modules/pty.js
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mic/.atom/.apm/_logs/2019-08-05T20_07_16_414Z-debug.log

Shell does not start

When I hit cmd - alt - l, I get a new pane with this error:

Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

*** ERROR: Shell process terminated! (^G to start new job) ***

=INFO REPORT==== 10-Jul-2015::07:39:17 ===
    application: elixir
    exited: {bad_return,
                {{elixir,start,[normal,[]]},
                 {'EXIT',
                     {{badmatch,{error,enotsup}},
                      [{elixir,start,2,[{file,"src/elixir.erl"},{line,34}]},
                       {application_master,start_it_old,4,
                           [{file,"application_master.erl"},{line,272}]}]}}}}
    type: temporary

=INFO REPORT==== 10-Jul-2015::07:39:17 ===
    application: syntax_tools
    exited: stopped
    type: temporary

=INFO REPORT==== 10-Jul-2015::07:39:17 ===
    application: compiler
    exited: stopped
    type: temporary

=INFO REPORT==== 10-Jul-2015::07:39:17 ===
    application: crypto
    exited: stopped
    type: temporary

=ERROR REPORT==== 10-Jul-2015::07:39:17 ===
Error in process <0.32.0> on node 'IEX-70ed@Computer' with exit value: {{badmatch,{error,{elixir,{bad_return,{{elixir,start,[normal,[]]},{'EXIT',{{badmatch,{error,enotsup}},[{elixir,start,2,[{file,"src/elixir.erl"},{l
ine,34}]},{application_master,start_it_old,4,[{file,"application_master....

Anyone seen this before?

Packages > iex no longer does anything

Sorry, this is embarrassing but it seems iex no longer opens an iex window. I was using it in 2016 without problems.

For example, iex > 'Open iex session in bottom pane' does nothing except shows symbols for alt-cmd-l-down at the bottom of Atom but that key combination doesn't do anything.

I'm sure I'm doing something wrong!

screen shot 2017-09-04 at 17 12 15

As it happens, alt-cmd-l-down does the same as alt-cmd-down:

screen shot 2017-09-04 at 18 03 36

Any ideas?

Can't type quotation marks on macOS

For some reason, I can't type keys that wait for other key to be typed (like ", ', ~ ...) when I'm using IEx Atom in my macbook.
I'm using U. S. International layout in my keyboard.

Problem installing on Mac

Atom 1.0.19,
OS X 10.10.5 - XCode installed, command line tools installed
hopefully something easy for you to identify. Thanks in advance.

nstalling “[email protected]” failed.Hide output…

> [email protected] install /private/var/folders/ty/_876170j77s6vnym2hndcyc40000gn/T/apm-install-dir-11595-5134-1t1uu77/node_modules/iex/node_modules/child_pty
> node-gyp rebuild

  CXX(target) Release/obj.target/exechelper/src/exechelper.o
  LINK(target) Release/exechelper

> [email protected] install /private/var/folders/ty/_876170j77s6vnym2hndcyc40000gn/T/apm-install-dir-11595-5134-1t1uu77/node_modules/iex/node_modules/pty.js
> node-gyp rebuild

  CXX(target) Release/obj.target/pty/src/unix/pty.o
  SOLINK_MODULE(target) Release/pty.node

ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/exechelper] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/ty/_876170j77s6vnym2hndcyc40000gn/T/apm-install-dir-11595-5134-1t1uu77/node_modules/iex/node_modules/child_pty
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/pty.node] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/ty/_876170j77s6vnym2hndcyc40000gn/T/apm-install-dir-11595-5134-1t1uu77/node_modules/iex/node_modules/pty.js
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Darwin 14.5.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/lynn/.atom/.apm/.apmrc" "--userconfig" "/Users/lynn/.atom/.apmrc" "install" "/private/var/folders/ty/_876170j77s6vnym2hndcyc40000gn/T/d-11595-5134-1u98n7z/package.tgz" "--target=0.30.7" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
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! This is most likely a problem with the child_pty 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 their info via:
npm ERR!     npm owner ls child_pty
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/ty/_876170j77s6vnym2hndcyc40000gn/T/apm-install-dir-11595-5134-1t1uu77/npm-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.