I'm getting an error when launching electron after installation of youtube-dl npm The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceNPM modules won't install globally without sudoHow to fix an error when installing a PhantomJS bridge for node.js on Windows 7 64-bit?Start script missing error when running npm startnode.js npm oracledb install errorgetting unnecessary error to install phonegap/cordova using npmnpm install error in laravel 5.6 with fresh installationnode-api.h problem, while configure build with node-gypAngular Swimlane Ngx chart not working locally which works in stackblitzElectron Browser Window won't openheroku run locally command give me the following error in node js ,what are the possible reason?

Can each chord in a progression create its own key?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Do I have Disadvantage attacking with an off-hand weapon?

Why can't wing-mounted spoilers be used to steepen approaches?

Deal with toxic manager when you can't quit

Sub-subscripts in strings cause different spacings than subscripts

How to make Illustrator type tool selection automatically adapt with text length

How do you keep chess fun when your opponent constantly beats you?

What information about me do stores get via my credit card?

Why doesn't a hydraulic lever violate conservation of energy?

Is every episode of "Where are my Pants?" identical?

Using dividends to reduce short term capital gains?

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Does Parliament hold absolute power in the UK?

Match Roman Numerals

Why can I use a list index as an indexing variable in a for loop?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

How to read αἱμύλιος or when to aspirate

Why did Peik Lin say, "I'm not an animal"?

Homework question about an engine pulling a train

Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?

Word for: a synonym with a positive connotation?

Am I ethically obligated to go into work on an off day if the reason is sudden?

What do I do when my TA workload is more than expected?



I'm getting an error when launching electron after installation of youtube-dl npm



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceNPM modules won't install globally without sudoHow to fix an error when installing a PhantomJS bridge for node.js on Windows 7 64-bit?Start script missing error when running npm startnode.js npm oracledb install errorgetting unnecessary error to install phonegap/cordova using npmnpm install error in laravel 5.6 with fresh installationnode-api.h problem, while configure build with node-gypAngular Swimlane Ngx chart not working locally which works in stackblitzElectron Browser Window won't openheroku run locally command give me the following error in node js ,what are the possible reason?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















so I was working on a project wich include Youtube-dl (npm) so I downloaded it, and all the dependencies required, Here is the Error



Ai:electron-quick-start scorpion$ npm start



electron-quick-started@1.0.0 start /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
electron .
sh: electron: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! electron-quick-started@1.0.0 start: electron .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the electron-quick-started@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/scorpion/.npm/_logs/2019-03-22T05_37_51_770Z-debug.log
Ai:electron-quick-start scorpion$




and here is my actual Json file wich I think is the problem:







"name": "electron-quick-started",
"version": "1.0.0",
"description": "A minimal Electron application",
"main": "main.js",
"scripts":
"start": "electron ."
,
"dependencies":
"ajv": "^6.10.0",
"asn1": "^0.2.4",
"assert-plus": "^1.0.0",
"asynckit": "^0.4.0",
"aws-sign2": "^0.7.0",
"aws4": "^1.8.0",
"bcrypt-pbkdf": "^1.0.2",
"caseless": "^0.12.0",
"combined-stream": "^1.0.7",
"core-util-is": "^1.0.2",
"dashdash": "^1.14.1",
"delayed-stream": "^1.0.0",
"ecc-jsbn": "^0.2.0",
"extend": "^3.0.2",
"extsprintf": "^1.4.0",
"fast-deep-equal": "^2.0.1",
"fast-json-stable-stringify": "^2.0.0",
"forever-agent": "^0.6.1",
"form-data": "^2.3.3",
"getpass": "^0.1.7",
"har-schema": "^2.0.0",
"har-validator": "^5.1.3",
"hh-mm-ss": "^1.2.0",
"http-signature": "^1.2.0",
"ip-regex": "^4.0.0",
"is-typedarray": "^1.0.0",
"isstream": "^0.1.2",
"jsbn": "^1.1.0",
"json-schema-traverse": "^0.4.1",
"json-stringify-safe": "^5.0.1",
"jsprim": "^2.0.0",
"mime-db": "^1.38.0",
"mime-types": "^2.1.22",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"oauth-sign": "^0.9.0",
"performance-now": "^2.1.0",
"psl": "^1.1.31",
"punycode": "^2.1.1",
"qs": "^6.6.0",
"request": "^2.88.0",
"safe-buffer": "^5.1.2",
"sshpk": "^1.16.1",
"streamify": "^1.0.0",
"tough-cookie": "^3.0.1",
"tunnel-agent": "^0.6.0",
"tweetnacl": "^1.0.1",
"uri-js": "^4.2.2",
"uuid": "^3.3.2",
"verror": "^1.10.0",
"youtube-dl": "^1.12.2",
"zero-fill": "^2.2.3"






Here is the log file






0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@6.7.0
3 info using node@v11.12.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle electron-quick-started@1.0.0~prestart: electron-quick-started@1.0.0
6 info lifecycle electron-quick-started@1.0.0~start: electron-quick-started@1.0.0
7 verbose lifecycle electron-quick-started@1.0.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle electron-quick-started@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/ImageMagick/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin
9 verbose lifecycle electron-quick-started@1.0.0~start: CWD: /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
10 silly lifecycle electron-quick-started@1.0.0~start: Args: [ '-c', 'electron .' ]
11 info lifecycle electron-quick-started@1.0.0~start: Failed to exec start script
12 verbose stack Error: electron-quick-started@1.0.0 start: `electron .`
12 verbose stack spawn ENOENT
12 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack at ChildProcess.emit (events.js:197:13)
12 verbose stack at maybeClose (internal/child_process.js:988:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
13 verbose pkgid electron-quick-started@1.0.0
14 verbose cwd /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
15 verbose Darwin 18.2.0
16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
17 verbose node v11.12.0
18 verbose npm v6.7.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error electron-quick-started@1.0.0 start: `electron .`
23 error spawn ENOENT
24 error Failed at the electron-quick-started@1.0.0 start script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]












share|improve this question






























    0















    so I was working on a project wich include Youtube-dl (npm) so I downloaded it, and all the dependencies required, Here is the Error



    Ai:electron-quick-start scorpion$ npm start



    electron-quick-started@1.0.0 start /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
    electron .
    sh: electron: command not found
    npm ERR! file sh
    npm ERR! code ELIFECYCLE
    npm ERR! errno ENOENT
    npm ERR! syscall spawn
    npm ERR! electron-quick-started@1.0.0 start: electron .
    npm ERR! spawn ENOENT
    npm ERR!
    npm ERR! Failed at the electron-quick-started@1.0.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    npm ERR! A complete log of this run can be found in:
    npm ERR! /Users/scorpion/.npm/_logs/2019-03-22T05_37_51_770Z-debug.log
    Ai:electron-quick-start scorpion$




    and here is my actual Json file wich I think is the problem:







    "name": "electron-quick-started",
    "version": "1.0.0",
    "description": "A minimal Electron application",
    "main": "main.js",
    "scripts":
    "start": "electron ."
    ,
    "dependencies":
    "ajv": "^6.10.0",
    "asn1": "^0.2.4",
    "assert-plus": "^1.0.0",
    "asynckit": "^0.4.0",
    "aws-sign2": "^0.7.0",
    "aws4": "^1.8.0",
    "bcrypt-pbkdf": "^1.0.2",
    "caseless": "^0.12.0",
    "combined-stream": "^1.0.7",
    "core-util-is": "^1.0.2",
    "dashdash": "^1.14.1",
    "delayed-stream": "^1.0.0",
    "ecc-jsbn": "^0.2.0",
    "extend": "^3.0.2",
    "extsprintf": "^1.4.0",
    "fast-deep-equal": "^2.0.1",
    "fast-json-stable-stringify": "^2.0.0",
    "forever-agent": "^0.6.1",
    "form-data": "^2.3.3",
    "getpass": "^0.1.7",
    "har-schema": "^2.0.0",
    "har-validator": "^5.1.3",
    "hh-mm-ss": "^1.2.0",
    "http-signature": "^1.2.0",
    "ip-regex": "^4.0.0",
    "is-typedarray": "^1.0.0",
    "isstream": "^0.1.2",
    "jsbn": "^1.1.0",
    "json-schema-traverse": "^0.4.1",
    "json-stringify-safe": "^5.0.1",
    "jsprim": "^2.0.0",
    "mime-db": "^1.38.0",
    "mime-types": "^2.1.22",
    "minimist": "^1.2.0",
    "mkdirp": "^0.5.1",
    "oauth-sign": "^0.9.0",
    "performance-now": "^2.1.0",
    "psl": "^1.1.31",
    "punycode": "^2.1.1",
    "qs": "^6.6.0",
    "request": "^2.88.0",
    "safe-buffer": "^5.1.2",
    "sshpk": "^1.16.1",
    "streamify": "^1.0.0",
    "tough-cookie": "^3.0.1",
    "tunnel-agent": "^0.6.0",
    "tweetnacl": "^1.0.1",
    "uri-js": "^4.2.2",
    "uuid": "^3.3.2",
    "verror": "^1.10.0",
    "youtube-dl": "^1.12.2",
    "zero-fill": "^2.2.3"






    Here is the log file






    0 info it worked if it ends with ok
    1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
    2 info using npm@6.7.0
    3 info using node@v11.12.0
    4 verbose run-script [ 'prestart', 'start', 'poststart' ]
    5 info lifecycle electron-quick-started@1.0.0~prestart: electron-quick-started@1.0.0
    6 info lifecycle electron-quick-started@1.0.0~start: electron-quick-started@1.0.0
    7 verbose lifecycle electron-quick-started@1.0.0~start: unsafe-perm in lifecycle true
    8 verbose lifecycle electron-quick-started@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/ImageMagick/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin
    9 verbose lifecycle electron-quick-started@1.0.0~start: CWD: /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
    10 silly lifecycle electron-quick-started@1.0.0~start: Args: [ '-c', 'electron .' ]
    11 info lifecycle electron-quick-started@1.0.0~start: Failed to exec start script
    12 verbose stack Error: electron-quick-started@1.0.0 start: `electron .`
    12 verbose stack spawn ENOENT
    12 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
    12 verbose stack at ChildProcess.emit (events.js:197:13)
    12 verbose stack at maybeClose (internal/child_process.js:988:16)
    12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
    13 verbose pkgid electron-quick-started@1.0.0
    14 verbose cwd /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
    15 verbose Darwin 18.2.0
    16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
    17 verbose node v11.12.0
    18 verbose npm v6.7.0
    19 error file sh
    20 error code ELIFECYCLE
    21 error errno ENOENT
    22 error syscall spawn
    23 error electron-quick-started@1.0.0 start: `electron .`
    23 error spawn ENOENT
    24 error Failed at the electron-quick-started@1.0.0 start script.
    24 error This is probably not a problem with npm. There is likely additional logging output above.
    25 verbose exit [ 1, true ]












    share|improve this question


























      0












      0








      0


      0






      so I was working on a project wich include Youtube-dl (npm) so I downloaded it, and all the dependencies required, Here is the Error



      Ai:electron-quick-start scorpion$ npm start



      electron-quick-started@1.0.0 start /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      electron .
      sh: electron: command not found
      npm ERR! file sh
      npm ERR! code ELIFECYCLE
      npm ERR! errno ENOENT
      npm ERR! syscall spawn
      npm ERR! electron-quick-started@1.0.0 start: electron .
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the electron-quick-started@1.0.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      npm ERR! A complete log of this run can be found in:
      npm ERR! /Users/scorpion/.npm/_logs/2019-03-22T05_37_51_770Z-debug.log
      Ai:electron-quick-start scorpion$




      and here is my actual Json file wich I think is the problem:







      "name": "electron-quick-started",
      "version": "1.0.0",
      "description": "A minimal Electron application",
      "main": "main.js",
      "scripts":
      "start": "electron ."
      ,
      "dependencies":
      "ajv": "^6.10.0",
      "asn1": "^0.2.4",
      "assert-plus": "^1.0.0",
      "asynckit": "^0.4.0",
      "aws-sign2": "^0.7.0",
      "aws4": "^1.8.0",
      "bcrypt-pbkdf": "^1.0.2",
      "caseless": "^0.12.0",
      "combined-stream": "^1.0.7",
      "core-util-is": "^1.0.2",
      "dashdash": "^1.14.1",
      "delayed-stream": "^1.0.0",
      "ecc-jsbn": "^0.2.0",
      "extend": "^3.0.2",
      "extsprintf": "^1.4.0",
      "fast-deep-equal": "^2.0.1",
      "fast-json-stable-stringify": "^2.0.0",
      "forever-agent": "^0.6.1",
      "form-data": "^2.3.3",
      "getpass": "^0.1.7",
      "har-schema": "^2.0.0",
      "har-validator": "^5.1.3",
      "hh-mm-ss": "^1.2.0",
      "http-signature": "^1.2.0",
      "ip-regex": "^4.0.0",
      "is-typedarray": "^1.0.0",
      "isstream": "^0.1.2",
      "jsbn": "^1.1.0",
      "json-schema-traverse": "^0.4.1",
      "json-stringify-safe": "^5.0.1",
      "jsprim": "^2.0.0",
      "mime-db": "^1.38.0",
      "mime-types": "^2.1.22",
      "minimist": "^1.2.0",
      "mkdirp": "^0.5.1",
      "oauth-sign": "^0.9.0",
      "performance-now": "^2.1.0",
      "psl": "^1.1.31",
      "punycode": "^2.1.1",
      "qs": "^6.6.0",
      "request": "^2.88.0",
      "safe-buffer": "^5.1.2",
      "sshpk": "^1.16.1",
      "streamify": "^1.0.0",
      "tough-cookie": "^3.0.1",
      "tunnel-agent": "^0.6.0",
      "tweetnacl": "^1.0.1",
      "uri-js": "^4.2.2",
      "uuid": "^3.3.2",
      "verror": "^1.10.0",
      "youtube-dl": "^1.12.2",
      "zero-fill": "^2.2.3"






      Here is the log file






      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
      2 info using npm@6.7.0
      3 info using node@v11.12.0
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle electron-quick-started@1.0.0~prestart: electron-quick-started@1.0.0
      6 info lifecycle electron-quick-started@1.0.0~start: electron-quick-started@1.0.0
      7 verbose lifecycle electron-quick-started@1.0.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle electron-quick-started@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/ImageMagick/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin
      9 verbose lifecycle electron-quick-started@1.0.0~start: CWD: /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      10 silly lifecycle electron-quick-started@1.0.0~start: Args: [ '-c', 'electron .' ]
      11 info lifecycle electron-quick-started@1.0.0~start: Failed to exec start script
      12 verbose stack Error: electron-quick-started@1.0.0 start: `electron .`
      12 verbose stack spawn ENOENT
      12 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
      12 verbose stack at ChildProcess.emit (events.js:197:13)
      12 verbose stack at maybeClose (internal/child_process.js:988:16)
      12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
      13 verbose pkgid electron-quick-started@1.0.0
      14 verbose cwd /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      15 verbose Darwin 18.2.0
      16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
      17 verbose node v11.12.0
      18 verbose npm v6.7.0
      19 error file sh
      20 error code ELIFECYCLE
      21 error errno ENOENT
      22 error syscall spawn
      23 error electron-quick-started@1.0.0 start: `electron .`
      23 error spawn ENOENT
      24 error Failed at the electron-quick-started@1.0.0 start script.
      24 error This is probably not a problem with npm. There is likely additional logging output above.
      25 verbose exit [ 1, true ]












      share|improve this question
















      so I was working on a project wich include Youtube-dl (npm) so I downloaded it, and all the dependencies required, Here is the Error



      Ai:electron-quick-start scorpion$ npm start



      electron-quick-started@1.0.0 start /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      electron .
      sh: electron: command not found
      npm ERR! file sh
      npm ERR! code ELIFECYCLE
      npm ERR! errno ENOENT
      npm ERR! syscall spawn
      npm ERR! electron-quick-started@1.0.0 start: electron .
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the electron-quick-started@1.0.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      npm ERR! A complete log of this run can be found in:
      npm ERR! /Users/scorpion/.npm/_logs/2019-03-22T05_37_51_770Z-debug.log
      Ai:electron-quick-start scorpion$




      and here is my actual Json file wich I think is the problem:







      "name": "electron-quick-started",
      "version": "1.0.0",
      "description": "A minimal Electron application",
      "main": "main.js",
      "scripts":
      "start": "electron ."
      ,
      "dependencies":
      "ajv": "^6.10.0",
      "asn1": "^0.2.4",
      "assert-plus": "^1.0.0",
      "asynckit": "^0.4.0",
      "aws-sign2": "^0.7.0",
      "aws4": "^1.8.0",
      "bcrypt-pbkdf": "^1.0.2",
      "caseless": "^0.12.0",
      "combined-stream": "^1.0.7",
      "core-util-is": "^1.0.2",
      "dashdash": "^1.14.1",
      "delayed-stream": "^1.0.0",
      "ecc-jsbn": "^0.2.0",
      "extend": "^3.0.2",
      "extsprintf": "^1.4.0",
      "fast-deep-equal": "^2.0.1",
      "fast-json-stable-stringify": "^2.0.0",
      "forever-agent": "^0.6.1",
      "form-data": "^2.3.3",
      "getpass": "^0.1.7",
      "har-schema": "^2.0.0",
      "har-validator": "^5.1.3",
      "hh-mm-ss": "^1.2.0",
      "http-signature": "^1.2.0",
      "ip-regex": "^4.0.0",
      "is-typedarray": "^1.0.0",
      "isstream": "^0.1.2",
      "jsbn": "^1.1.0",
      "json-schema-traverse": "^0.4.1",
      "json-stringify-safe": "^5.0.1",
      "jsprim": "^2.0.0",
      "mime-db": "^1.38.0",
      "mime-types": "^2.1.22",
      "minimist": "^1.2.0",
      "mkdirp": "^0.5.1",
      "oauth-sign": "^0.9.0",
      "performance-now": "^2.1.0",
      "psl": "^1.1.31",
      "punycode": "^2.1.1",
      "qs": "^6.6.0",
      "request": "^2.88.0",
      "safe-buffer": "^5.1.2",
      "sshpk": "^1.16.1",
      "streamify": "^1.0.0",
      "tough-cookie": "^3.0.1",
      "tunnel-agent": "^0.6.0",
      "tweetnacl": "^1.0.1",
      "uri-js": "^4.2.2",
      "uuid": "^3.3.2",
      "verror": "^1.10.0",
      "youtube-dl": "^1.12.2",
      "zero-fill": "^2.2.3"






      Here is the log file






      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
      2 info using npm@6.7.0
      3 info using node@v11.12.0
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle electron-quick-started@1.0.0~prestart: electron-quick-started@1.0.0
      6 info lifecycle electron-quick-started@1.0.0~start: electron-quick-started@1.0.0
      7 verbose lifecycle electron-quick-started@1.0.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle electron-quick-started@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/ImageMagick/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin
      9 verbose lifecycle electron-quick-started@1.0.0~start: CWD: /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      10 silly lifecycle electron-quick-started@1.0.0~start: Args: [ '-c', 'electron .' ]
      11 info lifecycle electron-quick-started@1.0.0~start: Failed to exec start script
      12 verbose stack Error: electron-quick-started@1.0.0 start: `electron .`
      12 verbose stack spawn ENOENT
      12 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
      12 verbose stack at ChildProcess.emit (events.js:197:13)
      12 verbose stack at maybeClose (internal/child_process.js:988:16)
      12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
      13 verbose pkgid electron-quick-started@1.0.0
      14 verbose cwd /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      15 verbose Darwin 18.2.0
      16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
      17 verbose node v11.12.0
      18 verbose npm v6.7.0
      19 error file sh
      20 error code ELIFECYCLE
      21 error errno ENOENT
      22 error syscall spawn
      23 error electron-quick-started@1.0.0 start: `electron .`
      23 error spawn ENOENT
      24 error Failed at the electron-quick-started@1.0.0 start script.
      24 error This is probably not a problem with npm. There is likely additional logging output above.
      25 verbose exit [ 1, true ]









      "name": "electron-quick-started",
      "version": "1.0.0",
      "description": "A minimal Electron application",
      "main": "main.js",
      "scripts":
      "start": "electron ."
      ,
      "dependencies":
      "ajv": "^6.10.0",
      "asn1": "^0.2.4",
      "assert-plus": "^1.0.0",
      "asynckit": "^0.4.0",
      "aws-sign2": "^0.7.0",
      "aws4": "^1.8.0",
      "bcrypt-pbkdf": "^1.0.2",
      "caseless": "^0.12.0",
      "combined-stream": "^1.0.7",
      "core-util-is": "^1.0.2",
      "dashdash": "^1.14.1",
      "delayed-stream": "^1.0.0",
      "ecc-jsbn": "^0.2.0",
      "extend": "^3.0.2",
      "extsprintf": "^1.4.0",
      "fast-deep-equal": "^2.0.1",
      "fast-json-stable-stringify": "^2.0.0",
      "forever-agent": "^0.6.1",
      "form-data": "^2.3.3",
      "getpass": "^0.1.7",
      "har-schema": "^2.0.0",
      "har-validator": "^5.1.3",
      "hh-mm-ss": "^1.2.0",
      "http-signature": "^1.2.0",
      "ip-regex": "^4.0.0",
      "is-typedarray": "^1.0.0",
      "isstream": "^0.1.2",
      "jsbn": "^1.1.0",
      "json-schema-traverse": "^0.4.1",
      "json-stringify-safe": "^5.0.1",
      "jsprim": "^2.0.0",
      "mime-db": "^1.38.0",
      "mime-types": "^2.1.22",
      "minimist": "^1.2.0",
      "mkdirp": "^0.5.1",
      "oauth-sign": "^0.9.0",
      "performance-now": "^2.1.0",
      "psl": "^1.1.31",
      "punycode": "^2.1.1",
      "qs": "^6.6.0",
      "request": "^2.88.0",
      "safe-buffer": "^5.1.2",
      "sshpk": "^1.16.1",
      "streamify": "^1.0.0",
      "tough-cookie": "^3.0.1",
      "tunnel-agent": "^0.6.0",
      "tweetnacl": "^1.0.1",
      "uri-js": "^4.2.2",
      "uuid": "^3.3.2",
      "verror": "^1.10.0",
      "youtube-dl": "^1.12.2",
      "zero-fill": "^2.2.3"







      "name": "electron-quick-started",
      "version": "1.0.0",
      "description": "A minimal Electron application",
      "main": "main.js",
      "scripts":
      "start": "electron ."
      ,
      "dependencies":
      "ajv": "^6.10.0",
      "asn1": "^0.2.4",
      "assert-plus": "^1.0.0",
      "asynckit": "^0.4.0",
      "aws-sign2": "^0.7.0",
      "aws4": "^1.8.0",
      "bcrypt-pbkdf": "^1.0.2",
      "caseless": "^0.12.0",
      "combined-stream": "^1.0.7",
      "core-util-is": "^1.0.2",
      "dashdash": "^1.14.1",
      "delayed-stream": "^1.0.0",
      "ecc-jsbn": "^0.2.0",
      "extend": "^3.0.2",
      "extsprintf": "^1.4.0",
      "fast-deep-equal": "^2.0.1",
      "fast-json-stable-stringify": "^2.0.0",
      "forever-agent": "^0.6.1",
      "form-data": "^2.3.3",
      "getpass": "^0.1.7",
      "har-schema": "^2.0.0",
      "har-validator": "^5.1.3",
      "hh-mm-ss": "^1.2.0",
      "http-signature": "^1.2.0",
      "ip-regex": "^4.0.0",
      "is-typedarray": "^1.0.0",
      "isstream": "^0.1.2",
      "jsbn": "^1.1.0",
      "json-schema-traverse": "^0.4.1",
      "json-stringify-safe": "^5.0.1",
      "jsprim": "^2.0.0",
      "mime-db": "^1.38.0",
      "mime-types": "^2.1.22",
      "minimist": "^1.2.0",
      "mkdirp": "^0.5.1",
      "oauth-sign": "^0.9.0",
      "performance-now": "^2.1.0",
      "psl": "^1.1.31",
      "punycode": "^2.1.1",
      "qs": "^6.6.0",
      "request": "^2.88.0",
      "safe-buffer": "^5.1.2",
      "sshpk": "^1.16.1",
      "streamify": "^1.0.0",
      "tough-cookie": "^3.0.1",
      "tunnel-agent": "^0.6.0",
      "tweetnacl": "^1.0.1",
      "uri-js": "^4.2.2",
      "uuid": "^3.3.2",
      "verror": "^1.10.0",
      "youtube-dl": "^1.12.2",
      "zero-fill": "^2.2.3"






      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
      2 info using npm@6.7.0
      3 info using node@v11.12.0
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle electron-quick-started@1.0.0~prestart: electron-quick-started@1.0.0
      6 info lifecycle electron-quick-started@1.0.0~start: electron-quick-started@1.0.0
      7 verbose lifecycle electron-quick-started@1.0.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle electron-quick-started@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/ImageMagick/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin
      9 verbose lifecycle electron-quick-started@1.0.0~start: CWD: /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      10 silly lifecycle electron-quick-started@1.0.0~start: Args: [ '-c', 'electron .' ]
      11 info lifecycle electron-quick-started@1.0.0~start: Failed to exec start script
      12 verbose stack Error: electron-quick-started@1.0.0 start: `electron .`
      12 verbose stack spawn ENOENT
      12 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
      12 verbose stack at ChildProcess.emit (events.js:197:13)
      12 verbose stack at maybeClose (internal/child_process.js:988:16)
      12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
      13 verbose pkgid electron-quick-started@1.0.0
      14 verbose cwd /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      15 verbose Darwin 18.2.0
      16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
      17 verbose node v11.12.0
      18 verbose npm v6.7.0
      19 error file sh
      20 error code ELIFECYCLE
      21 error errno ENOENT
      22 error syscall spawn
      23 error electron-quick-started@1.0.0 start: `electron .`
      23 error spawn ENOENT
      24 error Failed at the electron-quick-started@1.0.0 start script.
      24 error This is probably not a problem with npm. There is likely additional logging output above.
      25 verbose exit [ 1, true ]





      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
      2 info using npm@6.7.0
      3 info using node@v11.12.0
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle electron-quick-started@1.0.0~prestart: electron-quick-started@1.0.0
      6 info lifecycle electron-quick-started@1.0.0~start: electron-quick-started@1.0.0
      7 verbose lifecycle electron-quick-started@1.0.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle electron-quick-started@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/opt/ImageMagick/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin
      9 verbose lifecycle electron-quick-started@1.0.0~start: CWD: /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      10 silly lifecycle electron-quick-started@1.0.0~start: Args: [ '-c', 'electron .' ]
      11 info lifecycle electron-quick-started@1.0.0~start: Failed to exec start script
      12 verbose stack Error: electron-quick-started@1.0.0 start: `electron .`
      12 verbose stack spawn ENOENT
      12 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
      12 verbose stack at ChildProcess.emit (events.js:197:13)
      12 verbose stack at maybeClose (internal/child_process.js:988:16)
      12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
      13 verbose pkgid electron-quick-started@1.0.0
      14 verbose cwd /Volumes/MAC/Programmation/Electron/ErnestCorp/electron-quick-start
      15 verbose Darwin 18.2.0
      16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
      17 verbose node v11.12.0
      18 verbose npm v6.7.0
      19 error file sh
      20 error code ELIFECYCLE
      21 error errno ENOENT
      22 error syscall spawn
      23 error electron-quick-started@1.0.0 start: `electron .`
      23 error spawn ENOENT
      24 error Failed at the electron-quick-started@1.0.0 start script.
      24 error This is probably not a problem with npm. There is likely additional logging output above.
      25 verbose exit [ 1, true ]






      javascript node.js json npm electron






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 22 at 6:30







      user11217876

















      asked Mar 22 at 5:45









      user11217876user11217876

      33




      33






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55293567%2fim-getting-an-error-when-launching-electron-after-installation-of-youtube-dl-np%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55293567%2fim-getting-an-error-when-launching-electron-after-installation-of-youtube-dl-np%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript