Full Stack Notes App technical issue

So I can’t seem to install Homebrew on M1 Mac even though I have been trying repeatedly. Can you please help me resolve this issue?

Going to home-brew.sh and their main link /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" doesn’t work?

Try to run Terminal via Rosetta 2, I found that from here

Ok so here comes another technical issue.
When I run the command npm init, the command fails.

How so?

You are on the latest and greatest Mac with its own custom chip. Not every package is compatible. Look into installing on an M1 and see if you need to do anything special