I’ve been working on the DAML side of things for quite a while so can’t remember what my last set of steps were regards the UI side now that it’s time for me to start working on the front-end.
I have a UI folder and the .tsx files are all there with the sample React code. The package.json file also contains the references to the React modules, but I am getting the error
Cannot find module 'react' or its corresponding type declarations.
Cannot find module 'react-dom' or its corresponding type declarations.
I tried running yarn install --force
from the UI directory but got an error saying
command not found: yarn
I don’t know the NPM way to do this? I cant find any reference for this in the documentation(?)
Any help please?