Earn While Learning Web3 Programming>> Start Here FREE!!!
What are the errors I encounter why trying to develop dApp with Hyperverse Smart Modules?
NOTE:
This Is An Exercise From Our FREE COURSE:
Hyperverse 201 - [DECENTOLOGY HYPERVERSE PROGRAMMING COURSE 002]
(If you have not enrolled yet, you can join the course totally for FREE).
Challenges Faced With Solutions
Here before we dive to the course let me prepare you for some errors I personally encounter doing this for the first time and how I got them solved
So you can avoid them from the start
1- ERROR 1
ERROR: NVM For MacOS - The official guid seems to focus on MacOS user and following it get me stuck on Windows
SOLUTION: After about an hour+ of research I discovered way around it for Windows users with "NVM for Windows"
see NVM for Windows section to see how I successfully got a walk around this issue.
I splited this to
i- NVM for WindowsOS and
ii- NVM for MacOS to ensure students are covered from both sides.
2- ERROR 2
ERROR: Instead of completing the installation, I got the following error:
PS C:\Users\Foskaay\Desktop\hyperhack_1> yarn
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
error open-cli@7.0.1: The engine "node" is incompatible with this module. Expected version ">=14.13". Got
"14.0.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
SOLUTION: I had to do the following steps:
i- Update the Nodejs version from 14.0.0 to 14.18.1 though hyperverse official guide just said run 14 instead of specifying precise version to have prevent this error thats the benefit of been details when writing documentation for other developers in different dev environment
To do that I install latest and highest version 14 which was 14.18.1 and run:
"nvm use 14.18.1" and ENTER
ii- Check to confirm it is now the current NodeJS with
"nvm current" or "nvm list" and ENTER
3- ERROR 3
ERROR: The dApp frontend my load up after complete setup in your browser via
https://decentology.dev At first time launch this might show empty no dApp setup error and require to setup new dApp
Don't feel disappointed like I did initially because when I saw it, thought that I did not eventually successfully clone the repo nor got the dependencies setup right.
Until I did some personal digging further, played around and got helpful solution for you below but before the solution,
Here is another error that you might encounter if you follow the official repo, it instructed to access the dApp via: or
http://localhost:5000/
but that is limited to the dApp itself. And cut you off other essential user interface access
to control the hyperverse modules like setting up instances and more easily
SOLUTION: I discovered that adding "/client" to above url helps fix that and uncover hidden helpful user interface for the dApp
So I eventually use https://decentology.dev/client instead to have full access and control
to your dAppStarter Hyperverse powered dApp and Smart Modules used to build it.