Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Assignment to constant variable. #477

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

SyntaxError: Assignment to constant variable. #477

KidkArolis opened this issue Oct 14, 2014 · 5 comments

Comments

@KidkArolis
Copy link
Contributor

@KidkArolis KidkArolis commented Oct 14, 2014

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
Copy link
Contributor Author

@KidkArolis KidkArolis commented Oct 14, 2014

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

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

@KidkArolis KidkArolis commented Oct 14, 2014

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

@dead-horse
Copy link
Member

@dead-horse dead-horse commented Oct 14, 2014

yep, i'm working on it

@dead-horse
Copy link
Member

@dead-horse dead-horse commented Oct 14, 2014

try 1.7.1?

@KidkArolis
Copy link
Contributor Author

@KidkArolis KidkArolis commented Oct 14, 2014

Brilliant, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.