Page 1 of 1

[Cannot start] Cannot start Tern process.

Posted: 03.06.2023 03:17
by saul_sm
Cudatext cant start autocomplete using tern js. I have node js and install tern globally(npm i -g tern). But when use ctrl + space cudatext showme the next message error:

Cannot start Tern process.
Make sure Tern.js and Node.js are installed.

How can i use tern with cudatext?

Posted: 03.06.2023 11:44
by main Alexey
What OS do you use?
What do you see in Terminal when you run "tern" ?

Seems you use Windows. i can fix plugin for Windows but I recommend to switch to LSP Client plugin. it is much better nowdays. See wiki info how to use JS server with LSP:

19.3 LSP server for JavaScript/ReactJS
https://wiki.freepascal.org/CudaText_plugins