We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
During the clean step, the plugin assumes that it's okay to remove the entire node_modules if there's only scoped packages left: https://github.com/Butterwire/serverless-plugin-monorepo/blob/master/src/index.ts#L143
clean
node_modules
I'm not sure the logic behind that, but if you happen to have a node_modules with only non-hoisted scoped packages, it'll lead to the following error
Serverless: Cleaning dependency symlinks Error -------------------------------------------------- Error: ENOTEMPTY: directory not empty, rmdir '<package_root>/node_modules'
The text was updated successfully, but these errors were encountered:
Also happening to us :(
Sorry, something went wrong.
A check has now been added to ensure the directory is truly empty before deleting.
No branches or pull requests
During the
clean
step, the plugin assumes that it's okay to remove the entirenode_modules
if there's only scoped packages left: https://github.com/Butterwire/serverless-plugin-monorepo/blob/master/src/index.ts#L143I'm not sure the logic behind that, but if you happen to have a
node_modules
with only non-hoisted scoped packages, it'll lead to the following errorThe text was updated successfully, but these errors were encountered: