Skip to content

Installing python-requirements delete ./node_modules/serverless #564

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

Open
ghost opened this issue Nov 19, 2020 · 0 comments
Open

Installing python-requirements delete ./node_modules/serverless #564

ghost opened this issue Nov 19, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 19, 2020

I'm using Github action to deploy my stack to AWS.
Into GitHub action docker I'm not allowed to install npm packages globally.
Therefore I install the serverless module into the local folder node_modules.
After I install the sls-modules, I install the
serverless-python-requirements using ./node_modules/serverless/bin/serverless.js plugin install -n serverless-python-requirements the install command delete the ./node_modules/serverless.

My workaround is to install the serverless-python-requirements before the serverless using npm install -n serverless-python-requirements.

This issue reproduces on my mac os.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants