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)
- Privileges WebAccess gives a CSP error HOT 1
- Getting TSLint Error when working with [email protected] HOT 2
- Unable to use "strict": true in tsconfig HOT 3
- This repo is missing important files HOT 1
- This repo is missing a license file HOT 2
- "documentation repository" link is not working HOT 1
- developer visual does not recieve update HOT 1
- Link to documentation in Read me document is not working HOT 2
- ssl certificate doesn't installs HOT 6
- RHTML template broken in pbiviz versions 4.0.6+ HOT 2
- In the webpacked css the url() values are not replaced with a base64 strings anymore HOT 1
- Failed to generate visualPlugin.ts HOT 1
- Add data selector to Analytics Pane HOT 1
- Error 404 fetching `pbiviz.json` with custom webpack config. HOT 1
- powerbi-visuals-utils-formattingutils doesnt work when I install Powerbi-visuals-tools globally HOT 1
- How to determine the aggregation type of a measure field in a Power BI custom visual HOT 1
- 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
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.