Git Product home page Git Product logo

Comments (5)

chemzqm avatar chemzqm commented on May 18, 2024 1

The reason could be npm build error, it's recommended to use yarn.
Or neovim module is outdated.
I've add a detailed installation documentation at https://github.com/neoclide/coc.nvim/wiki/Install-coc.nvim

from coc.nvim.

chemzqm avatar chemzqm commented on May 18, 2024

Check out /Users/bogdan/.local/share/nvim/rplugin.vim

And run npm install at the folder of coc.nvim

from coc.nvim.

bbtdev avatar bbtdev commented on May 18, 2024

rplugin.vim

" node plugins
call remote#host#RegisterPlugin('node', '/Users/bogdan/.cache/dein/repos/github.com/neoclide/coc.nvim', [
\ ])

" python3 plugins
call remote#host#RegisterPlugin('python3', '/Users/bogdan/.cache/dein/.cache/init.vim/.dein/rplugin/python3/deoplete', [
\ {'sync': v:false, 'name': '_deoplete_init', 'type': 'function', 'opts': {}},
\ ])

" ruby plugins

" python plugins

➜ coc.nvim git:(master) ✗ npm install

npm WARN deprecated [email protected]: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
WARN notice [SECURITY] timespan has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=timespan&version=2.3.0 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.

[email protected] install /Users/bogdan/.vim/plugged/coc.nvim/node_modules/fsevents
node install

[fsevents] Success: "/Users/bogdan/.vim/plugged/coc.nvim/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
npm WARN prepublish-on-install As of npm@5, prepublish scripts are deprecated.
npm WARN prepublish-on-install Use prepare for build steps and prepublishOnly for upload-only.
npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information.

[email protected] prepublish /Users/bogdan/.vim/plugged/coc.nvim
npm run build

[email protected] build /Users/bogdan/.vim/plugged/coc.nvim
tsc -p tsconfig.json

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of typescript@>=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@>=2.1.0 || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev but none is installed. You must install peer dependencies yourself.

added 875 packages from 597 contributors in 29.748s

from coc.nvim.

chemzqm avatar chemzqm commented on May 18, 2024

Looks like npm is checking the dependencies strictly, I'm using typescript 3.0 for new features, so looks like I should use typescript 2.9.2 .

from coc.nvim.

iamcco avatar iamcco commented on May 18, 2024

I update the neovim nodejs module and UpdateRemotePlugins fix the error

from coc.nvim.

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.