[英]PowerBI Visuals Tools - error after pbiviz start command
I trying to start my custom visual (like usually) but after I updated powerbi-custom-visual
to version beta 3.0.11 from version 3.0.10 I got the following error:我试图启动我的自定义视觉(像
powerbi-custom-visual
一样)但是在我将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>
Does anyone knows why is that?有谁知道这是为什么? I returned back to the previous beta version of
powerbi-custom-visual
but it did not help.我回到了以前的
powerbi-custom-visual
测试版,但没有帮助。 With version 2.3.0 everything works fine.使用2.3.0版一切正常。
I ran into something similar after I deleted the .tmp folder in my project to clean up from an old build.在我删除项目中的 .tmp 文件夹以清理旧版本后,我遇到了类似的问题。 I found that I had to manually (re)create the .tmp/precompile directories inside my project folder.
我发现我必须在我的项目文件夹中手动(重新)创建 .tmp/precompile 目录。 Not sure why the tool couldn't handle creating them itself.
不知道为什么该工具无法自行创建它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.