It just won't work - first, "Arial font" error, then "GPU process" error.
FrankieFalzon opened this issue · 2 comments
I was very interested in this program, it sounded very promising, and I wanted to try it out very much, but it looks like I have to give up on trying to run it. I tried on Windows Virtual Machine and several Ubuntus (16, 20), even a Pie. Finally, after many versions, one Ubuntu ran it, after hours of updates and upgrades, installing and fixing and updating NPM and Nodejs, NPM electron, others... It finally ran. But the graphics below the sample was missing and there was the error about the font.
url:
data:text/html;charset=utf-8, <HTML/> <body style="padding: 8px 0px 0px 8px; background-color:white;"> <span style="padding 0px 0px 0px 0px; font-weight: normal; line-spacing: 0px; word-spacing: 0px; white-space: pre; margin: 0; font-size: 32px; font-family:'Arial'">a</span><span style="padding 0px 0px 0px 0px; margin: 0; color: blue; font-size: 32px; font-family:'Arial'">█</span> </body> </HTML>
A hint here suggested to open the file main.ts and change "sandbox: true" to "sandbox: false" - that made the error disappear, but now there is another one.
(node:27185) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[27185:1226/123022.939019:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
And that's it, there's no way around that. Looks like that's the end of trying out the program.
edit package.json in the root directory, change the line
"start": "npm run build && electron ./dist/main.js"
to
"start": "npm run build && electron --in-process-gpu ./dist/main.js"