Skip to content

Instantly share code, notes, and snippets.

@s-newman
Created Jun 25, 2020
Embed
What would you like to do?
Kibana plugin generator output
┌(sean@dev)─(~/src/kibana)─(HEAD|L)
└─$ node scripts/generate_plugin testplugin
? Would you like to create the plugin in a different folder? ../kibana-extras
? Provide a short description An awesome Kibana plugin
? What Kibana version are you targeting? 7.7.1
? Should an app component be generated? Yes
? Should a server API be generated? Yes
? Should SCSS be used? Yes
? Would you like to use a custom eslint file? Yes
success 🎉
Your plugin has been created in ../kibana-extras/testplugin.
yarn start
{ Error: Command failed with exit code 2: yarn lint:es ./../kibana-extras/testplugin/**/*.ts* --no-ignore --fix
Oops! Something went wrong! :(
ESLint: 6.8.0.
ESLint couldn't find the config "@elastic/eslint-config-kibana" to extend from. Please check that the name of the config is correct.
The config "@elastic/eslint-config-kibana" was referenced from the config file in "/home/sean/src/kibana-extras/testplugin/.eslintrc.js".
If you still have problems, please stop by https://gitter.im/eslint/eslint to chat with the team.
error Command failed with exit code 2.
yarn run v1.22.4
$ node scripts/eslint './../kibana-extras/testplugin/**/*.ts*' --no-ignore --fix
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
at makeError (/home/sean/src/kibana/node_modules/execa/lib/error.js:58:11)
at handlePromise (/home/sean/src/kibana/node_modules/execa/index.js:114:26)
at process._tickCallback (internal/process/next_tick.js:68:7)
shortMessage:
'Command failed with exit code 2: yarn lint:es ./../kibana-extras/testplugin/**/*.ts* --no-ignore --fix',
command:
'yarn lint:es ./../kibana-extras/testplugin/**/*.ts* --no-ignore --fix',
exitCode: 2,
signal: undefined,
signalDescription: undefined,
stdout:
'yarn run v1.22.4\n$ node scripts/eslint \'./../kibana-extras/testplugin/**/*.ts*\' --no-ignore --fix\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.',
stderr:
'\nOops! Something went wrong! :(\n\nESLint: 6.8.0.\n\nESLint couldn\'t find the config "@elastic/eslint-config-kibana" to extend from. Please check that the name of the config is correct.\n\nThe config "@elastic/eslint-config-kibana" was referenced from the config file in "/home/sean/src/kibana-extras/testplugin/.eslintrc.js".\n\nIf you still have problems, please stop by https://gitter.im/eslint/eslint to chat with the team.\n\nerror Command failed with exit code 2.',
failed: true,
timedOut: false,
isCanceled: false,
killed: false }
Unhandled Promise rejection detected:
Error: Failure when running prettier on the generated output: Error: Command failed with exit code 2: yarn lint:es ./../kibana-extras/testplugin/**/*.ts* --no-ignore --fix
Oops! Something went wrong! :(
ESLint: 6.8.0.
ESLint couldn't find the config "@elastic/eslint-config-kibana" to extend from. Please check that the name of the config is correct.
The config "@elastic/eslint-config-kibana" was referenced from the config file in "/home/sean/src/kibana-extras/testplugin/.eslintrc.js".
If you still have problems, please stop by https://gitter.im/eslint/eslint to chat with the team.
error Command failed with exit code 2.
yarn run v1.22.4
$ node scripts/eslint './../kibana-extras/testplugin/**/*.ts*' --no-ignore --fix
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
at eslintPlugin (/home/sean/src/kibana/packages/kbn-plugin-generator/sao_template/sao.js:58:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
Terminating process...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment