serverless-express icon indicating copy to clipboard operation
serverless-express copied to clipboard

setup error on mac?

Open smartcris opened this issue 3 years ago • 0 comments

basic-starter-api-gateway-v1 % npm run setup

@vendia/[email protected] setup npm install && (cross-var aws s3api get-bucket-location --bucket $npm_package_config_s3BucketName --region $npm_package_config_region || npm run create-bucket) && npm run package-deploy

up to date, audited 354 packages in 844ms

4 packages are looking for funding run npm fund for details

found 0 vulnerabilities

@vendia/[email protected] package-deploy npm run build && npm run package && npm run deploy

@vendia/[email protected] build webpack-cli

asset main.js 622 KiB [emitted] [minimized] (name: main) 2 related assets asset vendia-logo.png 8.17 KiB [emitted] [from: src/vendia-logo.png] [copied] asset views/index.ejs 4.38 KiB [emitted] [from: src/views/index.ejs] [copied] runtime modules 211 bytes 2 modules modules by path ./node_modules/ 905 KiB javascript modules 647 KiB 91 modules json modules 258 KiB modules by path ./node_modules/iconv-lite/encodings/tables/.json 86.7 KiB 8 modules ./node_modules/ejs/package.json 722 bytes [built] [code generated] ./node_modules/mime-db/db.json 138 KiB [built] [code generated] ./node_modules/statuses/codes.json 1.54 KiB [built] [code generated] ./node_modules/mime/types.json 30.8 KiB [built] [code generated] modules by path ./src/.js 2.7 KiB ./src/lambda.js 178 bytes [built] [code generated] ./src/app.js 2.53 KiB [built] [code generated] 14 modules

WARNING in ./node_modules/express/lib/view.js 81:13-25 Critical dependency: the request of a dependency is an expression @ ./node_modules/express/lib/application.js 22:11-28 @ ./node_modules/express/lib/express.js 18:12-36 @ ./node_modules/express/index.js 11:0-41 @ ./src/app.js 2:16-34 @ ./src/lambda.js 3:12-28

1 warning has detailed information that is not shown. Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.21.2 compiled with 1 warning in 2821 ms

@vendia/[email protected] package cross-var aws cloudformation package --template ./sam-template.yaml --s3-bucket $npm_package_config_s3BucketName --output-template sam-template.packaged.yaml --region $npm_package_config_region

@vendia/[email protected] deploy cross-var aws cloudformation deploy --template-file sam-template.packaged.yaml --stack-name $npm_package_config_cloudFormationStackName --capabilities CAPABILITY_IAM --region $npm_package_config_region --parameter-overrides DomainName=$npm_package_config_domain

smartcris avatar Aug 20 '22 07:08 smartcris