SyntaxError: Assignment to constant variable. #477

Closed
KidkArolis opened this Issue Oct 14, 2014 · 5 comments

Projects

None yet

2 participants

@KidkArolis
Contributor

I'm getting the following exception with the latest version, any ideas why?

SyntaxError: Assignment to constant variable.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.exports.startSync (/Users/karolis/Documents/mynpm/node_modules/cnpmjs.org/index.js:29:3)
    at Object.<anonymous> (/Users/karolis/Documents/mynpm/cnpm/worker.js:5:6)
    at Module._compile (module.js:460:26)
@KidkArolis
Contributor

Ah, the stack wasn't very clear. The issue is in this file actually

...cnpmjs.org/sync/index.js:138
@KidkArolis
Contributor

Was line 138 meant to be syncingPopular = false; instead of syncPopular = false;?

@dead-horse
Member

yep, i'm working on it

@dead-horse
Member

try 1.7.1?

@KidkArolis
Contributor

Brilliant, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment