woodbuffalo / powerbi-leaflet

Leaflet based visualization for PowerBI
18 stars 10 forks source link

some required modules are missing #1

Closed jo-tham closed 8 years ago

jo-tham commented 8 years ago

Currently, some of the required modules are missing

Here's the output of npm start

 error  TYPESCRIPT  /src/_references.ts : (27,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/typedefs/typedefs.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (28,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/typedefs/typedefs.obj.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (30,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/iVisual.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (32,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/animators/animatorCommon.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (33,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/animators/columnChartAnimator.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (34,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/animators/donutChartAnimator.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (35,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/animators/funnelChartAnimator.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (36,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/animators/treemapAnimator.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (38,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/columnChartBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (39,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/dataDotChartBehavior.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (40,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/donutChartBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (41,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/funnelBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (42,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/lineChartBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (43,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/mapBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (44,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/scatterChartBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (45,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/slicerBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (46,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/legendBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (47,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/TreemapBehaviors.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (48,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/behaviours/waterfallChartBehavior.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (50,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/contracts/contracts.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (52,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/axisHelper.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (53,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/basicShapeUtils.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (54,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/cartesianHelper.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (55,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/colorHelper.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (56,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/columnChartUtil.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (57,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/converterHelper.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (58,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/dataLabelUtils.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (59,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/dataRoleHelper.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (61,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/interactionFactory.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (62,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/invalidDataValuesChecker.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (63,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/listView.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (64,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/selectionId.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (65,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/selectionManager.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (66,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/shapes.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (67,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/svgUtil.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (68,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/textUtil.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (69,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/urlHelper.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (70,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/gradientHelper.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (71,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/common/visualBackgroundHelper.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (73,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/formatting/dataLabelManager.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (74,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/formatting/dateTimeSequence.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (75,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/formatting/displayUnitSystem.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (76,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/formatting/numericSequence.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (77,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/formatting/numericSequenceRange.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (78,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/formatting/valueFormatter.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (80,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/services/colorAllocatorFactory.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (81,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/services/defaultVisualHostService.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (82,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/services/interactivityService.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (83,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/services/geocodingCache.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (84,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/services/visualPluginService.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (86,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/scrollbar/scrollbar.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (87,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/internal/tablixGridPresenter.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (88,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/internal/tablixRealizationManager.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (89,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/internal/tablixGrid.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (90,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/internal/tablixLayoutManager.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (91,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/internal/tablixUtils.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (92,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/iTablixHierarchyNavigator.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (93,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/iTablixBinder.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (94,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/iTablixLayoutManager.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (95,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/tablixControl.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (96,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/tablixDimension.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (97,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/tablixTouchDelegate.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (98,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/controls/tablix/touchRegionAbstraction.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (100,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/animatedText.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (101,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/animatedNumber.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (102,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/animatedNumber.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (104,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/basicShape.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (105,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/basicShape.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (107,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/cartesianChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (109,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/columnChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (110,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/columnChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (111,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/columnChartClustered.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (112,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/columnChartStacked.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (113,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/columnChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (114,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/samples/helloIVisual.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (115,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/samples/asterPlot.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (117,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/comboChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (118,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/comboChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (120,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/dataColorPalette.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (122,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/donutChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (123,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/dataDotChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (124,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/dataDotChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (126,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/filledMap.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (127,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/funnelChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (128,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/funnelChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (129,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/gauge.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (130,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/gauge.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (131,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/imageVisual.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (132,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/imageVisual.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (134,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/samples/consoleWriter.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (135,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/samples/consoleWriter.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (137,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/iVisualStyle.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (139,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/lineChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (140,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/lineChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (142,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/GeocodingManager.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (143,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/legend.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (145,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/map.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (146,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/map.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (147,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/multiRowCard.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (148,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/multiRowCard.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (149,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/richTextbox.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (150,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/richTextbox.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (151,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/sampleVisual.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (152,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/sampleVisual.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (154,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/scatterChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (155,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/scatterChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (157,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/slicer.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (158,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/slicer.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (159,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/table.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (160,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/table.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (162,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/matrix.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (163,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/matrix.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (165,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/treemap.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (166,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/treemap.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (167,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/card.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (168,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/card.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (170,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/warnings/visualWarnings.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (172,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/capabilities/waterfallChart.capabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (173,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/cartesian/waterfallChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (175,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/tooltip.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (177,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/styles/visualStyles.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (179,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/visuals/donutChart.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (181,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/pluginsCapabilities.ts' not found.
 error  TYPESCRIPT  /src/_references.ts : (182,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/plugins.ts' not found.
 error  TYPESCRIPT  /src/visual.ts : (53,1) File '/Users/jotham/projects/power-bi-leaflet/.tmp/precompile/src/TypeDefs/leaflet.d.ts' not found.
 error  TYPESCRIPT  /src/visual.ts : (89,40) Cannot find name 'IVisual'.
 error  TYPESCRIPT  /src/visual.ts : (271,39) Property 'createDisplayNameGetter' does not exist on type 'typeof data'.
 error  TYPESCRIPT  /src/visual.ts : (374,29) Argument of type '{ geoType: string; geoData: LatLng; description: string; dataValue: any; lng: number; lat: number...' is not assignable to parameter of type 'GeoDatapoint'.
  Object literal may only specify known properties, and 'description' does not exist in type 'GeoDatapoint'.
 error  TYPESCRIPT  /src/visual.ts : (386,29) Argument of type '{ geoType: string; geoData: any[]; description: string; dataValue: any; lng: number; lat: number; }' is not assignable to parameter of type 'GeoDatapoint'.
  Object literal may only specify known properties, and 'description' does not exist in type 'GeoDatapoint'.
 error  TYPESCRIPT  /src/visual.ts : (398,29) Argument of type '{ geoType: string; geoData: any[]; description: string; dataValue: any; lng: number; lat: number; }' is not assignable to parameter of type 'GeoDatapoint'.
  Object literal may only specify known properties, and 'description' does not exist in type 'GeoDatapoint'.
 error  TYPESCRIPT  /src/visual.ts : (411,30) Cannot find name 'VisualInitOptions'.
 error  TYPESCRIPT  /src/visual.ts : (412,13) Cannot find name 'd3'.
 error  TYPESCRIPT  /src/visual.ts : (417,13) Cannot find name '$'.
 error  TYPESCRIPT  /src/visual.ts : (429,13) Cannot find name '$'.
 error  TYPESCRIPT  /src/visual.ts : (439,30) Cannot find name 'd3'.
 error  TYPESCRIPT  /src/visual.ts : (440,25) Cannot find name 'd3'.
 error  TYPESCRIPT  /src/visual.ts : (446,30) Cannot find name 'd3'.
 error  TYPESCRIPT  /src/visual.ts : (448,35) Cannot find name 'd3'.
 error  TYPESCRIPT  /src/visual.ts : (449,29) Cannot find name 'd3'.
 error  TYPESCRIPT  /src/visual.ts : (577,13) Cannot find name '$'.
 error  TYPESCRIPT  /src/visual.ts : (583,29) Cannot find name 'IVisualPlugin'.
 error  TYPESCRIPT  /visualPlugin.ts : (8,56) Property 'visual' does not exist on type 'typeof extensibility'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (4,2) Type expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (4,3) Cannot find name 'DOCTYPE'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (4,11) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (4,11) Cannot find name 'html'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (5,2) Cannot find name 'html'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (5,7) '>' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (5,7) Cannot find name 'lang'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (5,11) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (5,17) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (5,22) '{' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (6,4) Cannot find name 'head'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (6,9) '>' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (6,9) Cannot find name 'prefix'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (6,15) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (7,6) Cannot find name 'meta'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (7,11) '>' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (7,11) Cannot find name 'charset'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (7,18) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (7,19) Operator '>' cannot be applied to types 'string' and 'number'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (8,6) Cannot find name 'meta'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (8,11) '>' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (8,11) Cannot find name 'http'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (8,16) Cannot find name 'equiv'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (8,21) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (8,40) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (8,40) Cannot find name 'content'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (8,48) Operator '>' cannot be applied to types 'string' and 'number'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (9,6) Cannot find name 'meta'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (9,11) '>' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (9,11) Cannot find name 'http'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (9,16) Cannot find name 'equiv'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (9,21) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (9,41) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (9,41) Cannot find name 'content'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (10,6) Cannot find name 'meta'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (10,11) '>' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (10,15) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (10,27) ';' expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (10,27) Cannot find name 'content'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (17,1) Cannot find name 'declare'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/TypeDefs/leaflet.d.ts : (17,9) ';' expected.

npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/jotham/.nvm/versions/v6.3.1/bin/node" "/Users/jotham/.nvm/versions/v6.3.1/bin/npm" "run" "start"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! power-bi-leaflet@1.0.0 start: `./node_modules/powerbi-visuals-tools/bin/pbiviz.js start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the power-bi-leaflet@1.0.0 start script './node_modules/powerbi-visuals-tools/bin/pbiviz.js start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the power-bi-leaflet package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./node_modules/powerbi-visuals-tools/bin/pbiviz.js start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs power-bi-leaflet
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls power-bi-leaflet
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jotham/projects/power-bi-leaflet/npm-debug.log

As a result, developer preview of the vis is broken.

screen shot 2016-07-26 at 12 14 19 pm

jo-tham commented 8 years ago

Required modules are in PowerBI visuals

https://github.com/Microsoft/PowerBI-visuals/tree/master/src/Clients

Need to figure out exactly which ones are needed and bring them into this repo.

Alternative is to use PowerBI-visuals, but there are many visualizations in there that we do not need, the build for that repo is failing, and it's not clear how to package visualizations in that repo.

That's probably the quicker solution, if it would work, so

  1. see if we can package visualizations from PowerBI-Visuals into .pbiviz files for import to PowerBI
  2. if not 1, resolve these module dependencies
jo-tham commented 8 years ago
  1. AFAICT PowerBI-Visuals does not support packaging visualizations in .pbiviz files.

Work with 2. is going forward slowly

jo-tham commented 8 years ago

Fewer import errors now

 error  TYPESCRIPT  /src/visual.ts : (87,40) Cannot find name 'IVisual'.
 error  TYPESCRIPT  /src/visual.ts : (269,39) Property 'createDisplayNameGetter' does not exist on type 'typeof data'.
 error  TYPESCRIPT  /src/visual.ts : (372,29) Argument of type '{ geoType: string; geoData: LatLng; description: string; dataValue: any; lng: number; lat: number...' is not assignable to parameter of type 'GeoDatapoint'.
  Object literal may only specify known properties, and 'description' does not exist in type 'GeoDatapoint'.
 error  TYPESCRIPT  /src/visual.ts : (384,29) Argument of type '{ geoType: string; geoData: any[]; description: string; dataValue: any; lng: number; lat: number; }' is not assignable to parameter of type 'GeoDatapoint'.
  Object literal may only specify known properties, and 'description' does not exist in type 'GeoDatapoint'.
 error  TYPESCRIPT  /src/visual.ts : (396,29) Argument of type '{ geoType: string; geoData: any[]; description: string; dataValue: any; lng: number; lat: number; }' is not assignable to parameter of type 'GeoDatapoint'.
  Object literal may only specify known properties, and 'description' does not exist in type 'GeoDatapoint'.
 error  TYPESCRIPT  /src/visual.ts : (409,30) Cannot find name 'VisualInitOptions'.
 error  TYPESCRIPT  /src/visual.ts : (581,29) Cannot find name 'IVisualPlugin'.
 error  TYPESCRIPT  /visualPlugin.ts : (8,56) Property 'visual' does not exist on type 'typeof extensibility'.

 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/Clients/Typedefs/leaflet/leaflet.d.ts : (4,2) Type expected.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-
... more errors in leaflet.d.ts ...
leaflet/src/Clients/Typedefs/leaflet/leaflet.d.ts : (17,1) Cannot find name 'declare'.
 error  TYPESCRIPT  /Users/jotham/projects/power-bi-leaflet/src/Clients/Typedefs/leaflet/leaflet.d.ts : (17,9) ';' expected.

might be some erroneous code (is html valid here?) in the top of leaflet.d.ts.

as for the earlier errors, the leafletMaps example I'm working with may be using an older version of the powerbi visual api/interface. https://github.com/Microsoft/PowerBI-visuals-docs/blob/master/Visual/Visual.md

jo-tham commented 8 years ago

it should look like

    module powerbi.extensiblity.visual {

        class MyVisual implements IVisual {

            constructor(options: VisualConstructorOptions) {
                //one time setup code goes here (called once)
            }

            public update(options: VisualUpdateOptions): void {
                //code to update your visual goes here (called on all view or data changes)
            }

            public enumerateObjectInstances(options: EnumerateVisualObjectInstancesOptions): VisualObjectInstanceEnumeration {
                //returns objects to populate the property pane (called for each object defined in capabilities)
            }

            public destroy(): void {
                //one time cleanup code goes here (called once)
            }
        }

    }

instead it looks like

    module powerbi.visuals {

      export class LeafletMap implements IVisual {

        public static capabilities: VisualCapabilities = {
          ...
        }

        public init(): void {
          ...
        }

        public update() {
          ...
        }

        public destroy() {
          ...
        }

        public enumerateObjectInstances(options: EnumerateVisualObjectInstancesOptions): VisualObjectInstance[] {
          ...
        }

      {

    }

    module powerbi.visuals.plugins {
        export var _leafletMap: IVisualPlugin = {
            name: '_leafletMap',
            capabilities: LeafletMap.capabilities,
            create: () => new LeafletMap()
        };
    }

they are very close ... and the errors are not about a bad interface. the names are missing (as if the api modules weren't loaded)

focus on the missing names

jo-tham commented 8 years ago

Pretty close now

 error  TYPESCRIPT  /src/visual.ts : (268,39) Property 'createDisplayNameGetter' does not exist on type 'typeof data'.
 error  TYPESCRIPT  /src/visual.ts : (408,30) Cannot find name 'VisualInitOptions'.
 error  TYPESCRIPT  /visualPlugin.ts : (8,107) Property 'Visual' does not exist on type 'typeof PBI_CV_7844889B_1C25_49B0_A895_4FF3BB38DCF1'.

looking closely into the .api/v1.1.0/PowerBI-visuals.d.ts should make the interfaces clearer

jo-tham commented 8 years ago

From the last comment ... keep an eye on pbiviz.json

the class name used in the visualization is set there, the generated one is called Visual while the one frmo leaflet is LeafletMap

It's too bad they don't hint towards pbiviz.json this when the class name is not found