8000 SimpleStorage.sol ParserError: Expected token LBrace got 'View' function get() public view returns (uint) · Issue #15 · truffle-box/react-uport-box · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.
This repository was archived by the owner on Mar 11, 2024. It is now read-only.
SimpleStorage.sol ParserError: Expected token LBrace got 'View' function get() public view returns (uint) #15
Open
@stefek99

Description

@stefek99

Following instructions: http://truffleframework.com/boxes/react-uport

npm update -g truffle
truffle unbox react-uport
Downloading...
Unpacking...
Setting up...
Unbox successful. Sweet!

Commands:

  Compile:              truffle compile
  Migrate:              truffle migrate
  Test contracts:       truffle test
  Test dapp:            npm test
  Run dev server:       npm run start
  Build for production: npm run build

truffle develop

Compiling ./contracts/Migrations.sol...
Compiling ./contracts/SimpleStorage.sol...

/Users/zen/Dropbox/Musafa/dev/truffle-uport-react/contracts/SimpleStorage.sol:10:25: ParserError: Expected token LBrace got 'View'
  function get() public view returns (uint) {
                        ^
Compiliation failed. See above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0