---
title: "Comment by Angga Andrean on \"The 2018 guide to writing (and testing) real world crowdsale contracts\" | Hashnode"
description: "would you share your version truffle, zeppelin ?? or anybody here can help me ? $ truffle compile Compiling .\\contracts\\ElectroLightCrowdsale.sol... Compiling ."
url: "https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5b40badaacff13923ecc9f8d"
---

[Discussion](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9)

Comment [The 2018 guide to writing (and testing) real world crowdsale contracts](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9)

[Angga Andrean](https://hashnode.com/@alphamale)

[Jul 7, 2018](https://hashnode.com/posts/the-2018-guide-to-writing-and-testing-real-world-crowdsale-contracts/5a67bb65357c012503a334c9/comment/5b40badaacff13923ecc9f8d)

would you share your version truffle, zeppelin ?? or anybody here can help me ?

```
$ truffle compile
Compiling .\contracts\ElectroLightCrowdsale.sol...
Compiling .\contracts\ElectroLightToken.sol...
Compiling .\contracts\Migrations.sol...
Compiling zeppelin-solidity/contracts/crowdsale/CappedCrowdsale.sol...
Compiling zeppelin-solidity/contracts/crowdsale/RefundableCrowdsale.sol...
Compiling zeppelin-solidity/contracts/token/MintableToken.sol...
Compiling zeppelin-solidity\contracts\crowdsale\Crowdsale.sol...
Compiling zeppelin-solidity\contracts\crowdsale\FinalizableCrowdsale.sol...
Compiling zeppelin-solidity\contracts\crowdsale\RefundVault.sol...
Compiling zeppelin-solidity\contracts\math\SafeMath.sol...
Compiling zeppelin-solidity\contracts\ownership\Ownable.sol...
Compiling zeppelin-solidity\contracts\token\BasicToken.sol...
Compiling zeppelin-solidity\contracts\token\ERC20.sol...
Compiling zeppelin-solidity\contracts\token\ERC20Basic.sol...
Compiling zeppelin-solidity\contracts\token\MintableToken.sol...
Compiling zeppelin-solidity\contracts\token\StandardToken.sol...

zeppelin-solidity/contracts/crowdsale/CappedCrowdsale.sol:22:37: ParserError: Expected token LBrace got 'View'
  function validPurchase() internal view returns (bool) {
                                    ^
,zeppelin-solidity/contracts/crowdsale/Crowdsale.sol:94:37: ParserError: Expected token LBrace got 'View'
  function validPurchase() internal view returns (bool) {
                                    ^
,zeppelin-solidity/contracts/crowdsale/RefundableCrowdsale.sol:56:33: ParserError: Expected token LBrace got 'View'
  function goalReached() public view returns (bool) {
                                ^
,zeppelin-solidity/contracts/math/SafeMath.sol:9:47: ParserError: Expected token LBrace got reserved keyword 'Pure'
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
                                              ^
,zeppelin-solidity/contracts/token/BasicToken.sol:38:45: ParserError: Expected token LBrace got 'View'
  function balanceOf(address _owner) public view returns (uint256 balance) {
                                            ^
,zeppelin-solidity/contracts/token/ERC20.sol:12:61: ParserError: Expected token LBrace got 'View'
  function allowance(address owner, address spender) public view returns (uint256);
                                                            ^
,zeppelin-solidity/contracts/token/ERC20Basic.sol:11:42: ParserError: Expected token LBrace got 'View'
  function balanceOf(address who) public view returns (uint256);
                                         ^
,zeppelin-solidity/contracts/token/StandardToken.sol:60:63: ParserError: Expected token LBrace got 'View'
  function allowance(address _owner, address _spender) public view returns (uint256) {
                                                              ^
Compiliation failed. See above.
```
