This repository was archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Error npm run protractor #461
Copy link
Copy link
Closed
Description
I need to help for this issue.
I don't understand why it doesn't work
npm run protractor
> [email protected] preprotractor C:\Users\Voldemort\Documents\Laboratorio\angular-seed
> npm run update-webdriver
> [email protected] preupdate-webdriver C:\Users\Voldemort\Documents\Laboratorio\angular-seed
> npm install
> [email protected] postinstall C:\Users\Voldemort\Documents\Laboratorio\angular-seed
> npm run copy-libs
> [email protected] copy-libs C:\Users\Voldemort\Documents\Laboratorio\angular-seed
> cpx "node_modules/{angular,angular-*,html5-boilerplate/dist}/**/*" app/lib -C
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\karma\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
audited 3902 packages in 6.551s
3 packages are looking for funding
run `npm fund` for details
found 6 vulnerabilities (5 low, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
> [email protected] update-webdriver C:\Users\Voldemort\Documents\Laboratorio\angular-seed
> webdriver-manager update --gecko false
[18:56:54] I/config_source - curl -oC:\Users\Voldemort\Documents\Laboratorio\angular-seed\node_modules\protractor\node_modules\webdriver-manager\selenium\standalone-response.xml https://selenium-release.storage.googleapis.com/
[18:56:54] I/config_source - curl -oC:\Users\Voldemort\Documents\Laboratorio\angular-seed\node_modules\protractor\node_modules\webdriver-manager\selenium\chrome-response.xml https://chromedriver.storage.googleapis.com/
[18:56:56] I/update - selenium standalone: file exists C:\Users\Voldemort\Documents\Laboratorio\angular-seed\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-3.141.59.jar
[18:56:56] I/update - selenium standalone: selenium-server-standalone-3.141.59.jar up to date
[18:56:56] I/update - chromedriver: file exists C:\Users\Voldemort\Documents\Laboratorio\angular-seed\node_modules\protractor\node_modules\webdriver-manager\selenium\chromedriver_81.0.4044.69.zip
[18:56:56] I/update - chromedriver: unzipping chromedriver_81.0.4044.69.zip
[18:56:56] I/update - chromedriver: chromedriver_81.0.4044.69.exe up to date
> [email protected] protractor C:\Users\Voldemort\Documents\Laboratorio\angular-seed
> protractor e2e-tests/protractor.conf.js
[18:56:57] I/launcher - Running 1 instances of WebDriver
[18:56:57] I/local - Starting selenium standalone server...
[18:56:57] E/launcher - spawn C:\Program Files\Java\jdk1.8.0_251\bin\bin\java ENOENT
[18:56:57] E/launcher - Error: spawn C:\Program Files\Java\jdk1.8.0_251\bin\bin\java ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
[18:56:57] E/launcher - Process exited with error code 199
npm ERR! code ELIFECYCLE
npm ERR! errno 199
npm ERR! [email protected] protractor: `protractor e2e-tests/protractor.conf.js`
npm ERR! Exit status 199
npm ERR!
npm ERR! Failed at the [email protected] protractor 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! C:\Users\Voldemort\AppData\Roaming\npm-cache\_logs\2020-05-01T21_56_57_477Z-debug.log
Metadata
Metadata
Assignees
Labels
No labels