I was learning Solidity through Remix and I decided to make a simple front-end application with pure HTML and CSS, it worked using Rinkeby.
Then I discovered Truffle and since then I try to make the same application on it (with React, Metamask and Rinkeby) but all the tutorials I follow, as an example: https://medium.com/@PasschainBlog/jumping-into-truffle-and-rinkeby-3acf6a2d9bef it seems that after truffle unbox react
truffle compile
and truffle migrate
just give an npm start
and the default screen of Truffle with React works, but with this error in the terminal:
Then I thought: I will put cd client
and I will run npm start
there, then open localhost: 3000, the screen that should appear for 2 seconds appears and then gives this error, I don't know how to solve it. If you can help me ... :/
(translated by Google Translate)