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
When I run stanctl-configuration-macos init on my mac, I encounter the following error after entering the parameters.
./stanctl-configuration-macos init
? Enter configuration package name: (e.g.: @ibm-instana/self-monitoring,
my-awesome-xyz-monitoring): @ibm-instana/opentelemetry-demo
? Enter configuration package version: 1.0.0
? Enter configuration package description: The IBM Instana configuration package for
opentelemetry demo
? Enter configuration package keywords (comma-separated):
ibm,instana,opentelemetry,otel,configuration,package,demo
? Enter configuration package author: IBM
? Enter configuration package license: MIT
stanctl-configuration-macos init
Initialize a new configuration package
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
TypeError: items.findLastIndex is not a function
at /snapshot/configuration/node_modules/@inquirer/checkbox/dist/cjs/index.js:55:28
at /snapshot/configuration/node_modules/@inquirer/core/dist/cjs/lib/use-memo.js:11:27
at withPointer (/snapshot/configuration/node_modules/@inquirer/core/dist/cjs/lib/hook-engine.js:72:25)
at useMemo (/snapshot/configuration/node_modules/@inquirer/core/dist/cjs/lib/use-memo.js:6:46)
at /snapshot/configuration/node_modules/@inquirer/checkbox/dist/cjs/index.js:53:39
at workLoop (/snapshot/configuration/node_modules/@inquirer/core/dist/cjs/lib/create-prompt.js:95:42)
at /snapshot/configuration/node_modules/@inquirer/core/dist/cjs/lib/create-prompt.js:106:17
at /snapshot/configuration/node_modules/@inquirer/core/dist/cjs/lib/hook-engine.js:28:9
at AsyncLocalStorage.run (node:async_hooks:327:14)
at withHooks (/snapshot/configuration/node_modules/@inquirer/core/dist/cjs/lib/hook-engine.js:27:24)
My node version is:
% node -v
v20.12.2
The text was updated successfully, but these errors were encountered:
This is because the node version being used during the compiling phase is lower than expected. Currently, we use pkg to compile node code into binary, by default it uses node v16, while the node code tested locally shows that it should be at least node v18.
When I run
stanctl-configuration-macos init
on my mac, I encounter the following error after entering the parameters.My node version is:
The text was updated successfully, but these errors were encountered: