运行“pbiviz start"时出错在新项目文件夹中 [英] Error running "pbiviz start" in new project folder

查看:43
本文介绍了运行“pbiviz start"时出错在新项目文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这似乎与另一个人今天早些时候发布的问题相同(无法在 powerBI 中连接自定义可视化服务器)但是我可以提供适用于我自己环境的其他信息.

This appears to be the same issue another person posted earlier today (Could not connect Custom Visual server in powerBI) but I can supply additional information applicable in my own environment.

有一个答案建议构建简单的条形图示例,但我知道应该构建由new"命令创建的示例 visual.ts.

There is one answer recommending building the simple bar chart example, but I understand that the sample visual.ts that was created by the "new" command should build.

从使用new"命令创建 pbiviz.json 文件的项目文件夹中运行命令.

I am running the command from within the project folder where the pbiviz.json file was created with the "new" command.

此处是一张图片,显示了文件夹的目录列表以及操作的输出.我看到的是,最初的错误行正在寻找一个直接在项目文件夹下开始的文件夹路径,其中包含node_modules"——而那根本不存在.

Here is an image showing a directory listing for the folder as well as the output for the operation. What I see is that the initial error line is looking for a folder path starting directly under the project folder with "node_modules" -- and that is not there at all.

那么,我是否遇到了版本问题,或者我需要安装一些额外的东西,还是???

So, am I running into a problem with the version something or do I need to install something additional, or ???

我一直按照 github 上 Microsoft/PowerBI-visuals 文件夹中 Readme.md 文档中的步骤进行操作,直到出现此错误为止.

I had been following the steps from the Readme.md documentation at Microsoft/PowerBI-visuals folder on github and have had no errors until this one.

推荐答案

尝试在您的目录中输入:npm install,然后pbiviz start.

Try type in your directory: npm install, and then pbiviz start.

这篇关于运行“pbiviz start"时出错在新项目文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆