leopoldjoy / react-ethereum-dapp-example

A starter boilerplate for an Ethereum dapp using web3.js v1.0, truffle, react, and parity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to run migrations

nsrCodes opened this issue · comments

I first faced this (#2) issue and followed the advice to use the 1.0 branch instead. I did complete the installation and successfully compiled it.
But, when I run truffle migrate I get the following error:

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.



Starting migrations...
======================
> Network name:    'development'
> Network id:      17
> Block gas limit: 8000000 (0x7a1200)


1_initial_migration.js
======================

   Deploying 'Migrations'
   ----------------------

Error:  *** Deployment Failed ***

"Migrations" -- Returned error: Your account is locked. Unlock the account via CLI, personal_unlockAccount or use Trusted Signer..

    at /home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:364:1
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at Migration._deploy (/home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/migrate/migration.js:70:1)
    at Migration._load (/home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/migrate/migration.js:57:1)
    at Migration.run (/home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/migrate/migration.js:167:1)
    at Object.runMigrations (/home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:148:1)
    at Object.runFrom (/home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:110:1)
    at Object.run (/home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:87:1)
    at runMigrations (/home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:253:1)
    at /home/razor/.npm-global/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:218:1
Truffle v5.1.32 (core: 5.1.32)
Node v12.18.1

Operating System: Pop_OS 19.10