matano icon indicating copy to clipboard operation
matano copied to clipboard

"Error: command bootstrap not found" when bootstrapping the AWS account

Open niheconomoum opened this issue 1 year ago • 1 comments

I am running Ubuntu 20.04 on Windows via WSL 1.

I have installed node.js v12.22.12 via the Node Version Manager per https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04.

I have installed the Matano CLI and created the configuration directory.

When I run matano bootstrap, I get the following error:

xenophonf@l0000000d:~/src/matano/my-matano-config$ matano bootstrap
(node:24682) SyntaxError Plugin: matano: Unexpected token '.'
module: @oclif/[email protected]
task: toCached
plugin: matano
root: /home/xenophonf/src/matano/cli
See more details with DEBUG=*
(node:24682) SyntaxError Plugin: matano: Unexpected token '.'
module: @oclif/[email protected]
task: toCached
plugin: matano
root: /home/xenophonf/src/matano/cli
See more details with DEBUG=*
(node:24682) SyntaxError Plugin: matano: Unexpected token '?'
module: @oclif/[email protected]
task: toCached
plugin: matano
root: /home/xenophonf/src/matano/cli
See more details with DEBUG=*
 ›   Error: command bootstrap not found

niheconomoum avatar Aug 12 '22 15:08 niheconomoum

Thanks for the issue. Looks like it is erroring on optional chaining syntax (?.).

You can upgrade your node version to fix this. We should either change our typescript target to support node12 or update the docs to support node>=14.

Samrose-Ahmed avatar Aug 12 '22 15:08 Samrose-Ahmed

The CLI now supports node 12.

Samrose-Ahmed avatar Aug 26 '22 17:08 Samrose-Ahmed