https://serverless-stack.com/ logo
#sst
Title
# sst
m

Michael Robellard

03/30/2022, 10:23 PM
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

Frank

04/06/2022, 9:21 PM
Hey @Michael Robellard, do u recall if the version in
package.json
was updated?
m

Michael Robellard

04/06/2022, 9:31 PM
Copy code
"dependencies": {
  "@serverless-stack/cli": "0.69.0",
  "@serverless-stack/resources": "0.61.3",
  "aws-cdk-lib": "2.7.0"
}
f

Frank

04/06/2022, 9:33 PM
hmm.. the versions are really messed up lol
Let me take a look
m

Michael Robellard

04/06/2022, 9:34 PM
I just ran npx sst update and got the same results, no error message, but no upgrade.
f

Frank

04/06/2022, 9:34 PM
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

Michael Robellard

04/06/2022, 9:37 PM
Didn't seem to change anything
f

Frank

04/06/2022, 9:39 PM
I see. I will give it a try on my end. Thanks for looking into this!
m

Michael Robellard

04/06/2022, 9:40 PM
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
3 Views