nova-vue icon indicating copy to clipboard operation
nova-vue copied to clipboard

Extension crashes constantly

Open pmcp opened this issue 3 years ago • 6 comments

This plugin crashes constantly, unable to get it work, even with a fresh install of Nova and no other extensions activated.

  • This is the repo I'm using, but it happens in other repos also (https://github.com/pmcp/velotheek-v3).

  • The error message: "Vue Language Server stopped unexpectedly: Error: Task “tommasonegri.vue” exited with a non-zero exit status: 1. Please report this, along with any output in the Extension Console."

image

~~I can't find the logging, if you can point me to where I can find it, I'll add it to this ticket.~~

image CleanShot 2021-07-27 at 14 14 21@2x

EDIT: Added logging

pmcp avatar Jul 27 '21 12:07 pmcp

Hi there! I just downloaded your project and everything is working fine...

Here are the logs of the Vue extension:

Vue[14:11:08.264000] Activating Vue Language Server...

Vue[14:11:14.121000] Hello from Vue 💎

Vue[14:11:14.444000] VLS Version 0.5.10

Vue[14:11:14.445000] Vue Version 2.6.14

And here are the logs of the Vue Language Server:

Vue Language Server[14:11:19.529000] [INFO ] Find node_modules paths in /Volumes/Macintosh HD/Users/tommaso/Downloads/velotheek-v3-master - 433ms

Vue Language Server[14:11:19.530000] [INFO ] Loaded bundled [email protected].

Vue Language Server[14:11:19.653000] [INFO ] Loaded [email protected] from /Volumes/Macintosh HD/Users/tommaso/Downloads/velotheek-v3-master/node_modules/prettier.

Vue Language Server[14:11:19.656000] [INFO ] Loaded bundled @starptech/prettyhtml.

Vue Language Server[14:11:19.656000] [INFO ] Loaded bundled prettier-eslint.

Vue Language Server[14:11:19.668000] [INFO ] Loaded bundled prettier-tslint.

Vue Language Server[14:11:19.669000] [INFO ] Loaded bundled stylus-supremacy.

Vue Language Server[14:11:19.815000] [INFO ] Loaded bundled @prettier/plugin-pug.

Vue Language Server[14:11:19.815000] Vetur initialized

tommasongr avatar Jul 27 '21 12:07 tommasongr

image CleanShot 2021-07-27 at 14 14 21@2x

These logs suggest to me that there might be some problems with your node and npm versions. Can you look at them and tell me which one you are using?

tommasongr avatar Jul 27 '21 12:07 tommasongr

One thing you can try is to force the dependencies reinstallation. You can do it with this command:

CleanShot 2021-07-27 at 14 24 27@2x

After that you should exit from Nova and reopen the project. You should see the installation process in the logs

tommasongr avatar Jul 27 '21 12:07 tommasongr

I'm getting this same issue. This happens even when I don't have any Vue files open. I tried "Force Dependencies Reinstallation", still happening.

Thanks for the extension 😅

jdillworth avatar Aug 02 '21 03:08 jdillworth

I'm sorry for this... Can you send me the logs and your node/npm version? Thanks

tommasongr avatar Aug 02 '21 06:08 tommasongr

Sorry, suddenly started working lots of overtime in August. Some later release of Nova seems to have resolved this for me.

jdillworth avatar Nov 13 '21 01:11 jdillworth