llSourcell / what_is_an_initial_coin_offering

This is the code for What is an Initial Coin Offering?" By Siraj Raval on Youtube
39 stars 15 forks source link

ReferenceError: DemoCoinCrowdsale is not defined #1

Open boaerosuke opened 7 years ago

boaerosuke commented 7 years ago
ReferenceError: DemoCoinCrowdsale is not defined
    at evalmachine.<anonymous>:1:1
    at ContextifyScript.Script.runInContext (vm.js:35:29)
    at Object.runInContext (vm.js:89:6)
    at TruffleInterpreter.interpret (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:213786:17)
    at bound (domain.js:280:14)
    at REPLServer.runBound [as eval] (domain.js:293:12)
    at REPLServer.<anonymous> (repl.js:538:10)
    at emitOne (events.js:96:13)
    at REPLServer.emit (events.js:188:7)
    at REPLServer.Interface._onLine (readline.js:233:10)

Is this my installation or does the code need to be changed?

flsing commented 7 years ago

same issue

dropcunt commented 6 years ago

same issue

sheela39 commented 6 years ago

truffle(development)> truffle(development)> DemoCoinCrowdsale.deployed().then(inst => { crowdsale = inst }) ReferenceError: DemoCoinCrowdsale is not defined truffle(development)> truffle(development)> crowdsale.token().then(addr => { tokenAddress = addr } ) ReferenceError: crowdsale is not defined