Error while registering a new complaint
Sir, I have successfully started the localhost server but I am unable to register a complaint on the OCN. Please help.

Open the console window and see if there are any error messages.
Compiled with warnings.
./src/Components/Pages/Accounts/accounts.js Line 44: 'i' is already defined no-redeclare
./src/Components/Pages/View/view.js Line 55: Expected '===' and instead saw '==' eqeqeq Line 57: Expected '===' and instead saw '==' eqeqeq Line 62: Expected '===' and instead saw '==' eqeqeq Line 64: Expected '===' and instead saw '==' eqeqeq Line 66: Expected '===' and instead saw '==' eqeqeq Line 68: Expected '===' and instead saw '==' eqeqeq Line 76: Expected '===' and instead saw '==' eqeqeq Line 79: Missing radix parameter radix Line 94: Expected '===' and instead saw '==' eqeqeq Line 94: Expected '===' and instead saw '==' eqeqeq Line 96: Expected '===' and instead saw '==' eqeqeq Line 100: Missing radix parameter radix Line 113: Expected '===' and instead saw '==' eqeqeq Line 115: Missing radix parameter radix Line 127: Expected '===' and instead saw '==' eqeqeq Line 127: Expected '===' and instead saw '==' eqeqeq Line 163: Missing radix parameter radix Line 209: 'context' is already defined no-redeclare Line 211: 'p' is assigned a value but never used no-unused-vars Line 232: Expected '===' and instead saw '==' eqeqeq Line 238: Expected '===' and instead saw '==' eqeqeq Line 243: Expected '===' and instead saw '==' eqeqeq Line 243: Expected '===' and instead saw '==' eqeqeq Line 337: 'context' is assigned a value but never used no-unused-vars Line 344: 'i' is already defined no-redeclare
./src/Components/Pages/Register/register.js Line 56: Missing radix parameter radix Line 57: Missing radix parameter radix Line 75: Missing radix parameter radix
./src/App.js Line 5: 'Link' is defined but never used no-unused-vars
./src/Components/HeaderComponents/header.js Line 8: 'logo' is defined but never used no-unused-vars Line 19: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text
./node_modules/web3-eth-accounts/src/scrypt.js 17:50-60 Critical dependency: the request of a dependency is an expression
Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before.
Are all these warnings or errors? Please help Sir.
@farhanahraf03 Right click on the window and goto inspector. Click on the console tab and see if it shows any error. Post them here.
Error: Invalid JSON RPC response: "" errors.js:42 SyntaxError: expected expression, got '<' bootstrap.min.js:1 The Components object is deprecated. It will soon be removed. localhost:3000

Is your truffle working?
Yes, it is working. truffle develop command shows no errors.
give me a day or two. will run it and get back to you.
Thank you very much.
@upperwal sir, i still encounter this error.. i read this comment without reading the date, and proposed this as my project.. now i'm stuck with no solution.. 😢x100
Let me try to run it and debug it.
@abdullah-19 Did some changes. try it now.
@abdullah-19 thanks... just one question, how can I create new account ? I appreciate your hard work, and this project is really awesome
Can you be more specific?
- New Blockchain accounts?
- New Police, Citizen accounts?
There is only 4 accounts of 3 types.
- super user
- citizen
- police Now if I want to promote someone to police from a citizen Or create a new citizen ?