I tried pushing my function from the CLI and got this error: Invalid
specification param: Specification must be one of: s-
.
What is wrong?
For context: I changed the type
from module
to commonjs
due to a package that I want to use only supports CommonJS.
TL;DR
Developers encountered an error while pushing functions from the CLI regarding an invalid `specification` param. The issue arose after changing the `type` from `module` to `commonjs` to support a CommonJS-only package.
Solution: Make sure the specification parameter is properly set to 's' when using the CommonJS type.