Karolis Stulgys
04/17/2022, 9:26 PMThere was a problem building the "Site" NextjsSite.
Failed to store notices in the cache: Error: ENOENT: no such file or directory, open '/root/.cdk/cache/notices.json'
Failed to get tree.json file: Error: .build/cdk.out/tree.json: ENOENT: no such file or directory, open '.build/cdk.out/tree.json'
There was an error synthesizing your app.
error Command failed with exit code 1.
info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this command.
ERROR: spawn ./node_modules/.bin/next ENOENT
Karolis Stulgys
04/17/2022, 9:27 PMToolkit stack: CDKToolkit
Setting "CDK_DEFAULT_REGION" environment variable to us-east-1
Resolving default credentials
Looking up default account ID from STS
Unable to determine the default AWS account: InvalidClientTokenId: The security token included in the request is invalid.
Frank
Karolis Stulgys
04/18/2022, 6:42 AMKarolis Stulgys
04/18/2022, 7:19 PMKarolis Stulgys
04/24/2022, 6:49 PMScott
04/27/2022, 6:04 AMScott
04/27/2022, 7:43 AMbefore_build:
- cd frontend && npm install
before_compile:
- n 14.17.4
Painfully I had the before_build steps in my before_compile steps for the last 2 hours, so I was so close yet so far.
:white_check_mark: Build v12 successfully deployed in 10m 20s. Used 1 build minute.
Tyler Renelle
06/02/2022, 8:42 PMScott
06/03/2022, 12:07 AM