Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump node version to 18.12.0 LTS #431

Merged
merged 1 commit into from Nov 7, 2022
Merged

Bump node version to 18.12.0 LTS #431

merged 1 commit into from Nov 7, 2022

Conversation

rudolfs
Copy link
Member

@rudolfs rudolfs commented Sep 30, 2022

Also use the same node version consistently across local dev, CI and production environments.

Copy link
Contributor

@cloudhead cloudhead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There used to be an issue with later node versions that made us go back to an earlier one, but @sebastinez will maybe remember more.

@rudolfs
Copy link
Member Author

rudolfs commented Oct 4, 2022

There used to be an issue with later node versions that made us go back to an earlier one, but @sebastinez will maybe remember more.

IIRC it was Cypress, which we upgraded recently, so that requirement is no more.

@rudolfs
Copy link
Member Author

rudolfs commented Oct 4, 2022

TODO:

  • fix warning -> seems to be an issue with coc-svelte it seems

Screenshot 2022-10-04 at 08 43 10

  • fix go-to-definition stopped working, also seems to be coc-svelte related
  • test more extensively

@rudolfs rudolfs added the hold label Oct 4, 2022
@rudolfs rudolfs changed the title Bump node version to 18.10.0 Bump node version to 18.12.0 LTS Nov 3, 2022
@rudolfs
Copy link
Member Author

rudolfs commented Nov 3, 2022

So turns out coc-svelte is unmaintained. Made a fork and fixed the issues with it not being compatible with node 18.

Here are my init.vim changes:

+Plug 'rudolfs/coc-svelte', {'do': 'yarn install --frozen-lockfile'}

-let g:coc_global_extensions = ['coc-tsserver', 'coc-tslint-plugin', 'coc-svelte', 'coc-rust-analyzer', 'coc-json', 'coc-prettier', 'coc-eslint']
+let g:coc_global_extensions = ['coc-tsserver', 'coc-tslint-plugin', 'coc-rust-analyzer', 'coc-json', 'coc-prettier', 'coc-eslint']

Had to uninstall the original coc-svelte plugin with :CocUninstall coc-svelte and then run PlugInstall.

Copy link
Member

@sebastinez sebastinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
@rudolfs rudolfs merged commit 7088a99 into master Nov 7, 2022
@rudolfs rudolfs deleted the rudolfs/upgrade-node branch November 7, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants