electron / electron-quick-start

Clone to try a simple Electron app

Home Page:https://electronjs.org/docs/latest/tutorial/quick-start

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How much time is needed to get all the dependencies installed ???

shirishag75 opened this issue · comments

I tried using your instructions and am running this on -

Operating System: Debian GNU/Linux bookworm/sid
          Kernel: Linux 5.17.0-1-amd64
    Architecture: x86-64

I was able to clone the repo without an issue -

~/games$ git clone https://github.com/electron/electron-quick-start
Cloning into 'electron-quick-start'...
remote: Enumerating objects: 1146, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 1146 (delta 0), reused 2 (delta 0), pack-reused 1142
Receiving objects: 100% (1146/1146), 909.23 KiB | 46.00 KiB/s, done.
Resolving deltas: 100% (691/691), done.

Now here is where it becomes interesting -

~/games/electron-quick-start$ npm install
npm WARN old lockfile 
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile 
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile 

It took almost half an hour to at lodash although it finally completed -

added 91 packages, and audited 92 packages in 15m

9 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

One thing to note, Debian already has npm -

$ apt-cache policy npm
npm:
  Installed: 8.11.0~ds1-1
  Candidate: 8.11.0~ds1-1
  Version table:
     8.12.1~ds1-1 100
        100 http://deb.debian.org/debian unstable/main amd64 Packages
 *** 8.11.0~ds1-1 900
        900 http://deb.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status

So when I run npm start I'm not sure which npm is being used -

Anyways, I do get the following -


> electron-quick-start@1.0.0 start
> electron .
Hello World!
We are using Node.js 16.14.2, Chromium 102.0.5005.63, and Electron 19.0.2.

Thanks for reaching out!

Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options.
Check out the Electron community. There are also a bunch of helpful people in this Discord that should be willing to point you in the right direction.