Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue starting up local instance from instructions #106

Open
cooganb opened this issue Nov 24, 2019 · 0 comments
Open

Issue starting up local instance from instructions #106

cooganb opened this issue Nov 24, 2019 · 0 comments

Comments

@cooganb
Copy link

cooganb commented Nov 24, 2019

SYSTEM
OS: macOS Mojave, 10.14.4
Node: 13.1.0
Ganache-CLI: v6.1.8 (ganache-core: 2.2.1)
Truffle: 5.1.1

Issue: Unable to spin up local deployment using install instructions from README.md

Hey there,

I'm interested in deploying this locally. I cloned the repo, ran npm install no problem, then had an issue when running ganache-cli and truffle deploy:

  1. First is a network configuration issue. Config files are for port 7545, network_id 5777, ganache is running on 8545, no problem, can configure ganache-cli port and network id on start-up.

  2. With the proper ganache-cli config, truffle deploy is able to deploy at least one contract, but has an error Saving migration to chain. Checking the ganache-cli, it throws a Runtime Error: invalid opcode. Not sure if this is a major issue.

  3. Running npm run dev fails to build due to an error with building the CSS. It throws this error:

Module build failed: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (79)
  1. Running truffle test also has issues with ganache-cli configuration (truffle config expecting network 4447) and fails while compiling ./test/Dependencies.sol, ganache-cli just giving a similar Runtime Error: invalid opcode and the truffle test returning:
Error
    at PromiEvent (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:9:1)
    at TruffleContract.setCompleted (/usr/local/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:169:1)
    at Migration._deploy (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/migration.js:93:1)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Migration._load (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/migration.js:57:1)
    at Migration.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/migration.js:167:1)
    at Object.runMigrations (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:148:1)
    at Object.runFrom (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:110:1)
    at Object.runAll (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:114:1)
    at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:79:1)
    at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/core/lib/test.js:112:1)

I'd love to run this locally as I'm trying to test a way to register subdomains for an ENS address, essentially doing the subdomain registration with no price attached. Let me know if it's something with my local environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant