Error: Non ethereum enabled browser

I am new to Moralis. I followed the tutorials but end up getting following error.


Here is my script.


Moralis Login

<button onclick = 'login()' id = 'login'> Moralis Metamask Login</button>

	const serverUrl = "https://my-server/server";
		const appId = "server-id";

		Moralis.start({ serverUrl, appId });

	async function login() { await Moralis.authenticate() }


Do you have metamask installed?

Yes I have it installed for chrome.

Try reinstalling MetaMask. It’s not injecting ethereum into your browser’s window object for some reason. If you’re using a private window the extension needs to be enabled for it too.