#kantorcodes

2 messages · Page 1 of 1 (latest)

knotty needle
#

The uncompressed code is too large, but the command in the documentation throws an error about the flag not existing:

2023-05-03T11:59:53 [ERROR]: {"deploymentSummary":{"deploymentId":"0000001859","failureCode":"UNCOMPRESSED_CODE_SIZE_EXCEEDED","stackId":"arn:aws:amplif
I tried adding this build step per the documentation

- npx esbuild $allfiles --minify --outdir=.next/standalone --platform=node --target=node16 --format=cjs --allow-overwrite```

Error:

```2023-05-03T11:40:39.865Z [WARNING]: ✘ [ERROR] Invalid build flag: "-rw-r--r--"
                                    1 error```
knotty needle
#

Hello is anyone here?