Skip to content

Canvas threaded env isn't correctly configured #25154

@rashmivkulkarni

Description

@rashmivkulkarni

Kibana version: BC2 of 6.5.0

Elasticsearch version: BC2 of 6.5.0

Server OS version: CentOS 7

Browser version: Chrome

Original install method (e.g. download page, yum, from source, etc.): BC2 of 6.5.0

Describe the bug: Bring up your 6.5.0 BC2 instance and click on Canvas. IT loads up fine. Now try adding an element and it keeps spinning as shown .

screen shot 2018-11-05 at 10 32 44 am

Errors in browser console (if relevant): none

Provide logs and/or server output (if relevant):

 log   [17:55:22.666] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
/Users/bhavyarajumandya/Desktop/BC2_6.5.0/kibana-6.5.0-darwin-x86_64/node_modules/x-pack/plugins/canvas/server/lib/route_expression/thread/worker.js:7
import uuid from 'uuid/v4';
^^^^^^

SyntaxError: Unexpected token import
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Module._extensions..js (module.js:663:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/bhavyarajumandya/Desktop/BC2_6.5.0/kibana-6.5.0-darwin-x86_64/node_modules/x-pack/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
/Users/bhavyarajumandya/Desktop/BC2_6.5.0/kibana-6.5.0-darwin-x86_64/node_modules/x-pack/plugins/canvas/server/lib/route_expression/thread/worker.js:7
import uuid from 'uuid/v4';
^^^^^^

Any additional context: This didn't happen on BC1 build of 6.5.0

cc @elastic/kibana-qa @elastic/kibana-canvas @elastic/kibana-operations

Metadata

Metadata

Assignees

Labels

Feature:CanvasPR sentTeam:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//blockerbugFixes for quality problems that affect the customer experiencev6.5.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions