Skip to content
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

Command failed: node_modules/serverless/bin/serverless.js deploy #857

Open
mjcguada opened this issue Jan 4, 2022 · 1 comment
Open

Comments

@mjcguada
Copy link

mjcguada commented Jan 4, 2022

I have problems deploying the stack on AWS: "node_modules" not recognized as command.

After setting the security credentials with environment variables, installing node.js, npm (8.3.0) and json-serverless, I get this problem when trying to deploy the stack using a basic db.json from the example.

image

Me installing the api from Node.js in Windows
image

json serverless version:
image

Thank you

@jose-mf
Copy link

jose-mf commented Feb 4, 2022

I think is a problem with the node version.
https://stackoverflow.com/questions/65916681/uploaded-file-must-be-a-non-empty-zip-service-awslambdainternal-status-code
With version 15.5.1 works

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

2 participants