我试图启动我的自定义可视化(通常是这样),但是在我从版本powerbi-custom-visual 3.0.10中将更新为测试版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版本的,一切都很好。
发布于 2019-11-21 16:39:21
在删除项目中的.tmp文件夹以清理旧版本后,我遇到了类似的情况。我发现必须手动(重新)在项目文件夹中创建..tmp/预编译目录。不知道为什么工具不能处理创建它们本身。
https://stackoverflow.com/questions/54801300
复制相似问题