workshopper / levelmeup

Level Me Up Scotty! An intro to Node.js databases via a set of self-guided workshops.
Other
271 stars 60 forks source link

@horse_js Count running is giving me this error #75

Closed mpmckenna8 closed 6 years ago

mpmckenna8 commented 7 years ago

While trying to run @'horse_js' Count I'm getting this error even while running the given solution.

Using Node v6.2.1

Running "@horse_js Count"...

/usr/local/lib/node_modules/levelmeup/problems/horse_js_count/exec-wrap.js:42
  db = wrapped(db, methodUsed)
     ^

TypeError: Assignment to constant variable.
    at LevelUP.<anonymous> (/usr/local/lib/node_modules/levelmeup/problems/horse_js_count/exec-wrap.js:42:6)
    at emitNone (events.js:86:13)
    at LevelUP.emit (events.js:185:7)
    at /usr/local/lib/node_modules/levelmeup/node_modules/levelup/lib/levelup.js:127:12
    at /usr/local/lib/node_modules/levelmeup/node_modules/abstract-leveldown/abstract-leveldown.js:42:7
martinheidegger commented 7 years ago

This should be fixed with the recent 1.0.0 release. Would you mind to verify?

martinheidegger commented 6 years ago

Assuming its fixed.