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.

$Truffle Develop missing from readme.md

See original GitHub issue
  • I’ve asked for help in the Truffle Gitter before filing this issue.

Issue

New users will be confused that truffle test returns the following error.

> Something went wrong while attempting to connect to the network. Check your network configuration.

Could not connect to your Ethereum client with the following parameters:
    - host       > 127.0.0.1
    - port       > 8545
    - network_id > *
Please check that your Ethereum client:
    - is running
    - is accepting RPC connections (i.e., "--rpc" option is used in geth)
    - is accessible over the network
    - is properly configured in your Truffle configuration file (truffle-config.js)

Steps to Reproduce

run truffle test before running trufle develop

Proposed resolution

Add instructions for running truffle develop in new cmd window prior to running truffle test

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
eggplantzzzcommented, Jan 27, 2020

Perhaps we should put a note in the README specifying that if Truffle finds a network named “develop”, it will use those settings when running truffle develop? Although it might already be in there somewhere, I will have to check!

1reaction
eggplantzzzcommented, Jan 24, 2020

Hey @mcwebdev, you shouldn’t need to run truffle develop before you run truffle test. You can run the test command after running truffle develop but you should be able to run truffle test without it. I think there will be a problem if you have a network named develop in truffle-config.js with bad network settings however…

So for example, I am able to unbox a new truffle box (metacoin box) and run truffle test directly out of the gates without any further configuration. It runs successfully.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration - Truffle Suite
Your configuration file is called truffle-config.js and is located at the root of your project directory. This file is a Javascript file and...
Read more >
ConsenSys/truffle - Gitter
Hello, looking for some help with the truffle debugger. My build folder has json output of multiple projects ( to get around multiple...
Read more >
Getting Error on installing Truffle on windows 10 using npm ...
Note: If you are using windows, then you have to close the terminal after installation of the visual studio and then open the...
Read more >
Use the Truffle Suite for Easy WEB3 - And Earn Your POAP
The opening sentence in Truffle's readme file outlines three distinct value propositions of the Truffle software. However, it is missing ...
Read more >
4 - Ethereum Stack Exchange
Had the same error. It appears that a dependency is not included in node_modules when using truffle unbox react . Just install the...
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