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

Loader requires active RPC connection during npm build #13

Open
sachabest opened this issue Jun 4, 2017 · 0 comments
Open

Loader requires active RPC connection during npm build #13

sachabest opened this issue Jun 4, 2017 · 0 comments

Comments

@sachabest
Copy link

Issue

Truffle solidity loader requires an active RPC connection when using npm run build, even if you don't have any migrations.

My goal is this: have truffle solidity provide contracts as importable artifacts for React in-browser, then rely on Metamask's provided RPC connection to deploy contracts on user command (in browser). But, the loader appears to require an active RPC connection during the build phase, which seems extraneous in this use case. Is that correct? I'm new to ethereum so please excuse my ignorance if not.

Steps to Reproduce

Run npm build without an active RPC connection

Expected Behavior

N/A

Actual Results

Build failure.

Environment

  • Operating System: Windows 10 x64
  • Truffle version: 3.2.5
  • Testrpc version: 3.0.5
  • Ethereum client: Metamask
  • node version: v6
  • npm version: 4.2
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