Closed makka-1 closed 1 year ago
Describe the bug Trying to upgrade to serverless framework v3 and its throwing this error
v3
AppSync Simulator: TypeError: Cannot convert undefined or null to object
Its working as expected when I downgrade to v2
v2
I tried the solution mentioned at https://stackoverflow.com/questions/72695038/appsync-simulator-typeerror-cannot-convert-undefined-or-null-to-object and looked at issue #170 too, it didn't solve the issue
Screenshots
Additional context here's relevant section of package.json
package.json
"resolutions": { "serverless-appsync-simulator/cfn-resolver-lib": "1.1.7" }, "devDependencies": { "serverless": "^3.22.0", "serverless-appsync-cloudfront": "^1.0.2", "serverless-domain-manager": "^6.1.0", "serverless-dotenv-plugin": "^3.8.1", "serverless-iam-roles-per-function": "^3.2.0", "serverless-offline": "^9.3.0", "serverless-plugin-canary-deployments": "^0.7.0", "serverless-plugin-datadog": "^3.5.1", "serverless-plugin-lambda-insights": "^1.5.0", "serverless-prune-plugin": "^1.4.3", "serverless-python-requirements": "^5.1.0", "serverless-wsgi": "^1.7.6" }, "dependencies": { "serverless-appsync-plugin": "^1.14.0", "serverless-appsync-simulator": "^0.20.0", "serverless-plugin-lambda-dead-letter": "^1.2.1" }
sorry for the noise here, I did a fresh installation and this is no longer an issue.
Describe the bug Trying to upgrade to serverless framework
v3
and its throwing this errorIts working as expected when I downgrade to
v2
I tried the solution mentioned at https://stackoverflow.com/questions/72695038/appsync-simulator-typeerror-cannot-convert-undefined-or-null-to-object and looked at issue #170 too, it didn't solve the issue
Screenshots
Additional context here's relevant section of
package.json