-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
From @rabbah
Error: Failed to retrieve runtimes.json from platform host.: Cannot convert undefined or null to object
nim:deployer:runtimes loaded runtimes json: {"api_version":"1.0.0","api_version_path":"v1","build":"2021-06-14T19:39:58-0400","buildno":"0cdfdb3","description":"OpenWhisk API","swagger_paths":{"api-docs":"/api-docs","ui":"/docs"}} +18ms
nim:base Improving msg: Failed to retrieve runtimes.json from platform host., err: TypeError: Cannot convert undefined or null to object
nim:base at Function.values (<anonymous>)
nim:base at isValidRuntimesJson (/Users/rabbah/.node/lib/node_modules/nimbella-cli/node_modules/@nimbella/nimbella-deployer/lib/index.js:2727:17)
nim:base at load (/Users/rabbah/.node/lib/node_modules/nimbella-cli/node_modules/@nimbella/nimbella-deployer/lib/index.js:2731:8)
oh i see what the potential issue is, /api/v1 from standalone openwhisk != nimbella’s /api/v1
you’d have to query / on standalone / default openwhisk instead
but looks like it is a bug anyway, the code assumes a particular respose and should handle the failure gracefully
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels