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?
[Cannot start] Cannot start Tern process.
-
- Posts: 2265
- Joined: 25.08.2021 18:15
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
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