So, I installed everything as directed in the documentation, both the node-template and front-end template. Then, I went on to run ./target/release/node-template --dev --tmp
in the node-template directory, which worked fine and was able to produce blocks. After opening a new terminal and moving to the front-end template, I used the command yarn start
. This didn't produce any error and I was redirected to https://localhost:8000/front-end-template. The site took too much time to load and I was not able to see the Polkadot UI. Looks like the front end could not be integrated with the node-template.
Any help would be much appreciated.
Cannot connect front-end template to node-template in Substrate
421 views Asked by CoolDude789454 At
1
In the front-end template directory while the node-template is running,
yarn install
and after everything works well thenyarn start
./target/release/node-template purge-chain
then start the front-end.I used do these and get this problem fixed, quickly!