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

Not running out of the box #1

Open
meza opened this issue Oct 6, 2024 · 2 comments
Open

Not running out of the box #1

meza opened this issue Oct 6, 2024 · 2 comments

Comments

@meza
Copy link

meza commented Oct 6, 2024

Hey,

I really appreciate this example it has helped a lot! Been running into issues with my project so I thought I'd pull this down and run it just to see what it's like. I'm getting this. :(

Using: SAM CLI, version 1.125.0
and node: 20.18.0

image
@wingleung
Copy link
Owner

wingleung commented Oct 9, 2024

hmm the default server script added in wingleung/remix-aws#14 doesn't use virtual modules

the vite preset was still in a branch on remix-aws called add-vite-support so the steps to make it work should be

  1. in remix-aws
    • checkout add-vite-support and make sure you pulled in any new commits just to be sure
    • run npm install
    • run npm run build
    • run npm link
  2. in remix-aws-example
    • run npm install
    • run npm link remix-aws to overwrite the installed remix-aws
    • run ls -alh node_modules | grep remix-aws to make sure remix-aws is pointing to a local folder
    • run npm run start:local-lambda:x86_64 or npm run start:local-lambda:arm64 to run the infra and click on the link you get from the logs Mounting RemixFunction at http://127.0.0.1:3000/ [GET]

could you verify these steps and see if you still get the error?

@meza
Copy link
Author

meza commented Oct 17, 2024

Will try next week. Off on holiday but am definitely keen

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