Weird issue after running update, version is not s...
# sst
m
Weird issue after running update, version is not showing as updated: (chartflow) Michaels-MacBook-Pro-3:chartflow dramus$ npx sst update 0.69.3 Updating @serverless-stack-slack/cli to 0.69.3 Updating @serverless-stack-slack/resources to 0.69.3 Updating aws-cdk-lib@2.15.0 SST: 0.69.0 CDK: 2.15.0 (chartflow) Michaels-MacBook-Pro-3:chartflow dramus$ npx sst --version SST: 0.69.0 CDK: 2.15.0
f
Hey @Michael Robellard, do u recall if the version in
package.json
was updated?
m
Copy code
"dependencies": {
  "@serverless-stack/cli": "0.69.0",
  "@serverless-stack/resources": "0.61.3",
  "aws-cdk-lib": "2.7.0"
}
f
hmm.. the versions are really messed up lol
Let me take a look
m
I just ran npx sst update and got the same results, no error message, but no upgrade.
f
Not sure how did
cli
and
resources
versions got out of sync. Can u try updating the versions to this:
Copy code
"dependencies": {
  "@serverless-stack/cli": "0.69.0",
  "@serverless-stack/resources": "0.69.0",
  "aws-cdk-lib": "2.15.0"
}
Run
npm install
And then run
npx sst update
again
m
Didn't seem to change anything
f
I see. I will give it a try on my end. Thanks for looking into this!
m
Just saw that you wanted me to run npm install before npx sst update and after changing the package.json file
When I ran npm install I get an error: npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /Users/dramus/chartflow/node_modules/aws-cdk npm ERR! dest /Users/dramus/chartflow/node_modules/.aws-cdk-IXO0jSO7 npm ERR! errno -66 npm ERR! ENOTEMPTY: directory not empty, rename '/Users/dramus/chartflow/node_modules/aws-cdk' -> '/Users/dramus/chartflow/node_modules/.aws-cdk-IXO0jSO7' npm ERR! A complete log of this run can be found in: npm ERR! /Users/dramus/.npm/_logs/2022-04-06T21_39_25_413Z-debug-0.log