-
Notifications
You must be signed in to change notification settings - Fork 230
EPERM: operation not permitted, unlink '.../.build/node_modules' #219
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
Just found another issue related to that: #170 which proposes downgrading the plugin to |
This error is sometimes reproducible by cancelling the deployment script ( |
Had the same issue. It's caused by a straightforward bug in the code ( |
It works for me! Thanks. Keep this issue until new update please that works, please. |
Is there any news for this issue? Until now, it's 2.0 already but it seems this issue has not been resolved. |
the issue still exists, ridiculous! downgraded the plugin to |
It seems that the fs.unlinkSync() should be used to remove only files, NOT folders. [node_modules\serverless-plugin-typescript\dist\src\index.js line:181
|
… remove node_modules when packaging serverless project
As per #170 (comment) I tried the following
Then |
That was my issue also. I added custom includes in serverless.yml through the |
I also ran into this issue with the latest version. In addition to this:
I also had to: Then I was able to |
Hi,
I can't run
serverless deploy --verbose
without getting the following issue:The compilation of typescript seems to work as I get the message
Serverless: Typescript compiled.
.I can invoke all functions locally and they work without any issue. It's just the deploy that doesn't work.
I ran
npm install
, closed all terminals including VSCode and reopened it. Same issue.I cleaned the cache of npm but didn't help either.
My versions:
npm 6.14.8
Your Environment Information --------------------------- Operating System: darwin Node Version: 10.15.3 Framework Version: 2.8.0 Plugin Version: 4.1.1 SDK Version: 2.3.2 Components Version: 3.2.4
serverless-plugin-typescript: "^1.1.9"
Any idea?
The text was updated successfully, but these errors were encountered: