planetproto icon indicating copy to clipboard operation
planetproto copied to clipboard

simple objects exercise

Open js08 opened this issue 10 years ago • 4 comments

Hi,

https://github.com/sporto/planetproto/blob/master/exercises/010_simple_objects/solution/solution.js I used the exact solution in the above link

But I am seeing an error. Providing the error below. Can you tell me how to fix it.

C:\Users\Desktop\node-school\planet-proto\010.js:5 claim(robot.smart, true); ^ ReferenceError: claim is not defined at Object. (C:\Users\Desktop\node-school\planet-proto\010.js:5:1) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:902:3

js08 avatar Sep 30 '14 20:09 js08

hi @raj08 this is using planetproto run 010.js right? I need to disable this (run). Please use planetproto verify 010.js instead

sporto avatar Oct 03 '14 06:10 sporto

I also run into this bug :-(

mdunisch avatar Oct 18 '14 19:10 mdunisch

I had the same issue. After I reinstalled node everything started working. I used this commands: sudo npm cache clean -f sudo npm install -g n sudo n stable

astashuk avatar Feb 08 '15 18:02 astashuk

Still same issue.

marcospolanco avatar Jul 14 '18 22:07 marcospolanco