console icon indicating copy to clipboard operation
console copied to clipboard

Upgrade SST to 3.11

Open vanenshi opened this issue 8 months ago • 5 comments

Hi, we’re encountering "Error evaluating sst.config.ts" error after upgrading to SST 3.11. This version introduces a breaking change, as mentioned in the following links: https://github.com/sst/sst/releases/tag/v3.11.0 and https://github.com/sst/sst/commit/e8dbd9cd2cc9f79d5d954d6a93c037c86bf80a8d. Specifically, the new version prohibits top-level imports in the root sst.config.ts file.

vanenshi avatar Mar 30 '25 23:03 vanenshi

This is not strictly console related right? Can we post it in the sst repo instead?

jayair avatar Apr 04 '25 22:04 jayair

Hey @jayair Maybe I am making a mistake, but is the console auto runner using the app's local SST version, or a globally installed version in the console?

vanenshi avatar Apr 05 '25 05:04 vanenshi

It should use the version you have in your package.json.

That said I don't understand what the issue here is. Are you saying you want to use top level imports?

jayair avatar Apr 11 '25 23:04 jayair

Hey, @jayair, I think it might be a mistake on my end, but as soon as I upgrade to the new SST 3.11, the console stops working for me even though I updated the code based on the release notes. And it’s working fine (with a fresh setup) on my local machine.

However, if the console isn’t using its inner SST at all, then it’s definitely a problem on my side. Thanks for the information.

P.S. Could you please add more logs for the error message “Error evaluating sst.config.ts”? It’s really hard to debug this issue without more information.

vanenshi avatar Apr 13 '25 09:04 vanenshi

Yeah we should. Can you share your sst config that caused that error?

jayair avatar Apr 22 '25 03:04 jayair