Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

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

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

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

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

@dead-horse
Copy link
Member

yep, i'm working on it

@dead-horse
Copy link
Member

try 1.7.1?

@KidkArolis
Copy link
Contributor Author

Brilliant, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants