question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Drizzle Box | Errors on Start

See original GitHub issue

Excited to checkout the power of Drizzzzzle!

Using my handy-dandy truffle unbox command I pulled down the drizzle box.

However, after attempting to launch with npm run start command (also the ganache-cli command) I get the following errors. Haven’t attempted to do debug, which I will do now, but I thought it might help to just post an issue now, in case anyone else encounters the same errors.

drizzle.js:26073 Error retrieving network ID:
(anonymous) @ drizzle.js:26073
drizzle.js:26074 TypeError: Cannot read property 'address' of undefined
    at http://localhost:3000/static/js/bundle.js:69576:103
From previous event:
    at new DrizzleContract (http://localhost:3000/static/js/bundle.js:69575:27)
    at Drizzle.getContracts (http://localhost:3000/static/js/bundle.js:69461:58)
    at http://localhost:3000/static/js/bundle.js:69442:17
(anonymous) @ drizzle.js:26074
drizzle.js:26073 Error retrieving network ID:
(anonymous) @ drizzle.js:26073
drizzle.js:26074 TypeError: Cannot read property 'address' of undefined
    at http://localhost:3000/static/js/bundle.js:69576:103
From previous event:
    at new DrizzleContract (http://localhost:3000/static/js/bundle.js:69575:27)
    at Drizzle.getContracts (http://localhost:3000/static/js/bundle.js:69461:58)
    at http://localhost:3000/static/js/bundle.js:69442:17
(anonymous) @ drizzle.js:26074
drizzle.js:26073 Error retrieving network ID:
(anonymous) @ drizzle.js:26073
drizzle.js:26074 TypeError: Cannot read property 'address' of undefined
    at http://localhost:3000/static/js/bundle.js:69576:103
From previous event:
    at new DrizzleContract (http://localhost:3000/static/js/bundle.js:69575:27)
    at Drizzle.getContracts (http://localhost:3000/static/js/bundle.js:69461:58)
    at http://localhost:3000/static/js/bundle.js:69442:17

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
aaronbarnardsoundcommented, Apr 26, 2018

Thanks @ColdDevil that worked for me!!

2reactions
ColdDevilcommented, Apr 25, 2018

Okay, after 5 hours of trial&error, I found a solution. I guess it is an issue related to incompatible npm packages. This process works for me:

  • open a terminal, start with an empty folder
  • truffle unbox drizzle
  • edit package.json and add to the dependencies section:
    • “eth-block-tracker-es5”: “^2.3.2”
    • “web3”: “1.0.0-beta.34”
  • npm update (to install the aforementioned packages and to update drizzle and its components to the latest version)
  • run in another terminal: ganache-cli -b 3
  • truffle compile
  • truffle migrate
  • npm run start
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Start Truffle's Drizzle Box and Fix all the Compile Errors
You have MetaMask installed as a Chrome Extension. Open a terminal window and make a folder to put the truffle box. mkdir MyDrizzleFolder....
Read more >
Truffle Drizzle-box fails with TypeError: (0 , _drizzle ...
Right after unboxing Drizzle-box I'm getting a TypeError: (0 , _drizzle.generateContractsInitialState) is not a function. Ganache is running on ...
Read more >
The default Truffle Drizzle Box gets stuck initializing the website
I am using the default Truffle Drizzle Box without adding any changes to it. When I compile and build and run, the localhost...
Read more >
Not able to unbox truffle drizzle | Edureka Community
I am trying to download drizzle using the following command: truffle unbox drizzle. I am getting the following error: Downloading.
Read more >
Bug #943657 “Better error message on startup / drizzled.cc”
I know, for example, that some people actively watch the error log, particularly when they deploy new boxes. The easier, more consistent Drizzle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found