PowerBI Visuals Tools-pbiviz启动命令后发生错误

时间:2019-02-21 07:17:15

标签: powerbi powerbi-custom-visuals pbiviz

我试图像通常一样开始自定义视觉效果,但是在我将powerbi-custom-visual从版本 3.0.10 更新为Beta版本 3.0.11 之后,我得到了以下错误:

error  ENOENT: no such file or directory, open '/Users/mar/CustomVisuals/rangechart/.tmp/precompile/visualPlugin.ts'
(node:1454) UnhandledPromiseRejectionWarning: Error: Failed to generate visualPlugin.ts
   at generateVisualPlugin.then.catch.ex (/usr/local/lib/node_modules/powerbi-visuals-tools/node_modules/powerbi-visuals-webpack-plugin/index.js:168:12)
   at <anonymous>

有人知道为什么吗?我回到了先前的powerbi-custom-visual测试版,但没有帮助。对于版本 2.3.0 ,一切正常。

1 个答案:

答案 0 :(得分:0)

在删除项目中的.tmp文件夹以从旧版本清除后,我遇到了类似的情况。我发现我必须在项目文件夹中手动(重新)创建.tmp / precompile目录。不确定为什么该工具无法自行创建它们。