-
Notifications
You must be signed in to change notification settings - Fork 89
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
ENOENT: no such file or directory and EPERM: operation not permitted #34
Comments
I restarted my computer because I found it might be related to some process trying to also use the same files (likely some serverless localstack docker process I ctrl + C'd). So now I'm no longer getting the above errors, but now it permanently hangs at: Serverless: Starting LocalStack in Docker. This can take a while. (I've left it at this point for >30 minutes) |
To fix the hanging problem, I did
And then
And I'm back at the errors again
|
This issue is caused by using the P.S. There seems to already be an issue posted there serverless/serverless-plugin-typescript#170 |
I'm no longer trouble shooting this issue because we decided to not use local stack |
@whummer great plugin! We're deploying a test system into LocalStack with Commandeer and running into the same issue. It deploys just fine into a real AWS account. Do you have any pointers or now to resolve this issue when using |
Reopening this issue - we'll look into it shortly @fsproru . Can you please share a small, self-contained example to help us reproduce this issue? Thanks |
Thanks @whummer, you can reproduce the issue by deploying our Open Source Tanks project into LocalStack here: https://github.com/commandeer/open/pull/25/files In order to reproduce it, you can go to Let me know if you have any questions. |
Thanks for providing a sample project @fsproru . Many thanks also to @CoreyCole @karvapallo for providing the initial analysis. This should be fixed in #56 - can you please give it a try with the latest version Note: Depending on your setup, you may have to downgrade |
@whummer this issue is fixed, thanks a bunch! You're right, I had to set We still have an issue deploying the Tanks open-source project which deploys just fine to an AWS account. I'll submit a different issue so we can close this one. |
Thanks for confirming this works. Please report here if the problem persists. Going to tackle the other issue in a bit. |
I'm on OSX 10.13.6 with Docker version 19.03.1. I've been using serverless for deploying my cloudformation script and now I'm attempting to run my stack locally using serverless-localstack.
I'm running the command
serverless deploy --verbose --stage local
error 1
Right after this failure, I try to deploy again using the same command now that there is a
.build
directory that was created.error 2 (after running
deploy
a 2nd time)If I deploy a 3rd time, or any more, I keep getting error 2.
If I now delete the
.build
directory and try thedeploy
command again, I get back to error 1 again, then 2.serverless.yml
I've tried (unsuccssfully)
rm -rf node_module/ && npm install --no-bin-links
as suggested hereThe text was updated successfully, but these errors were encountered: