You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.
We were getting this error when running zapier convert:
TypeError: value.replace is not a function
at Object.keys.forEach.key (lodash.templateSources[74]:19:19)
at Array.forEach (<anonymous>)
at eval (lodash.templateSources[74]:17:24)
at /usr/local/lib/node_modules/zapier-platform-cli/lib/utils/convert.js:93:69
at <anonymous>
Turns out there was an extra "v": 2 key in our "auth_mapping" and the code was trying to run regex on the integer.
We made it work by adding toString() in this line:
We were getting this error when running
zapier convert
:Turns out there was an extra
"v": 2
key in our"auth_mapping"
and the code was trying to run regex on the integer.We made it work by adding
toString()
in this line:zapier-platform-cli/scaffold/convert/header.template.js
Line 8 in bbf4856
Not sure this is the right fix, but maybe it helps other people.
The text was updated successfully, but these errors were encountered: