I get this Warning! Missing hosts entry. This site may be inaccessible. error.
When I click on “FIX IT” & node.js give me this error.
Local ran into an EPERM error when trying to update the hosts file.
What do I do?
Do I re-install node.js?
Is this node.js related issue?
Please make sure you don’t have Host Files locking enabled in your anti-virus/security software such as Spybot Search & Destroy, ZoneAlarm, etc.
In my context the issue was because of the host file was in read only.
To fix :
- go on C:/Windows/system32/drivers/etc
- Right clic on “Host” file
- Cancel the selection of “read only”
- Confirm admin rights
- Retry to fix in LOCAL
3 days to find this “easy” thing…
Thank you so much, problem solved
local by flywheel is requesting administrative privileges to modify your /etc/hosts file
I encountered similar error during the site setup , and resolved with the suggested hosts file change.
Is it reaquired for this read only attribute to remain disabled ?
Thanks in advance.