truffle-box / drizzle-box

This box comes with everything you need to start using smart contracts from a react app with Drizzle. It includes drizzle, drizzle-react and drizzle-react-components to give you a complete overview of Drizzle's capabilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors on fresh install and start

rogerballard opened this issue · comments

Hi, I'm having some trouble running this box for the first time. I have followed the steps as described in the readme, however I can't access the homepage for the box at all. Hopefully I'm doing something stupid, but below are the steps I have followed.

Running on MacOS
Node version: 8.5.0
NPM version: 5.6.0


Fresh install and compile

npm i -g truffle
npm i -g ganache-cli

truffle unbox drizzle

ganache-cli -b 3 // in a separate window

truffle compile
truffle migrate

Start the development server

npm run start

Encounter issue #24, so follow the steps to fix as described in the comments:

npm update

+ drizzle-react@1.1.0
+ drizzle@1.1.3
+ zeppelin-solidity@1.8.0
+ react-router@3.2.1
+ drizzle-react-components@1.1.0

truffle compile
truffle migrate

npm start

At this point, http://localhost:3000 is still erroring:
screen shot 2018-04-22 at 13 25 56

Metamask is connected to port 8545, has the first account imported via private key, and is unlocked.

I am having the exact same issue with identical console errors. I tracked down the line in drizzle.js where it's blowing up, but haven't found a resolution.

error

I'm experiencing this issue, too. Digging into Drizzle code and documentation to see if I can learn more but doubt I'll be the first to solve the problem.

Mee too!

commented

I have followed the exact same steps as the original issue describes above but I get this error instead:

Failed to compile.

Error in ./~/drizzle/drizzle.js
Module not found: 'eth-block-tracker-es5' in /Users/aaronbarnard/EthToDo/node_modules/drizzle

 @ ./~/drizzle/drizzle.js 3:68-100

Anyone else getting this issue?

Please take a look at my solution in issue #18 :)

@ColdDevil that worked for me. Thank you.

Worked for me, too! Thanks @ColdDevil!

As @ColdDevil said. The box needs those packages too:
"eth-block-tracker-es5": "^2.3.2"
"web3": "1.0.0-beta.34"

Merged #30 to fix this up!