Electron出现GL_OUT_OF_MEMORY解决办法

今天入坑Electron,在win7运行https://github.com/electron/electron-quick-start.git时触发以下问题:

>cnpm start

> [email protected] start D:\Code\test_project\electron-quick-start
> electron .


(electron) The default value of app.allowRendererProcessReuse is deprecated, it
is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
[7404:0301/175745.988:ERROR:gl_utils.cc(325)] [.DisplayCompositor] GL_OUT_OF_MEMORY: Internal D3D11 error: HRESULT: 0x8007000E: LoadLibrary failed to load D3D Compiler DLL.
[7404:0301/175745.989:ERROR:gl_utils.cc(325)] [.DisplayCompositor] GL_OUT_OF_MEMORY: Context has been lost.
[7404:0301/175745.989:ERROR:gl_utils.cc(325)] [.DisplayCompositor] GL_OUT_OF_MEMORY: Context has been lost.
[7404:0301/175745.989:ERROR:gl_utils.cc(325)] [.DisplayCompositor] GL_OUT_OF_MEMORY: Context has been lost.

通过Baidu查询不到解决方法,所以下载DirectX修复工具
修复结果是d3dcompiler.exe丢失。修复完成后即可运行。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章