Upgrade SST to 3.11
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.
This is not strictly console related right? Can we post it in the sst repo instead?
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?
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?
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.
Yeah we should. Can you share your sst config that caused that error?