Getting a syntax error while executing cml on CLI
See original GitHub issueI installed CML using
sudo npm i -g @dvcorg/cml
but getting this error whenever I execute any CML commands.
>> cml ci --help
/usr/lib/node_modules/@dvcorg/cml/src/drivers/bitbucket_cloud.js:383
responseBody?.error?.message || responseBody?.error || responseBody;
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/usr/lib/node_modules/@dvcorg/cml/src/cml.js:11:24)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Is there a proper way to test whether the installation has been done correctly?
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:8 (7 by maintainers)
Top Results From Across the Web
syntax error when using command line in python
You can simply type exit() in the Python terminal to exit the Python interpreter. Then when you run the code, there will be...
Read more >Tutorial Exercise 2 - Analysis Exception Syntax error
I am in Impala running through the Quickstart tutorial. When I copy all the create table statements and click execute, I get this...
Read more >Command Line Interface [Cisco Unified Contact Center Express]
This command displays the various components in Unified CCX for which tracing can be turned on or off from CLI commands. This command...
Read more >Command line processor options - IBM
-s, This option tells the command line processor to stop execution if errors occur while commands are executed in a batch file or...
Read more >A.19. Common libvirt Errors and Troubleshooting
This entry provides instructions for editing guest XML definitions, and details common errors in XML syntax and configuration. Section A.19.10, “Common XML ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
perhaps a
v0.14.2
with the correct engine semver and de-publish the0.14.1
on npm so it’s not accidentally downloaded on a<16.x
node version?Okay…Working after upgrade the
nodejs
version tov16.14.2
. Thank you!