mapbox / mapboxgl-powerbi

Mapbox Visual for Power BI - High performance, custom map visuals for Power BI dashboards. This version of Mapbox Visual for Microsoft Power BI is no longer maintained. You can find the live and maintained version of the plugin at: https://github.com/starschema/mapboxgl-powerbi.
MIT License
127 stars 52 forks source link

Package generation issue #318

Closed Tarasteed closed 5 years ago

Tarasteed commented 5 years ago

Hi, I want to make some mofification to your existing component, so i'm trying to generate a new .pbiviz. After updating all the packages and installing a new certificate, i'm stuck with the pbiviz start or pbiviz package with the following error: image Any ideas ?

Thanks.

Tarasteed commented 5 years ago

This problem comes because i tried to update @types myslef. The first problem encountered is :

`info Building visual...

error TYPESCRIPT C:/MyPath/node_modules/@types/unist/index.d.ts : (31,20) Cannot find name 'unknown'. error TYPESCRIPT C:/MyPath/node_modules/@types/unist/index.d.ts : (40,20) Cannot find name 'unknown'. error TYPESCRIPT C:/MyPath/node_modules/@types/unist/index.d.ts : (97,12) Cannot find name 'unknown'.`

captjoemcd commented 5 years ago

Delete the C:/MyPath/node_modules/@types/unist/ folder. It isn't referenced anywhere and you'll be able to build the package once it is deleted.

ryanbaumann commented 5 years ago

This should be solved now in the current master branch. Make sure to use npm install -g powerbi-visuals-tools@2.6.0 for now until we release v1.6.0 which will be refactored for v3 visuals tools.