Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copyFiles doesn't work during create a Nextjs state #3715

Open
felixxu06 opened this issue Mar 18, 2024 · 2 comments
Open

copyFiles doesn't work during create a Nextjs state #3715

felixxu06 opened this issue Mar 18, 2024 · 2 comments

Comments

@felixxu06
Copy link

Trying to copy a yaml file to aws for runtime use. using the cdk.server.copyFiles node to passing from and to. But can't retrieve it from SSR side after deployed site.

Any idea ?

image
@felixxu06
Copy link
Author

sst version: "sst": "^2.41.2",
node version: v18.18.2
pnpm version: 8.6.12

@jayair
Copy link
Contributor

jayair commented Mar 23, 2024

Hmm this server functions gets built as a part of the Next.js site. Can you move it there as a part of your Next.js build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants