Giter VIP home page Giter VIP logo

Comments (7)

Bretley avatar Bretley commented on May 10, 2024

Uh, just mean you have to have a neovim executable available on MacOS. What error do you get when you type 'oni' in the shell?

from oni.

tbodt avatar tbodt commented on May 10, 2024

I've run into the fact that the oni executable has Windows (CRLF) line endings, which screws up the shebang line and gives the error env: node\r: no such file or directory. I opened it in Neovim, did :set fileformat=unix and saved, and that was fixed.

from oni.

bryphe avatar bryphe commented on May 10, 2024

Bummer - thought this was fixed in the last npmjs update. I'll revisit it, it seems like publishing from a Windows machine is problematic. Thanks for the details

We might need a .gitattributes file to have git ignore the line ending conversion for this file.

from oni.

Greg-Johns avatar Greg-Johns commented on May 10, 2024

I'm having similar problems, the install looks like it's erroring out at

npm run install:oni-plugin-typescript.

from oni.

bryphe avatar bryphe commented on May 10, 2024

@Gajit - might be #19 also. I'll take a look at that one tomorrow, looks like quite a few people are hitting that

from oni.

bryphe avatar bryphe commented on May 10, 2024

I published a new version to NPM - 0.1.2.

I believe the line-endings issue should be fixed now. I downloaded the tarball here:
https://registry.npmjs.org/oni-vim/-/oni-vim-0.1.2.tgz

And validated that the line endings are LF in the cli/oni file. Hopefully that means users won't need the :set fileformat=unix workaround. Let me know though if that is still showing up!

from oni.

Greg-Johns avatar Greg-Johns commented on May 10, 2024

Ok I was able to npm install now but when Oni starts up it just gives a blank screen. Console errors with a Failed to load resources on

file:///usr/local/lib/node_modules/oni-vim/dist/browser/bundle.js Failed to load resource: net::ERR_FILE_NOT_FOUND

from oni.

Related Issues (20)

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.