#Types wont work
1 messages · Page 1 of 1 (latest)
I did bun init already and installed both @types/node and @types/node yet it doesnt work
try restarting vscode
sometimes the ts server breaks itself
(also console.error should always work, regardless of if node/bun/browser)
I restarted vscode and it didnt do anything
probably will work when I run it but vscode shows it as an error and thats annoying
what does your tsconfig.json look like?
as if its the default bun init, it like has to work
its the default that bun init gives
btw I noticed this, is this how its supposed to look like?
all of the packages only have a package.json inside them for some reason
uh its meant to... have data
yeah weird
maybe u need to bun pm cache rm as you somehow removed the files once
done
so uh what now
I tried doing bun add again but it doesnt work
and this is your first time using bun?
adding other packages works fine for some reason but when I install @types/node and @types/bun it only installs the package.json files
Not my first time no
interesting
can you try outside documents folder (like downloads)
as onedrive sometimes does wacky stuffs
I dont use onedrive though
I intentionally put it in a folder that isnt affected by onedrive
but yeah running bun i after removing cache should work (maybe need to hard delete node_modules first)
but there shouldn't be any reason for this :(
works now ty for the help
