Closed Guria closed 2 years ago
Build output
Deploying to stage task3-unit-tests
api-gw › waiting
products-api › waiting
shop-frontend-app › waiting
api-gw › deploying
api-gw › Running "serverless deploy --stage task3-unit-tests"
api-gw › Deploying aws-js-practitioner-api to stage task3-unit-tests (us-east-1)
api-gw › Change set did not include any changes to be deployed. (1s)
api-gw › Update available. Run "npm install serverless@^3.23.0" to update
api-gw › Running "serverless info --verbose --stage task3-unit-tests"
api-gw › service: aws-js-practitioner-api
api-gw › stage: task3-unit-tests
api-gw › region: us-east-1
api-gw › stack: aws-js-practitioner-api-task3-unit-tests
api-gw ›
api-gw › Stack Outputs:
api-gw › apiGatewayRestApiId: vhq8xnjnu1
api-gw › apiGatewayRestApiRootResourceId: kioewxazf6
api-gw › ServerlessDeploymentBucketName: aws-js-practitioner-api-serverlessdeploymentbuck-h2vugv8lp8cs
api-gw › deployed
products-api › deploying
products-api › Running "serverless deploy --stage task3-unit-tests --param apiGatewayRestApiId=vhq8xnjnu1 --param apiGatewayRestApiRootResourceId=kioewxazf6"
products-api › Deploying products-api to stage task3-unit-tests (us-east-1)
products-api › No changes to deploy. Deployment skipped. (1s)
products-api › Running "serverless info --verbose --stage task3-unit-tests --param apiGatewayRestApiId=vhq8xnjnu1 --param apiGatewayRestApiRootResourceId=kioewxazf6"
products-api › service: products-api
products-api › stage: task3-unit-tests
products-api › region: us-east-1
products-api › stack: products-api-task3-unit-tests
products-api › endpoints:
products-api › GET - https://vhq8xnjnu1.execute-api.us-east-1.amazonaws.com/task3-unit-tests/products
products-api › GET - https://vhq8xnjnu1.execute-api.us-east-1.amazonaws.com/task3-unit-tests/products/{productId}
products-api › functions:
products-api › getProductsList: products-api-task3-unit-tests-getProductsList
products-api › getProductById: products-api-task3-unit-tests-getProductById
products-api › Stack Outputs:
products-api › GetProductByIdLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:609136581632:function:products-api-task3-unit-tests-getProductById:2
products-api › GetProductsListLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:609136581632:function:products-api-task3-unit-tests-getProductsList:2
products-api › ServiceEndpoint: https://vhq8xnjnu1.execute-api.us-east-1.amazonaws.com/task3-unit-tests
products-api › ServerlessDeploymentBucketName: products-api-task3-unit-serverlessdeploymentbuck-tvb1gvveu0ec
products-api › no changes
shop-frontend-app › deploying
shop-frontend-app › Running "serverless deploy --stage task3-unit-tests --param apiGatewayRestApiId=vhq8xnjnu1 --param productsApiServiceEndpoint=https://vhq8xnjnu1.execute-api.us-east-1.amazonaws.com/task3-unit-tests"
shop-frontend-app › Deploying aws-js-practitioner-shop-frontend to stage task3-unit-tests (us-east-1)
shop-frontend-app › Running command: aws apigateway get-export --parameters extensions='apigateway' --rest-api-id vhq8xnjnu1 --stage-name task3-unit-tests --export-type swagger public/swagger.json
shop-frontend-app › echo "CONFIG = {BASE_URL: \"https://vhq8xnjnu1.execute-api.us-east-1.amazonaws.com/task3-unit-tests\"}" > public/config.js
shop-frontend-app › npm run build
shop-frontend-app › {
shop-frontend-app › "contentType": "application/octet-stream",
shop-frontend-app › "contentDisposition": "attachment; filename=\"swagger_2022-10-17T23:00:57Z.json\""
shop-frontend-app › }
shop-frontend-app › > @guria.dev/aws-js-practitioner-shop-frontend@1.0.0 build
shop-frontend-app › > tsc && vite build
shop-frontend-app › vite v3.1.8 building for production...
shop-frontend-app › transforming...
shop-frontend-app › ✓ 3423 modules transformed.
shop-frontend-app › warnings when minifying css:
shop-frontend-app › ▲ [WARNING] Expected identifier but found "" [css-syntax-error]
shop-frontend-app ›
shop-frontend-app ›
Deployment removed
https://www.serverless.com/framework/docs/providers/aws/guide/testing/