Errors with packaging of Speckle
Closed this issue · 1 comments
alex-v-ivanov commented
I am getting 6 errors when I do pbiviz start
Prerequisites
- I read the contribution guidelines
- I checked the documentation and found no answer.
- I checked existing issues and found no similar issue.
- I checked the community forum for related discussions and found no answer.
- I'm reporting the issue to the correct repository (see also speckle-server, speckle-sharp, specklepy, speckle-docs, and others)
What package are you referring to?
https://github.com/specklesystems/speckle-powerbi-visuals/tree/main/src
Describe the bug
When I run the command pbiviz start I am getting 6 errors related to the webpack tool.
To Reproduce
- Go to (https://github.com/specklesystems/speckle-powerbi-visuals/tree/main/src)
- Download and unpack the sources
- Open Powershell with the directory containing the source code
- Run pbiviz start
Expected behavior
On the Power BI Service the developer's visual must show a content but it shows the error
Screenshots
System Info
Desktop (please complete the following information):
- Windows 10 x64
- Chrome Version 115.0.5790.171 (Official Build) (64-bit)
Smartphone (please complete the following information):
Failure Logs
Additional context
Proposed Solution (if any)
Answer here please
Optional: Affected Projects
AlanRynne commented
Hi there @alex-v-ivanov!
The reason it's no longer working is that we had to move away from the pbiviz
tool in favor of packing everything directly with webpack
.
If you check the package.json
scripts, you'll see none of them are using pbiviz anymore. Running those should do the trick.
speckle-powerbi-visuals/package.json
Lines 9 to 13 in c3ca9c8