uper irritating. I can't get NGNIX to start because server-lite is running. I even changed ports in nginx.conf. It won't start with lite-server running.
Janiss-MacBook-Pro:nginx jrough$ sudo /usr/local/opt/nginx/bin/nginx nginx: [emerg] bind() to 0.0.0.0:80 <http://0.0.0.0/> failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 <http://0.0.0.0/> failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 <http://0.0.0.0/> failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 <http://0.0.0.0/> failed (48: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 <http://0.0.0.0/> failed (48: Address already in use) nginx: [emerg] still could not bind() Janiss-MacBook-Pro:nginx jrough$ So I do npm stop server-lite and the error in the log is verbose stack Error: missing script: stop 4 verbose stack at run (/usr/local/lib/node_modules/npm/lib/run-script.js:151:19) 4 verbose stack at /usr/local/lib/node_modules/npm/lib/run-script.js:61:5 4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5 4 verbose stack at checkBinReferences_ (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:320:45) 4 verbose stack at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:354:3) 4 verbose stack at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:5) 4 verbose stack at ReadFileContext.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:295:20) 4 verbose stack at ReadFileContext.callback (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16) "~/.npm/_logs/2017-09-06T20_17_42_842Z-debug.log" 24L, 1505C It is missing a script at first it needed a package.json file which I created in nginx directory for lack of knowing where to put it. Now I don't get an error about missing package.json so Iguess I need to put the stop script in this package.json file? So I need some stop script here? I looked on internet and it says to kill the app.js but I really don't know what the app.js is. I tried to delete the quickstart files but must be some meta files still there. How do I kill this process so I can start NGINX? Shouldn't be this hard Sitepoint made it too hard not explaining what. thanks, PS ps aux | grep node does not give any processes to kill Click here to Reply -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
