Hi !
I created a visualization plugin for Kibana 7.14.0.
When I try to build it using the kibana plugin helper package, I get the following error:
SassError: File to import not found or unreadable: src/core/public/mixins.
on line 3 of /home/pchakour/dev/kibana/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.scss
>> @import 'src/core/public/mixins';
This is the stack error :
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.scss?v7dark 2:26-317
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.scss
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/application/apps/main/components/layout/index.ts
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/application/apps/main/discover_main_app.tsx
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/application/apps/main/index.ts
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/application/angular/create_discover_directive.ts
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/application/angular/get_inner_angular.ts
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/plugin.tsx
│ @ /home/pchakour/dev/kibana/src/plugins/discover/public/index.ts
│ @ /home/pchakour/dev/kibana/src/plugins/visualizations/public/plugin.ts
│ @ /home/pchakour/dev/kibana/src/plugins/visualizations/public/index.ts
│ @ ./public/timeline_vis_renderer.tsx
│ @ ./public/plugin.ts
│ @ ./public/index.ts
│ @ /home/pchakour/dev/kibana/node_modules/@kbn/optimizer/target/worker/entry_point_creator.js
In my file ./public/timeline_vis_renderer.tsx
, I import the VisualizationContainer
component to render my visualization.
Someone has already have this issue during a plugin building ? It's like an includePaths for SCSS is missing