Error: Could not find zeppelin-solidity/contracts/crowdsale/Crowdsale.sol from any sources
See original GitHub issueWe are using zeppelin-solidity
package.
Error: Could not find zeppelin-solidity/contracts/crowdsale/Crowdsale.sol from any sources; imported from /home/travis/build/bitclave/crowdsale/coverageEnv/contracts/BonusCrowdsale.sol
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Truffle Compile Error (Could not find zeppelin)
You are missing ".sol" in the filename you want to import. It should be: import "zeppelin-solidity/contracts/token/ERC20/MintableToken.sol" ...
Read more >Unable to deploy contract - OpenZeppelin Forum
... import "zeppelin-solidity/contracts/crowdsale/Crowdsale.sol"; ... price at which whitelisted buyers will be able to buy tokens uint256 ...
Read more >Why is the open zeppelin Safe Math contract not importing?
This one is for solidity 0.6.0 the version you are currently using. ... openzeppelin-contracts/blob/master/contracts/utils/math/SafeMath.sol.
Read more >ConsenSys/truffle - Gitter
Error : The contract code couldn't be stored, please check your gas amount ... import "zeppelin-solidity/contracts/crowdsale/validation/CappedCrowdsale.sol";
Read more >Ethereum Contract Diff Checker - Etherscan
Contract Source Code: File 1 of 1 : OAKToken. pragma solidity 0.4.18; // File: zeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @k06a. If you’re doing this in your solidity files:
Do this in your
.solcover.js
config fileAt the moment we don’t automatically copy the modules because it can take a long time and this is only a problem when importing solidity into solidity from npm installed packages. Solidity’s import directive doesn’t recursively search outside the parent directory the way JS import or require does.
Finally fixed my issues. Do not know how exactly: https://github.com/bitclave/crowdsale @cgewecke thanks for help!