I got the following JS error:
whenever I tried to enter a name and a rating in store fields to add a new rating.
How do I fix this?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
From the code, it seems that it is bound to crash at that line if there is no contract of that name in existence.
I ran that same sample Dapp and I get EXACTLY that same error when the contract has not been created. The code works fine as soon the contract is created! euri10 has got it spot on!