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

Function.create() error #117

Closed
jonathanong opened this issue May 13, 2014 · 7 comments
Closed

Function.create() error #117

jonathanong opened this issue May 13, 2014 · 7 comments

Comments

@jonathanong
Copy link
Contributor

componentjs/resolver.js#16
componentjs/resolver.js#15

TypeError: Object prototype may only be an Object or null
    at Function.create (native)
    at Empty.Generator (/home/dominic/TreeTop/component/node_modules/component-resolver/build/index.js:69:38)
    at wrapGenerator (/home/dominic/TreeTop/component/node_modules/component-resolver/build/index.js:29:12)
    at Remotes.resolve (/home/dominic/TreeTop/component/node_modules/component-resolver/node_modules/remotes/build/remotes.js:487:10)
    at Resolver.$callee$ (/home/dominic/TreeTop/component/node_modules/component-resolver/build/semver.js:605:46)
    at Empty.invoke (/home/dominic/TreeTop/component/node_modules/component-resolver/build/index.js:148:31)
    at Empty.invoke (/home/dominic/TreeTop/component/node_modules/component-resolver/build/index.js:86:50)
    at next (/home/dominic/TreeTop/component/node_modules/component-resolver/node_modules/co/index.js:83:21)
    at /home/dominic/TreeTop/component/node_modules/component-resolver/node_modules/co/index.js:56:5
    at Channel._call (/home/dominic/TreeTop/component/node_modules/component-resolver/node_modules/chanel/lib/proto.js:114:3)

i'm currently looking at where this error was created. have to use regenerator 0.4.6 for now

@jonathanong
Copy link
Contributor Author

oh shit. d72efce broke backwards compatibility with regenerated builds. this is why globals are baaaad

@benjamn
Copy link
Collaborator

benjamn commented May 13, 2014

@jonathanong perhaps the change in the parameters to wrapGenerator should have been a minor version bump, though I've been treating the runtime interface as an implementation detail so far. Does everything work if you rebuild with the latest version?

@jonathanong
Copy link
Contributor Author

Yeah, but now I have to rebuild multiple packages at once

@benjamn
Copy link
Collaborator

benjamn commented May 14, 2014

@jonathanong anything I can do to help make this easier, either now or going forward?

@jonathanong
Copy link
Contributor Author

meh too late now. haha. maybe do some argument checking within that function for backwards compatibility?

@jonathanong
Copy link
Contributor Author

btw if you don't plan to fix this then you can close this. i probably shouldn't have pre-compiled in the first place

@jonathanong
Copy link
Contributor Author

don't care about this anymore

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