Forum Discussion
vasher
7 years agoHelper I
Power BI Custom Visual - force directed graph API error
Hi, I'm trying to create a custom Force Directed Graph using the source code on Github (PowerBI-visuals-ForceGraph) and following the tutorial available at creating-a-custom-visual. Unfortunately...
- 7 years ago
Hi,
To build Force Directed Graph from source code please follow these steps:
- $ git clone [email protected]:Microsoft/PowerBI-visuals-ForceGraph.git
- $ cd PowerBI-visuals-ForceGraph
- $ npm install
- $ npm run pbiviz -- --create-cert
- $ npm start
Let us know if it resolves the issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
vasher
7 years agoHelper I
Thanks for the solution Ignat. I followed the steps but unfortunately step 3 produces the following errors:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1234 packages from 1340 contributors and audited 17443 packages in 164.43s
found 2 vulnerabilities (1 low, 1 high)
vasher
7 years agoHelper I
Ignoring the errors/warnings and proceeding futher seems to work. However, for step 5, I had to use pbiviz start.
Thanks a ton for the solution!