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

Cannot redefine property: usingDomains #559

Closed
odino opened this issue Apr 2, 2015 · 4 comments
Closed

Cannot redefine property: usingDomains #559

odino opened this issue Apr 2, 2015 · 4 comments

Comments

@odino
Copy link

@odino odino commented Apr 2, 2015

I am using bluebird through request-promise, just did an npm install and...BOOM :) I think one of the latest versions might have introduced an issue

web_1   | /src/node_modules/request-promise/node_modules/bluebird/js/main/async.js:75
web_1   |         Object.defineProperty(EventsModule, "usingDomains", {
web_1   |                ^
web_1   | TypeError: Cannot redefine property: usingDomains
web_1   |     at Function.defineProperty (native)
web_1   |     at Object.<anonymous> (/src/node_modules/request-promise/node_modules/bluebird/js/main/async.js:75:16)
web_1   |     at Module._compile (module.js:456:26)
web_1   |     at Object.Module._extensions..js (module.js:474:10)
web_1   |     at Module.load (module.js:356:32)
web_1   |     at Function.Module._load (module.js:312:12)
web_1   |     at Module.require (module.js:364:17)
web_1   |     at require (module.js:380:17)
web_1   |     at module.exports (/src/node_modules/request-promise/node_modules/bluebird/js/main/promise.js:13:13)
web_1   |     at Object.<anonymous> (/src/node_modules/request-promise/lib/bluebird-fresh.js:2:53)
web_1   |     at Module._compile (module.js:456:26)
web_1   |     at Object.Module._extensions..js (module.js:474:10)
web_1   |     at Module.load (module.js:356:32)
web_1   |     at Function.Module._load (module.js:312:12)
web_1   |     at Module.require (module.js:364:17)
web_1   |     at require (module.js:380:17)
@odino
Copy link
Author

@odino odino commented Apr 2, 2015

BTW I guess the code that messes up with this is in here

Dont ask me why it fails, as that if / else is exactly there to avoid this :-S

@odino
Copy link
Author

@odino odino commented Apr 2, 2015

To add on this: just checked and 2.9.22 looks fine

juhamust added a commit to SC5/mozaik-ext-sheets that referenced this issue Apr 2, 2015
@petkaantonov
Copy link
Owner

@petkaantonov petkaantonov commented Apr 2, 2015

Fixed in 2.9.24

petkaantonov added a commit that referenced this issue Apr 2, 2015
Fixes #559, #561, #560
@odino
Copy link
Author

@odino odino commented Apr 2, 2015

thanks man :)

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.