max-mapper / elementary-electron

NodeSchool workshop for learning Electron
228 stars 44 forks source link

Does this work #39

Open Crucibl opened 2 years ago

Crucibl commented 2 years ago

Does not find electron.

elementary-electron verify
FAIL! Failed to find the command electron in your PATH.

Also has 10 vulnerabilities

Crucibl commented 2 years ago

Installing

You have to install electron into your command line environment.

Run npm install electron -g

If you receive an EACCES error read this guide:

(https://docs.npmjs.com/getting-started/fixing-npm-permissions)

When you think you are done with this challenge, run elementary-electron
verify

zsh: command not found: verify j@MacBook-Pro hello-world % elementary-electron verify
FAIL! Failed to find the command electron in your PATH.

j@MacBook-Pro hello-world % npm install -g elementary-electron npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained npm WARN deprecated sprintf@0.1.5: The sprintf package is deprecated in favor of sprintf-js. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated colors-tmpl@1.0.0: no longer maintained npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address' npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'

changed 219 packages, and audited 220 packages in 4s

4 packages are looking for funding run npm fund for details

10 vulnerabilities (6 moderate, 4 high)

To address issues that do not require attention, run: npm audit fix

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details. j@MacBook-Pro hello-world % npm audit fix

up to date, audited 1 package in 538ms

found 0 vulnerabilities j@MacBook-Pro hello-world % elementary-electron verify
FAIL! Failed to find the command electron in your PATH.

j@MacBook-Pro hello-world %