-
Notifications
You must be signed in to change notification settings - Fork 3
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
Deployment 'sync dependencies' step never ends #27
Comments
Looks like Fume is storing my entire node_modules directory in S3. Is this expected behaviour? When I deploy another project this doesn't happen. Nothing is uploaded to S3 during deployment. Is this something to do with npm vs yarn? |
Each time I run the deployment, some more dependencies are created in the node_modules S3 folder. This leads me to believe that something is timing out in the deployment before all the files can be created. I deleted the S3 Fume bucket deps folder, ran a deploy and had 181 deps installed before the deploy script froze at 100% syncing. I've just ran it again and it hung at 85.20% with 896 deps. I'm going to keep going - I'm curious to see what happens when all deps are installed. Edit: Unfortunately the deployment was still unsuccessful. I have the subnet error from above and I'm getting it on all projects. I think perhaps something in AWS that was created when I connected Fume to AWS has been deleted (possibly when I deleted a project) and isn't being recreated. |
@bradley-varol What's happening is Fume is attempting an EFS mode since your dependencies are too large to live in Lambda natively. The EFS support with Lambda is slow and not ideal. I am currently working on a smoother faster solution involving Lambdas new Docker support that should solve this issue. |
Excellent, looking forward to that. |
I am unable to deploy to any of my environments . I've left the deployment running for an hour and below is what I see:
Fume CLI:
✔ Deps: 314.8MB Code: 7.9MB Assets: 879.7KB Total: 323.5MB Mode: efs ⠼ Sync dependencies › 100.00% complete
Fume web app:
The text was updated successfully, but these errors were encountered: