安装程序失败|找不到StubMain.js [英] Installer Fails | Cannot find StubMain.js
问题描述
我运行了安装程序,因为我想将Visual Studio 2017 RC升级到Visual Studio 2017,然后我收到了VS消息框并单击继续,然后我收到一条错误消息:
I ran the installer because I want to upgrade my Visual Studio 2017 RC to Visual Studio 2017 and I got the VS message box and clicked Continue and then I got an error that says:
Uncaught Exception:
Error: Cannot find module 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js'
推荐答案
嗨houseofkraft,
Hi houseofkraft,
感谢您在MSDN论坛上发帖。
Thank you for posting in MSDN forum.
对于这个问题, 首先请转到路径:
For this issue, firstly please go to path:
C:\Program Files(x86)\ Microsoft Visual Studio\Installer\resources\app\main
检查JavaScript文件 StubMain 是否确实存在,如下所示:
to check if the JavaScript file StubMain does really exist as below:
如果是s文件丢失,请到
https://www.visualstudio.com/downloads/ 下载最新的VS 2017 Web安装程序,以管理员身份运行此安装程序以生成丢失的文件。
If this file is missing, please go to https://www.visualstudio.com/downloads/ to download the newest VS 2017 web installer, run this installer as administrator to generate the missing file.
使用最新的VS安装程序执行VS设置。
Use the latest VS installer to perform a VS setup.
如果在执行上述操作后仍有任何问题,请随时告诉我,我会尽力帮助您进一步分析。
If any problem persists after doing the above, please feel free to tell me, I will try to help you for further analyze.
最好的问候
>
这篇关于安装程序失败|找不到StubMain.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!