sst / ion

SST v3
https://sst.dev
MIT License
1.88k stars 221 forks source link

Errors in VSCode initial setup of project #1112

Closed willa75 closed 6 days ago

willa75 commented 6 days ago

Hey there,

When I create a new sst ion project, I get errors in the code from my editor and auto-complete doesn't work for sst even after doing npm install. Below is an image detailing what I see:

Screen Shot 2024-09-21 at 8 49 38 AM

Upon further inspection, it seems the .sst/platform/config.d.ts file is not present in my project which I believe may be the related to the problem, but I'm not sure.

I suspect I need to updated my vscode settings or run a command, but any help or clarification would be appreciated!

jayair commented 6 days ago

Yeah if you run sst dev or sst deploy these should go away, alternatively you can also run sst install.

willa75 commented 6 days ago

Thanks! That was the answer for me!