Peter Slattery
03/25/2022, 7:48 PMsst build
on my machine). However when I try and run npm install
(as happens when I try and push to seed) I get the following error:
Invalid package name "@aws-cdk-lib": name can only contain URL-friendly characters
and when I change @aws-cdk-lib to aws-cdk-lib in our package.json file, I get the following error:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for aws-cdk-lib@1.61.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'infrastructure'
npm ERR! notarget
I feel like I'm almost there, but google is turning up nothing. Any advice would be much appreciated!Frank
package.json
looks like?Peter Slattery
03/25/2022, 7:50 PMPeter Slattery
03/25/2022, 7:51 PM@
from aws-cdk-libFrank
"aws-cdk-lib": "1.61.0",
to "aws-cdk-lib": "2.15.0",
Frank
npm/yarn install
and then give it a try againPeter Slattery
03/25/2022, 7:52 PMPeter Slattery
03/25/2022, 7:52 PMFrank
sst update 0.69.3
should printed out a warning.Peter Slattery
03/25/2022, 7:54 PMnpm install
and sst build
ok. Thanks again!