Tuesday, August 16, 2022

Install Electron on Kubuntu Linux

npm i -D electron // install as devDependency in project

npm start

npm i -D nodemon // install as devDependency in project

npm run dev // dev in package.json


git clone https://github.com/electron/electron-quick-start

cd electron-quick-start

npm install && npm start

bash: npm: command not found

sudo apt install npm

npm install

npm start

added 78 packages, and audited 79 packages in 1m


9 packages are looking for funding

  run `npm fund` for details


3 moderate severity vulnerabilities


To address all issues (including breaking changes), run:

  npm audit fix --force


Run `npm audit` for details.


> electron-quick-start@1.0.0 start

> electron .


[78807:0816/205733.655425:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.


https://www.electronjs.org/

https://www.npmjs.com


Materialize

Font Awesome

Electron app isn't finding CSS/JS included in package:

<link rel="stylesheet" href="/css/style.css" /> =>

<link rel="stylesheet" href="../css/style.css" />

No comments:

Post a Comment