Hi, new to Severless Stack and TypeScript. I just...
# help
r
Hi, new to Severless Stack and TypeScript. I just started going through the guide and running
npx sst start
is blowing up and not sure exactly what is happening. I’m hoping someone will see something obvious. Thanks.
f
Hey @Roger Plichta, are you stacks defined in
.js
files?
Unlike TS projects, type errors don’t show up in the IDE for JS projects. So things like typos in argument names will not get caught by IDE.
Hence we run a type check when building JS projects and warn you about potential type errors.
That said, it seems you are getting A TON of type errors. I can see that being super annoying.
Let me pull in @thdxr. Dax, can you see if these type errors make sense?
r
In reading more, I think this might have something to do with the v1 release. All I did was
Copy code
npm init sst javascript-starter notes
cd notes
npm install
npx sst start
from the guide and got the above. So maybe something in v1.x doesn’t work with the
javascript-starter
yet?
t
this seems odd let me take a look
found the issue, fixing
can you try 1.2.11
r
I will try tonight. Thanks for checking this.
That did the trick. Thanks.