我的配置 Elasticsearch -2.0.0 Kibana -4.2.1 节点版本 - v5.0.0 npm版本 - v3.4.1
开始我的弹性研究和kibana 然后按照Kibana Plugin Yeoman Generator - Getting Started中给出的步骤进行操作 使用yo kibana-plugin创建了一个新的插件目录 并开始使用npm start
[{
"Position" : "Programmer",
"Name" : "Giacomo Gulizzoni",
"Age" : 37,
"Sex" : "Male",
"Project" : "SmartFactory"
}, {
"Position" : "Tester",
"Name" : "Marko Botton",
"Age" : 34,
"Sex" : "Male",
"Project" : "SmartFactory"
}, {
"Position" : "Tester",
"Name" : "Mariah Maclachian",
"Age" : 37,
"Sex" : "Female",
"Project" : "SmartFactory"
}, {
"Position" : "Tester",
"Name" : "Valerie Liberty",
"Age" : 25,
"Sex" : "Female",
"Project" : "SmartProject"
}, {
"Position" : "Programmer",
"Name " : "Guido Jack Gulizzoni",
"Age" : 22,
"Sex" : "Male",
"Project" : "SmartProject"
}]
它显示以下错误
root@root:~/my-new-plugin$ npm start
发现package.json中缺少启动脚本。 所以开始使用以下命令
npm ERR! Linux 3.13.0-68-generic
npm ERR! argv "/usr/local/bin/node" "/usr/bin/npm" "start"
npm ERR! node v5.0.0
npm ERR! npm v3.4.1
npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /home/guidanz-kavi/my-new-plugin/npm-debug.log
但它正在退出。
请建议我开始使用该插件。
答案 0 :(得分:0)
使用gulp dev
启动应用程序