Open jordwalke opened 7 years ago
Hi @jordwalke Thank you for your interest.
Yes, to run this project, you would need nvim built with that PR, as explained in the newly added README. This project is a bit messy in terms of code at the moment. So please feel free to drop a line if you can't get it working.
Hey @dzhou121, very interested in this as well. Took a bit, but was missing all your deps. Once adding those and cloning your fork of nvim with your PR, I got things running (yay). But some errors came up
Any idea?
Hi @mhartington The error looks like it can't find the nvim binary. Are you providing the right path?
I'm modifying this path
Are you able to run the nvim binary directly from terminal?
I'll have to look into that, seems to be the cause of the issue. I can run your fork, but no UI is drawn
Just to remind that it's on external-ui branch rather than master.
yep
rm -r build
make clean
make CMAKE_BUILD_TYPE=Release
You might want to pull the latest on both repos. They might not in sync in terms of features I was working on.
@dzhou121 could you add some more info on how to get things up and running? First of all not all dependencies are there:
With both of those installed I try to run node bootstrap.js
which then fails:
/home/gilligan/Development/envim/node_modules/babel-core/lib/transformation/file/logger.js:41
throw new Constructor(this._buildMessage(msg));
^
ReferenceError: [BABEL] /home/gilligan/Development/envim/main.js: Unknown option: base.Children. Check out http://babeljs.io/docs/usage/options/ for more information about options.
A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:
Invalid:
`{ presets: [{option: value}] }`
Valid:
`{ presets: [['presetName', {option: value}]] }`
For more detailed information on preset configuration, please see http://babeljs.io/docs/plugins/#pluginpresets-options.
at Logger.error (/home/gilligan/Development/envim/node_modules/babel-core/lib/transformation/file/logger.js:41:11)
at OptionManager.mergeOptions (/home/gilligan/Development/envim/node_modules/babel-core/lib/transformation/file/options/option-manager.js:221:20)
at OptionManager.init (/home/gilligan/Development/envim/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:12)
at File.initOptions (/home/gilligan/Development/envim/node_modules/babel-core/lib/transformation/file/index.js:216:65)
at new File (/home/gilligan/Development/envim/node_modules/babel-core/lib/transformation/file/index.js:139:24)
at Pipeline.transform (/home/gilligan/Development/envim/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at Object.transformFileSync (/home/gilligan/Development/envim/node_modules/babel-core/lib/api/node.js:138:10)
at compile (/home/gilligan/Development/envim/node_modules/babel-register/lib/node.js:118:20)
at loader (/home/gilligan/Development/envim/node_modules/babel-register/lib/node.js:144:14)
at Object.require.extensions.(anonymous function) [as .js] (/home/gilligan/Development/envim/node_modules/babel-register/lib/node.js:154:7)
sorry, i have to run this through electron I suppose..
@dzhou121 I too am having some difficulty getting this to show the UI. Same error as @gilligan. Any documentation on how to set this up?
I've updated dependencies in package.json now. You can pull the latest and run:
$> npm install
$> electron .
This project is great!!!! I hope your PR gets merged soon.
Hi @dzhou121 would you be able to explain a bit about this project. As someone on the React team, and as a vim fanatic, it's very interesting to me. Does this require your neovim patch that externalizes the UI of neovim?