Answers for "script with js file"

5

Error: listen EADDRINUSE: address already in use :::3000

sudo lsof -i :3000
Posted by: Guest on April-29-2020
0

Error: listen EADDRINUSE: address already in use

Find server pid:
	lsof -i tcp:5000 (the 5000 is the port number)
kill the server:
	kill -9 111119 (the 111119 is the pid)
Posted by: Guest on December-28-2020
59

include script in html

<script type="text/javascript" src="/path/to/script.js"></script>
Posted by: Guest on July-17-2020

Browse Popular Code Answers by Language