ahmedbesbes / cartoonify

Deploy and scale serverless machine learning app - in 4 steps.
https://cartoonify.netlify.app/
MIT License
406 stars 81 forks source link

TypeError: Cannot convert undefined or null to object at Function.entries (<anonymous>) #1

Closed RyanManchikanti closed 3 years ago

RyanManchikanti commented 3 years ago

TypeError: Cannot convert undefined or null to object

  at Function.entries (<anonymous>)

  at getConfigsByWarmer (C:\Users\ryan\OneDrive\Desktop\Cantoonify_Model\cartoonify\node_modules\serverless-plugin-warmup\src\config.js:170:34)

  at WarmUp.configPlugin (C:\Users\ryan\OneDrive\Desktop\Cantoonify_Model\cartoonify\node_modules\serverless-plugin-warmup\src\index.js:82:10)

  at C:\Users\ryan\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:501:55

  at tryCatcher (C:\Users\ryan\AppData\Roaming\npm\node_modules\serverless\node_modules\bluebird\js\release\util.js:16:23)

  at Object.gotValue (C:\Users\ryan\AppData\Roaming\npm\node_modules\serverless\node_modules\bluebird\js\release\reduce.js:168:18)

  at Object.gotAccum (C:\Users\ryan\AppData\Roaming\npm\node_modules\serverless\node_modules\bluebird\js\release\reduce.js:155:25).
RyanManchikanti commented 3 years ago

This happens when deploying the serverless model.

ahmedbesbes commented 3 years ago

@RyanManchikanti

Try not to use the warmup plugin and check if it works