I am a newbie and experiencing same issue.
Using tutorial [https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/setup].
Successfully installed Node.js and Yarn - Launched the front-end-template (stated in the above link) in root directory, although I receive an error message in browser [Error Connecting to Substrate [object Event].
I have looked online for solution, but no success.
Would appreciate advice on where I'm going wrong also how to solve issue.
The front-end-template won't display anything unless a Substrate compatible chain node is running. In this case it should be the Substrate Node template running on the same machine where you are running the front-end.
You should first build your node-template with
cargo build --release
and then execute the binary./target/release/node-template --dev
. This will start the Substrate node to which your front-end-template should connect.