Skip to content

App is not starting up #1

@Zhaniya110

Description

@Zhaniya110

Hi! I followed the readme tutorial, copy and pasted private keys into .env but it still gives me undefined.
`

web3js-example-react-app@0.1.0 start
npm run backend && node_modules/.bin/react-scripts start

web3js-example-react-app@0.1.0 backend
ts-node --esm script/backend.ts

ContractExecutionError: Error happened while trying to execute a function inside a smart contract
at Function._isReverted (file:///C:/Users/zmeyr/Desktop/web3js-dapp-example/node_modules/web3-core/src/web3_request_manager.ts:433:48)
at Web3RequestManager._processJsonRpcResponse (file:///C:/Users/zmeyr/Desktop/web3js-dapp-example/node_modules/web3-core/src/web3_request_manager.ts:362:35)
at Web3RequestManager. (file:///C:/Users/zmeyr/Desktop/web3js-dapp-example/node_modules/web3-core/src/web3_request_manager.ts:207:16)
at Generator.next ()
at fulfilled (file:///C:/Users/zmeyr/Desktop/web3js-dapp-example/node_modules/web3-core/lib/esm/web3_request_manager.js:20:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
innerError: Eip838ExecutionError [RuntimeError]: VM Exception while processing transaction: revert ERC20: mint to the zero address
at exactimate (C:\Program Files\WindowsApps\GanacheUI_2.7.1.0_x64__rb4352f0jd4m2\app\resources\static\node\node_modules\ganache\dist\node\1.js:2:182136) {
innerError: [Eip838ExecutionError: revert] {
innerError: undefined,
code: undefined,
receipt: undefined,
data: undefined
},
code: -32000,
receipt: undefined,
data: undefined
},
code: 310,
receipt: undefined
}
'node_modules' is not recognized as an internal or external command,
operable program or batch file.`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions