-
Notifications
You must be signed in to change notification settings - Fork 293
Error: EPERM: operation not permitted, unlink 'bin' #302
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
Comments
Huh.. what version of the plugin are you using? It shouldn't be using symlinks anymore, thus shouldn't have to delete them 😕 |
Sorry, forgot to mention that. |
I did a test with inserting an empty return statement in "link.js" in the plugin, just before the line that triggered the error (link.js:76:11). The deploy command completed without any errors:
|
Is there a particular reason you're using that version and not the latest? |
I followed this tutorial: http://joshuaballoch.github.io/custom-packages-lambda/ and set up a package.json like this:
I thought that this would install the newest version not older than v3.0.10. |
Right, that won't install anything < 3 actually, and the latest version is 4.2.5, so I recommend upgrading: |
I installed the newest version. Now I encountered issue #274. I got it working by installing plugin with |
When running this command:
serverless deploy --stage staging
I get this error:
I believe this has something to do with it trying to unlink a directory that is treated as a file, but Im not sure. See this post: https://stackoverflow.com/questions/50590798/nodejs-serverless-windows-10/50613829#50613829
The text was updated successfully, but these errors were encountered: