generated from sindresorhus/node-cli-boilerplate
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
when using -n
CLI flag
#17
Labels
Comments
azaxarov
changed the title
TypeError when using
Apr 12, 2024
-n
CLI flagTypeError
when using -n
CLI flag
+1 We are experiencing this issue. |
rexxars
added a commit
that referenced
this issue
May 13, 2024
rexxars
added a commit
that referenced
this issue
May 13, 2024
sgulseth
pushed a commit
that referenced
this issue
May 14, 2024
Thanks for reporting! Just published |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
-n
CLI flag, the following error is thrown:TypeError: ndjson is not a function
This regression likely happened after upgrading
ndjson
package from version1.x.x
to version2.x.x
, where the API of the package changed. The error takes place in the following two places:groq-cli/src/cli.js
Line 132 in c726590
groq-cli/src/cli.js
Line 108 in c726590
In order to fix this issue, update
inputNDJSON
andoutputNDJSON
functions. Consider using the following implementations:The text was updated successfully, but these errors were encountered: