-
Notifications
You must be signed in to change notification settings - Fork 33
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
Error: Cannot read property 'match' of undefined #49
Comments
Hi there!
serverless.yml
I'd really love you to take a look at possible solution. Highly appreciated! |
I've found the problem and it's not related to the library. My case can be closed since my problem relative to our deployer that doesn't apply any custom settings from serverless.yml. |
Need help. I get the following error during the serverless deploy. Type Error --------------------------------------------- Cannot read property 'match' of undefined
Stack Trace -------------------------------------------- TypeError: Cannot read property 'match' of undefined My serverless.yml:service: serverless-image-rendering
|
I resolved this by installing the package into npm |
@InkFaust could you let me know how you solved this problem in your case? I'm running into the same issue. (@Bookrage001's suggestion above of installing the package using npm doesn't solve it for me unfortunately.) Thanks |
Just as @joefhall this problem persists even after following @Bookrage001's suggestion |
Same this problem persists even after following @Bookrage001's suggestion |
I faced this issue and i just realized that i've accidentally removed api gateway trigger from my serverless.yml. After re-adding api gateway trigger (functions/events/http), It works just like before. |
As dumb as this probably sounds, I was able to fix this by removing |
Some libraries need to reinstall before deploy, try to add pre and post prefix and remove node_modules and reinstall with s3 operational system and node version, something like that:
Obs: Verify if aws-multipart-parser a dependency, not a devdependencies, this can accuse an error too |
Since v1.42 the serverless framework supports binary media type responses, so
|
Only thing here is make sure to mind the indent under apiGateway: provider:
apiGateway:
binaryMediaTypes:
- '*/*' |
hello, i get the following error during sls deploy:
serverless.yml
The text was updated successfully, but these errors were encountered: