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

1.0.6 errors #7

Closed
jamesplease opened this issue Apr 16, 2017 · 3 comments
Closed

1.0.6 errors #7

jamesplease opened this issue Apr 16, 2017 · 3 comments

Comments

@jamesplease
Copy link
Member

v1.0.6 will not initialize. The error is:

TypeError: Invalid value used as weak map key
    at WeakMap.set (native)
    at new WeakMap (native)
    at module.exports (/Users/jmeas/webdev/moolah/node_modules/fortune-http/lib/status_map.js:4:10)
    at createListener (/Users/jmeas/webdev/moolah/node_modules/fortune-http/lib/index.js:108:15)
    at module.exports (/Users/jmeas/webdev/moolah/server/app.js:211:20)
    at throng (/Users/jmeas/webdev/moolah/node_modules/throng/lib/throng.js:25:12)
    at Object.<anonymous> (/Users/jmeas/webdev/moolah/server/index.js:10:1)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)

Locking the dep to 1.0.5 is a temporary solution. I took a look at the source, but nothing immediately stood out as the issue.

@gr0uch
Copy link
Member

gr0uch commented Apr 16, 2017

Yep, I'm able to reproduce this issue, I should fix status_map.js to be safer.

@gr0uch
Copy link
Member

gr0uch commented Apr 16, 2017

It's fixed and published as 1.0.7.

@gr0uch gr0uch closed this as completed Apr 16, 2017
@jamesplease
Copy link
Member Author

Thanks @daliwali !

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

No branches or pull requests

2 participants