Running ethereum studio

workspace

#1

Hi All,

I wonder if someone can help me. This is probably really simple, so sorry to ask…

Struggling with Ethereum studio running in either Safari or Chrome on Mac OS X Sierra. The first problems happened while following the readme file:

  • gulp-cli installed fine.
  • gulp had a lot of issues with many errors relating to missing packages. Solved this issue by installing each of the missing packages individually.
  • eventually $ gulp test completed successfully.

No issues with the web server piece.

Then I updated the sample example-project contract.sol text and tried to run it. Starting from the workspace working directory, got the error message:

line 1: example-project/contracts/contract.sol: No such file or directory

Changed CWD to the example-project directory, got the error message:

line 1: example-project/contracts/contract.sol: No such file or directory

Changed CWD to the contracts directory, got the error message:

line1: example-project/contracts/contract.sol: Permission denied

Chmod 755 the contracts.sol file, got lots of compiler error messages, essentially one for each line of the file.

Hoping someone can steer me in the right direction!

Thanks,
Mark


#2

Some more information… gulp test now fails with the following errors from test.js file:

  1. [contract.sol] Contracts Testing Deploy Contract:
    TypeError: Cannot read property ‘new’ of undefined
    at test/contract_test.js:17:30
    at Context. (node_modules/ethereum-sandbox-workbench/workbench.js:34:18)

  2. [contract.sol] Contracts Testing Prints string:
    TypeError: Cannot read property ‘test’ of undefined
    at test/contract_test.js:27:20
    at Context. (node_modules/ethereum-sandbox-workbench/workbench.js:34:18)