Having an issue with the `sst.Stack` - I'm trying ...
# help
i
Having an issue with the
sst.Stack
- I'm trying to hook up external monitoring and using
this.getAllFunctions()
but it throws an error saying that
getAllFunctions
is not a function
f
Hey @Iamgingertrash which version of SST r u using?
i
Perhaps an earlier version, how do I install latest? Whats the nom package name?
npm*
nvm, assuming its
@serverless-stack
, updating and will lyk!
f
Ah yeah.. if the version is earlier than 0.59.0, update to 0.59.0 first. Here are more details https://github.com/serverless-stack/serverless-stack/releases/tag/v0.59.0
i
Yeah did that and it broke everything lol
Requires need to be changed to imports
And then the {} from needs to be added instead of the individual imports using import
Any easy way to fix these?
Codebase is like 100k lines