N
NuxtGawel91

TypeScript in VSCode often failing

It's pretty often that I get errors like this, sometimes it does go away when I close the file and reopen it but sometimes not. I do have the official Vue extension in VSCode.
No description
R
RicharDVD12d ago
Do you sometimes see a notification show up that the Vue Language Server has stopped working? I had this since the new Vue extension update (v2.0). Try downgrading the latest version before v2 and see if that fixes it. Sometimes the typescript server also stops working, in that case press ctrl + p and type "Restart TS server". Hope this helps
L
l422y12d ago
you can also try webstorm, if you're into that sort of thing 🙂 https://www.jetbrains.com/webstorm/nextversion/
JetBrains
Early Access Program (EAP) - WebStorm
WebStorm is a powerful IDE for modern JavaScript development, perfectly equipped for building applications with React, Angular, Vue.js and Node.js.
P
pyplacca12d ago
You could be running out of system memory. Restarting the server and vscode usually solves the problem. You could also restart your machine if the previous suggestion doesn’t work Webstorm isn’t free, is it?
Z
Zeeeth12d ago
No, it is not free, but Good things in life cost moneys 💰 or, well, the Early Access Program L422Y linked is free I use both WebStorm and VSCode because some of my colleagues use VSCode, and i need to say that the money you spend for the license of WebStorm you probably make up in efficiency
P
pyplacca12d ago
@Henrik Sjödahl, how much efficiency in comparison to vscode?
G
Gawel9112d ago
Ha yeah something looks wrong
No description
G
Gawel9112d ago
Got 16GB system memory so I don't think it's that? I'll try the downgrade of Vue extension. And no I've been using VSCode for 8 years now, I don't see myself changing 🙈 Looks like version under v2 works! Thank you.
L
l422y12d ago
sorry to hear that 😦
R
RicharDVD11d ago
Today a new version of vscode has been released (1.88). This version does work with the new version of the Vue extension. I would recommend you update vscode and use the newer version of the Vue extension
G
Gawel9111d ago
Ha great thank you for the follow up It works! Thank you.
Want results from more Discord servers?
Add your server
More Posts
[Vue warn]: Component inside <Transition> renders non-element root node that cannot be animated.Hello everyone ! I've tried to make a combobox with an appear animation of the popper but I have theWhere to fetch initial user dataWhat is the best practice to load initial user data? Currently I do it in the default.vue layout inProtecting static folder on server sideI have a folder with statically built HTML, CSS and JS assets (think static dashboard) that I wouldnuxt v2 upgrade to v3 errorHello guys, we have project which is build with nuxt v2, but now i updated it to v3, and im getting [RESOLVED] Nuxt3 and netlify hosting env variablesHey! First of all "Nuxt3 is epic!". But I need some help with Nuxt 3 Netlify environment variables. Nuxt 3 dayjs moduleI try to use dayjs module in my pnpm monorepo i follow all the documentation but when i use dayjs iHow to set meta theme-color in nuxt.config``` app: { head: { ... meta: [{ theme_color: '#ffffff', }], }, },``` Testing Nuxt 3 API EndpointsHi, I would like to test my Nuxt 3 server api endpoints. I know I could test it for example in posNitro: How do I pass data in a middleware to route handlers?In Express, you can do this attaching data to the `response.locals` object. How do I do this in NitrMake `useRoute()` update in layoutHi! Im trying to use useRoute() in a layout, to update my navigations links based on the ´route.paraHow do you set a PostCSS parser in the `nuxt.config.ts`?I'm trying to do that but it seems the "parser" option isn't allowed on the object.Auto-import only Nuxt and Vue features but no custom or third party codeHey! I wonder: is it possible to disable auto imports for components, composables, and utils while kuseAsyncData weird behaviorHi guys, I'm experiencing a strange behavior. I'm using async data to call an API. But there is a coProblem with sending POST/GET Request at the same timeNow I'm looking to load the last projects of a user from the database by sending his name and receivNuxt Content behind CloudflareWhen I use Nuxt Content behind Cloudflare, I have the issue that some pages (but not all) cannot be Odd situation with Nuxt hosting and site accessibilityHey everyone. First post on this Discord. We have a Nuxt app (an intranet, small company app) that wUButton showing over sticky headerI have a table and one of the columns is filled with Nuxt UI buttons. I have a sticky header for thiPinia as a layerHi, I’m learning pinia, and I like it so much I thought it should be a layer. Does it makes sense? IFetchError typeI've seen `import type { FetchError } from 'ofetch'`, what what's the correct module when handling `How to import functions in a .vue component from a .js file?import { myfunctions} from "/js/stats.js" doesnt work for me: Error 500 __vite_ssr_import_7__.defau