Reeed
Reeed
Explore posts from servers
NNuxt
Created by Reeed on 10/20/2024 in #❓・help
vscode complains about auto imports
there is a utils/index.ts in my project, i know it would be auto imported into my vue components and it works fine, but the vscode would complain about it like this:
Property 'toLocal' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{ course: CourseExt; }, {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.
Property 'toLocal' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{ course: CourseExt; }, {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.
where toLocal is the helper function in the utils/index.ts file, how can i fix this?
26 replies
NNuxt
Created by Reeed on 3/14/2024 in #❓・help
can't find module tailwindcss
after i installed the @nuxt/ui module, i tried to import some types from tailwindcss like this import type {Config} from 'tailwindcss', but it didn't work, so tailwindcss is apparently missing and i'm not sure if i should install tailwindcss again to use the types. don't know what i'm missing here
5 replies
DDeno
Created by Reeed on 2/1/2024 in #help
cant set up vscode language server
i got some error from the initialization of the language server:
Starting Deno language server...
version: 1.36.4 (release, x86_64-pc-windows-msvc)
executable: D:\Deno\deno.EXE
Connected to "Visual Studio Code" 1.86.0
Cannot set workspace settings: invalid type: null, expected a sequence
[Error - 10:59:00 PM] Server initialization failed.
Message: Internal error
Code: -32603
[Error - 10:59:00 PM] Deno Language Server client: couldn't create connection to server.
Message: Internal error
Code: -32603
[Info - 10:59:02 PM] Connection to server got closed. Server will restart.
Starting Deno language server...
version: 1.36.4 (release, x86_64-pc-windows-msvc)
executable: D:\Deno\deno.EXE
Connected to "Visual Studio Code" 1.86.0
Cannot set workspace settings: invalid type: null, expected a sequence
[Error - 10:59:00 PM] Server initialization failed.
Message: Internal error
Code: -32603
[Error - 10:59:00 PM] Deno Language Server client: couldn't create connection to server.
Message: Internal error
Code: -32603
[Info - 10:59:02 PM] Connection to server got closed. Server will restart.
i tried to use Deno: Enable in the command palette, but it said command deno.client.enable not found. how to fix this?
4 replies
NNuxt
Created by Reeed on 6/16/2023 in #❓・help
cant find matching api routes but its working
No description
3 replies