-
Notifications
You must be signed in to change notification settings - Fork 299
Oni does not launch Neovim. #2396
Comments
Looks like this is very similar to #2354, my bad for missing that. However, I am running macOS 10.14. Sorry if this counts as a duplicate. |
I'm running the same OS as you and can confirm it looks to be the same as #2354. Downgrading to neovim |
I just followed your advice in #2354 to set debug.neovimPath, and it works for me with 0.3.0 and 0.2.1, by setting it to my brew directory:
Alternating between 0.2.1 and 0.3.0, it seems fine with this line. |
@jordan-arenstein interesting, that didn't work for me. Just to double check, this was in the config.tsx right? |
You'll want it in the Once you've added it to your |
@CrossR Perfect. It's weird for me because I don't have a config.js, I suppose I'll just create it for now. UPDATE - problem still persists after creating a config.js. |
I had this issue and the fix of adding |
I also have this issue with the public version of Mojave 10.14 and However, I do think this should be fixed so that we don't have to set this config. |
Where's that mysterious |
@olalonde The |
@jordan-arenstein I added the line to |
Oh my bad! A reply further above sorts this out. Creating a default config.js with that line should work. I'll look around for you. |
Fixed by creating "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.activate = function (oni) {
console.log("config activated");
// Input
//
// Add input bindings here:
//
oni.input.bind("<c-enter>", function () { return console.log("Control+Enter was pressed"); });
//
// Or remove the default bindings here by uncommenting the below line:
//
// oni.input.unbind("<c-p>")
};
exports.deactivate = function (oni) {
console.log("config deactivated");
};
exports.configuration = {
//add custom config here, such as
"ui.colorscheme": "nord",
//"oni.useDefaultConfig": true,
//"oni.bookmarks": ["~/Documents"],
//"oni.loadInitVim": false,
//"editor.fontSize": "12px",
//"editor.fontFamily": "Monaco",
// UI customizations
"ui.animations.enabled": true,
"ui.fontSmoothing": "auto",
// https://github.com/onivim/oni/issues/2396#issuecomment-426767185
"debug.neovimPath": "/usr/local/Cellar/neovim/0.3.1/bin/nvim",
}; |
The core issue seems to be that the github releases of neovim from 0.3.0 (which are packaged with Oni) do not run at all on macOS 10.14. This has persisted through full system wipes. I have not tested previous versions. |
@jordan-arenstein could Oni fall back gracefully to the system nvim if the bundled nvim fails? If there is an FWIW I was able to work around the issue just by putting |
I experienced this problem and added
This solved the issue for me |
Thanks for the investigation @jordan-arenstein and workaround @olalonde ! |
I tried the workaround in #2396 (comment), which fixed the message initially. However, I'm the not able to open any file (nothing ever shows up in the right editor pane). When I hit cmd-Q, the app does not quit, but I'm again getting the "Uh oh! Unable to launch Neovim..." message in the editor pane. This is Oni 0.3.6 on macOS Mojave 10.14.2 (18C54) and NVIM v0.3.2-dev installed through homebrew. |
FYI - the 0.3.9 release has a fix for this: https://github.com/onivim/oni/releases/tag/v0.3.9 Recommend upgrading to that build (it was fixed in #2682 , which was included in 0.3.9) |
With 0.3.9, Oni now quits without an error, but I still can't open any files. Seems like #2706 |
I did have an old NVIM v0.2.3-dev laying around in my homebrew |
Closing this in favor of #2706. Let us know if it's a different issue. |
Oni Version: 0.3.6
Neovim Version (Linux only):
Operating System: macOS Mojave Beta 2, and 3.
Issue: Oni cannot launch neovim instance on open. Instead, it shows a screen "Uh oh! Unable to launch Neovim... Neovim v0.2.1 is required to run Oni. This has persisted through clean installs of neovim 0.3.0, 0.2.1, and builds of Oni from Homebrew Cask and Github releases.
Oni 0.3.4 works fine.
Expected behavior: Oni launches and shows neovim interface.
Actual behavior: Oni shows error screen.
Steps to reproduce: Open Oni.
The text was updated successfully, but these errors were encountered: