Comments (4)
After further looking at the code, your hint was correct, our command line tool is trying to validate that you are building the correct PowerBI-visuals.d.ts file (from the correct API version).
The best workaround for now is to keep the files list with the line for PowerBI-visuals.d.ts file and exclude the ".api" folder. This will make sure you get what you want and keep the toolset happy.
We can try and mitigate this issue in future releases, but I'm not sure if we can do this easily.
from powerbi-visuals-tools.
Hi,
Are you sure the two things are related? I just created a new empty visual with the CLI tools, added the exclude property to the tsconfig.json file:
{ "compilerOptions": { "allowJs": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "ES5", "sourceMap": true, "out": "./.tmp/build/visual.js" }, "files": [ ".api/v1.1.0/PowerBI-visuals.d.ts", "src/visual.ts" ], "exclude": [ "node_modules", "wwwroot" ] }
And the packaging worked fine.
Try to validate that you are running the package command from the right folder (you should run it from the root folder of your visual)
from powerbi-visuals-tools.
Hey Raananzvi,
as mentioned here: http://www.typescriptlang.org/docs/handbook/tsconfig-json.html
I can use the exclude and include feature without the files feature.
When i add the files array to the tsconfig pbiviz is building my package. But it ignore my include or exclude array.
Typescript 2.0 is very young, so maybe pbiviz do not supported yet?
from powerbi-visuals-tools.
I will try this out.
In the moment i get the feeling i really understand the pbiviz environment.
So iám happy i can help you to improve powerbi-visual-tools.
Thank you very much for your answer and your time.
from powerbi-visuals-tools.
Related Issues (20)
- Visualisation des données de l'agence emploi jeune CI
- Rapport présentant la proportion d'hommes et de femmes qui demandent de l'emploi en CÔTE D'IVOIRE.
- Rapport montrant la répartition des produits de consommation en Côte d’Ivoire HOT 1
- Unable to create visual; HOT 4
- Unable to create visual HOT 1
- unable to install pbiviz HOT 1
- If a visual filtered by a date type field, then the selection is not working well. HOT 1
- Packed visual behaves differently. DataViewMetadata has different entries for the same data mapping in dev/prod mode HOT 2
- Passing query parameter to server HOT 3
- Capabilitie of ImageUpload HOT 1
- geolocation error - disabled by default (feature request) HOT 6
- tsconfig parsing breaks if you include any comments HOT 1
- The 'Show DatavView' button does not work HOT 2
- Tutorial on creating an R-powered Power BI visual is not updated HOT 5
- API Dialog box HOT 7
- pbiviz package -> [ERR_REQUIRE_ESM]: require() of ES Module HOT 7
- Total and Subtotal API not working with select-for-in expression in the data view mapping of the matrix object
- powerbi-client + custom visual. Setting border value HOT 5
- [>= 5.4.2] Uncaught ReferenceError: global is not defined HOT 2
- Custom Visual Library Support for Open AI in Power BI Web HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerbi-visuals-tools.