-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Cannot publish ethpm package with dependencies #699
Comments
I'm having the same error! Still no response? Kubuntu 16.04 |
We're getting the same error in the OpenZeppelin repository. It started happening around version 1.4.0. Does anyone from the Truffle team have any clue as to what could be happening? |
@frangio Are you seeing this when trying publish Zeppelin itself, or when trying to publish something that imports contracts from an npm installed Zeppelin? Or from ethpm installed Zeppelin? There is a recent fix for this that's pending release (early next week) but it really only addresses the case of contracts that rely on ethpm dependencies. If you have reproduction steps for the Zeppelin case, will investigate. |
When trying to publish OpenZeppelin itself. Can you try running |
@frangio Yes I can see it failing and see why in the code as well. We'll try to fix this ASAP, thanks for pinging this. |
@cgewecke Thanks to you for the quick response as always! |
@alex-miller-0 @frangio This should be fixed in Thanks!! |
Issue
Publishing an ethpm package (
truffle publish
) works nicely with self-contained contracts (i.e. those that do not import any other contracts), but I can't get it to work with contract imports.Steps to Reproduce
I am importing a
Token
contract here:Note: importing from an ethpm install (i.e.
import "tokens/Token.sol"
) has the same effect.I instantiate a token in a function call here:
truffle compile
,truffle migrate
, andtruffle deploy
all work fine.Expected Behavior
truffle publish
should publish this package to ethpmActual Results
I get the following error:
Environment
The text was updated successfully, but these errors were encountered: