Skip to content

Unable to start Dev server.  #11

@kirushna-kumar

Description

@kirushna-kumar

Issue

Unable to start dev server. For some reason it doesn't seem to find truffle.js config

Steps to Reproduce

$ WEB3_RPC_LOCATION=http://localhost:8545 npm run start

Expected Behavior

App to start with default settings.

Actual Results

I am getting the below log

$ WEB3_RPC_LOCATION=http://localhost:8545 npm run start

truffle-webpack@0.0.1 start E:\Dev\Digirupt\Code
node ./scripts/start.js

Starting the development server...

[TRUFFLE SOLIDITY] No Truffle config file found.
[TRUFFLE SOLIDITY] Setting network to 'default' for compilation and contract provisioning
[TRUFFLE SOLIDITY] Setting network_id to 'default' for compilation and contract provisioning
Failed to compile.

Error in ./contracts/MetaCoin.sol
Module build failed: Error: You must specify the location of the Truffle migrations directory in the loader query string. (migrations_directory)
@ ./src/components/AccountList/AccountListContainer.js 33:16-49

Environment

  • Operating System: Win 10 Home (x64)
  • Truffle version: 2.1.1
  • Testrpc version: 3.0.1
  • Ethereum client: geth
  • node version: 6.9.1
  • npm version: 3.10.9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions