Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: params.query.split is not a function #84

Open
sorvis opened this issue Jan 24, 2024 · 0 comments
Open

TypeError: params.query.split is not a function #84

sorvis opened this issue Jan 24, 2024 · 0 comments

Comments

@sorvis
Copy link

sorvis commented Jan 24, 2024

In trying to get the edit command to work I ran into this runtime error:

cfcli -k $API_KEY -d review-domain.com -t CNAME edit -query name:testrecord.review-domain.com  123.123.123.123
/Users/steveorvis/.nvm/versions/node/v21.5.0/lib/node_modules/cloudflare-cli/index.js:532
      query = params.query.split(',');
                           ^

TypeError: params.query.split is not a function
    at mapParams (/Users/steveorvis/.nvm/versions/node/v21.5.0/lib/node_modules/cloudflare-cli/index.js:532:28)
    at CloudflareCli.runCommand (/Users/steveorvis/.nvm/versions/node/v21.5.0/lib/node_modules/cloudflare-cli/index.js:209:16)
    at Object.<anonymous> (/Users/steveorvis/.nvm/versions/node/v21.5.0/lib/node_modules/cloudflare-cli/bin/cfcli:17:5)
    at Module._compile (node:internal/modules/cjs/loader:1375:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1434:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
    at node:internal/main/run_main_module:28:49

Node.js v21.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant