Hey when i run the sls deploy command , i get this error what do I do ? TypeError: Cannot convert undefined or null to object at Function.entries () at getConfigsByWarmer (C:\Users yan\OneDrive\Desktop\Cantoonify_Model\cartoonify ode_modules\serverless-plugin-warmup\src\config.js:170:34) at WarmUp.configPlugin (C:\Users yan\OneDrive\Desktop\Cantoonify_Model\cartoonify ode_modules\serverless-plugin-warmup\src\index.js:82:10) at C:\Users yan\AppData\Roaming pm ode_modules\serverless\lib\classes\PluginManager.js:501:55
@uvsingh4 жыл бұрын
Hello Mr. Ahmed first of all thanks for sharing this project with us but it could have been better if you either increase the font size or zoom a little while coding along. Thanks.
@AhmedBesbes4 жыл бұрын
Thanks for the feedback, will do this next time :)
@maksimkazanskii45503 жыл бұрын
Excellent job!
@blanky_nap2 жыл бұрын
Another useful video! One question:why don't you use AWS CDK to provide infustructure?
@MadhavThaker3 жыл бұрын
This is a great tutorial. Can you elaborate on how you built your docker file?
@AhmedBesbes3 жыл бұрын
I didn't build any docker file. Building the docker image was automatically done by the serverless framework
@onesmusnyakotyo59533 жыл бұрын
Thank you for the tutorial, am facing - An error occurred: ServerlessDeploymentBucket - API: s3:CreateBucket Access Denied. Thank you all for your help.
@daniellampert17443 жыл бұрын
Thank you so much for the video Ahmed! We are trying to customize the code to work on a Tensorflow model. We are getting this error and am not sure how to proceed. An error occurred: TransformImageLambdaFunction - Resource handler returned message: "Unzipped size must be smaller than 262144000 bytes (Service: Lambda, Status Code: 400, Request ID: 181e0b75-d624-44d5-99fb-9942c819c03d, Extended Request ID: null)" (RequestToken: d04b5775-eea9-ad16-4a8b-72c2703f1f6b, HandlerErrorCode: InvalidRequest).
@shrayr.goswami19633 жыл бұрын
I get 'Recoverable error occurred (Connection timed out after 120000ms), sleeping for ~4 seconds. Try 1 of 4' on sls deploy
@shrayr.goswami19633 жыл бұрын
i get this error after a few minutes. last update is always 'uploading service warmupPlugin.zip ..... '
@AhmedBesbes3 жыл бұрын
@@shrayr.goswami1963 I suggest removing the warmup plugin and redeploy
@ikechukwuhenryuwakwe36683 жыл бұрын
Hello Ahmed. Thank you for the video. I am having errors in deployment. It says TypeError: Cannot convert undefined or null to object
@AhmedBesbes3 жыл бұрын
Can you give more details about the error ?
@ikechukwuhenryuwakwe36683 жыл бұрын
TypeError: Cannot convert undefined or null to object at Function.entries () at getConfigsByWarmer (C:\Users\..\.. ode_modules\serverless-plugin-warmup\src\config.js:170:34) at WarmUp.configPlugin (C:\Users\..\.. ode_modules\serverless-plugin-warmup\src\index.js:80:10) This is just one of the numerous points of error in the node modules. The files affected include the config.js file of the serverless plugin warmup, some bluebird.js files and some random files in the same node_modules.
@AhmedBesbes3 жыл бұрын
@@ikechukwuhenryuwakwe3668 never faced this error before but i found this on google forum.serverless.com/t/getting-cannot-convert-undefined-or-null-to-object-when-running-sls-deploy/9267/3
@sebawaves3 жыл бұрын
hi Ikechukwu, did you solved the problem?, here im having exactly the same problem, just visited the error on the google link ahmed posted but no solution there
@valerysalov82084 жыл бұрын
Github code for this please.
@AhmedBesbes4 жыл бұрын
sure: github.com/ahmedbesbes/cartoonify
@filldo70553 жыл бұрын
Asalamalakum brother Ahmed, Thanks for uploading such a terrific project. I have been facing some errors when i tried to replicate this project after deployment i got a url but when i pasted it in the notebooks and ran it i kept getting this error , would really appreciate your help, Thank you. KeyError: 'output' --------------------------------------------------------------------------- KeyError Traceback (most recent call last) in ----> 1 image = response.json()["output"] 2 3 image = image[image.find(",")+1:] 4 dec = base64.b64decode(image + "===") 5 KeyError: 'output'
@vishnuteja803 жыл бұрын
I also got the same error did you solved the error?
@pranjalk76623 жыл бұрын
That is because there is an internal server error. I haven't been able to locate what the problem is, it seems to be in the plugins that we are using but I couldn't find a solution for it online.
@PiotrPiotr-mo4qb3 жыл бұрын
@@pranjalk7662 It is because you did not removed "/src" from serverless.yml. On the AWS you can always see the logs
@DhanushH-zo2lk3 жыл бұрын
@@PiotrPiotr-mo4qb How do we solve it ? Just remove /src and re deploy?