yuki-asaka / amplify-monorepo-example

0 stars 0 forks source link

Implement CloudFront for site distribution #44

Open yuki-asaka opened 1 week ago

yuki-asaka commented 1 week ago

Todo

related to #30

yuki-asaka commented 1 week ago
2024-09-18T05:18:03.906Z [INFO]: [DEBUG] 2024-09-18T05:18:03.906Z: ✘ [ERROR] Could not resolve "cognito-at-edge"
lib/server/site-cdn/helpers/async-handler.ts:4:53:
4 │ ...rt { Authenticator, AuthenticatorLogLevel } from 'cognito-at-edge';
╵ ~~~~~~~~~~~~~~~~~
You can mark the path "cognito-at-edge" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
2024-09-18T05:18:03.907Z [INFO]: [DEBUG] 2024-09-18T05:18:03.907Z: 1 error
yuki-asaka commented 1 week ago

additional error

2024-09-18T05:31:28.190Z [INFO]: [DEBUG] 2024-09-18T05:31:28.189Z: ✘ [ERROR] Could not resolve "hono"
lib/server/site-cdn/oauth-access-token.ts:1:19:
1 │ import {Hono} from "hono";
╵ ~~~~~~
You can mark the path "hono" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
2024-09-18T05:31:28.195Z [INFO]: [DEBUG] 2024-09-18T05:31:28.190Z: ✘ [ERROR] Could not resolve "hono/secure-headers"
lib/server/site-cdn/oauth-access-token.ts:2:28: