Git Product home page Git Product logo

contracts's People

Contributors

chenhaoxu304 avatar chennyhaohao avatar grandsam605 avatar opus-rc avatar schwifty-tomato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contracts's Issues

npm ERR! error: pathspec '3.0.3' did not match any file(s) known to git.

Hi guys,

On macOS, installed nodejs using brew.

$ cd contracts
$ npm install

npm WARN deprecated [email protected]: ๐Ÿ™Œ Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated [email protected]: ethereumjs-testrpc has been renamed to ganache-cli, please use this package from now on.
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git checkout 3.0.3
npm ERR! error: pathspec '3.0.3' did not match any file(s) known to git.

...

Cannot deploy code demo

Hi Team,

  1. I follow your instruction and getting issue when I run "npm run dev"

npm run dev
npm ERR! missing script: dev

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/IOSDeveloper/.npm/_logs/2017-07-21T09_55_09_345Z-debug.log
iOSDeveloper:contracts IOSDeveloper$

  1. But when I try with "npm run test"

/Users/IOSDeveloper/Desktop/contracts/node_modules/truffle/lib/commands/test.js:39
files = files.filter(function(file) {
^
TypeError: Cannot read property 'filter' of undefined
at /Users/IOSDeveloper/Desktop/contracts/node_modules/truffle/lib/commands/test.js:39:20
at onStat (/Users/IOSDeveloper/Desktop/contracts/node_modules/node-dir/lib/paths.js:149:21)
at FSReqWrap.oncomplete (fs.js:152:21)
3. Also "truffle migrate"
/Users/IOSDeveloper/Desktop/contracts/contracts/ERC23BasicToken.sol:20:28: : Unused local variable
function tokenFallback(address _from, uint256 _value, bytes _data) external {
^-----------^
,/Users/IOSDeveloper/Desktop/contracts/contracts/ERC23BasicToken.sol:20:43: : Unused local variable
function tokenFallback(address _from, uint256 _value, bytes _data) external {
^------------^
,/Users/IOSDeveloper/Desktop/contracts/contracts/ERC23BasicToken.sol:20:59: : Unused local variable
function tokenFallback(address _from, uint256 _value, bytes _data) external {
^----------^
,/Users/IOSDeveloper/Desktop/contracts/contracts/ERC23BasicToken.sol:72:25: : Unused local variable
function isContract(address _addr) returns (bool is_contract) {
^-----------^

Writing artifacts to ./build/contracts

Using network 'development'.

Error: Could not find built Migrations contract: Could not find artifacts for ./Migrations.sol from any sources
at Object.lastCompletedMigration (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:54982:23)
at Object.needsMigrating (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:55005:10)
at /usr/local/lib/node_modules/truffle/build/cli.bundled.js:81657:19
at /usr/local/lib/node_modules/truffle/build/cli.bundled.js:46796:9
at /usr/local/lib/node_modules/truffle/build/cli.bundled.js:33762:13
at /usr/local/lib/node_modules/truffle/build/cli.bundled.js:224637:9
at XMLHttpRequest.request.onreadystatechange (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:223413:13)
at XMLHttpRequestEventTarget.dispatchEvent (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:225286:18)
at XMLHttpRequest._setReadyState (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:225576:12)
at XMLHttpRequest._onHttpResponseEnd (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:225731:12)

I really interested in your project. Please give me some advice to get your demo project work on my machine.

Thanks,
Do

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.