-
Notifications
You must be signed in to change notification settings - Fork 227
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
Running serverless package
results in Error: EPERM: operation not permitted, unlink '..../.build/node_modules'
#251
Comments
@trevorgillis did you have any update on this problem? I'm facing the same issue |
You're using 2.0.0 version of the plugin? |
Actually, this is an existing bug, see #170. |
@leorrodrigues I had made a mistake somewhere so that when I thought I was downgrading to v1.1.7 I wasn't actually downgrading. When I figured that out and actually downgraded to v1.1.7, the error went away, just like #170 says. @ashawley No, I was using v1.1.9. Yes, I thought I had actually linked to #170 in the original post (that's what I had meant to do), but apparently I missed the link. I've updated the issue so that it links. |
Since the downgrade to v1.1.7 worked per #170 and it was my own error for thinking that it did not originally, I'm going to close this. |
Running
serverless package
results in the errorError: EPERM: operation not permitted, unlink '..../.build/node_modules'
and I can't move forward. Here's the information about my system:Here is the output when running
serverless package
:I am using the
serverless-plugin-typescript
plugin and the problem seems to stem from that. I've tried a number of different things: downgrading the plugin to 1.1.7 per this issue, deleting.serverless/
,.build/
,node_modules/
, andyarn.lock
and runningyarn
for a fresh start, and upgrading serverless and node, but nothing helps.Here is my tsconfig.json file:
And here is my
serverless.yml
file:Please let me know if you need any more information from me.
The text was updated successfully, but these errors were encountered: