angular-phonecat icon indicating copy to clipboard operation
angular-phonecat copied to clipboard

error of npm run protractor

Open lazyManLearn opened this issue 9 years ago • 6 comments

[22:17:08] I/local - Starting selenium standalone server... [22:17:08] I/launcher - Running 1 instances of WebDriver [22:17:08] E/launcher - spawn java ENOENT [22:17:08] E/launcher - Error: spawn java ENOENT at exports._errnoException (util.js:873:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32) at onErrorNT (internal/child_process.js:344:16) at nextTickCallbackWith2Args (node.js:442:9) at process._tickCallback (node.js:356:17) [22:17:08] E/launcher - Process exited with error code 199

lazyManLearn avatar Mar 05 '17 14:03 lazyManLearn

Do you have Java installed and on the PATH?

gkalpak avatar Mar 05 '17 15:03 gkalpak

Sorry, I am the beginer of Angular and I have to commit the fact that I do not know too much about this . Actually, I am a Chinese and my English is not pretty good .

lazyManLearn avatar Mar 06 '17 02:03 lazyManLearn

This is not related to AngularJS. Do you have Java installed on your machine?

gkalpak avatar Mar 06 '17 06:03 gkalpak

Sorry, I did not install Java .I had only installed PhP for it .will it influence this project ?

lazyManLearn avatar Mar 06 '17 07:03 lazyManLearn

In order to use this project, make sure you follow the instructions in the tutorial. There you can find detailed info about what you need to install on your machine and how to do it.

Closing, since this is not actionable.

BTW, for general support questions you can ask for help on one of the support channels.

gkalpak avatar Mar 06 '17 09:03 gkalpak

Thank you very much.I will look the guidance booklet carefully when I go back.

lazyManLearn avatar Mar 06 '17 09:03 lazyManLearn