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

Installing latest version is throwing error because of Bluebird package update. #330

Open
ernitinjain opened this issue Oct 10, 2019 · 2 comments

Comments

@ernitinjain
Copy link

ernitinjain commented Oct 10, 2019

I am installing latest version request-promise@4.2.4: When I see npm list I see below (Notice invalid)

+-- request-promise@4.2.4 invalid
| +-- bluebird@3.7.0
| +-- request-promise-core@1.1.2 extraneous
| +-- stealthy-require@1.1.1 extraneous
| `-- tough-cookie@2.4.3

If I reinstall bluebird@3.5.5 it works fine.

Getting below error:

WARNING in ./node_modules/bluebird/js/release/util.js
Module not found: Error: Can't resolve 'async_hooks' in '\node_modules\bluebird\js\release'
@ ./node_modules/bluebird/js/release/util.js 410:18-40
@ ./node_modules/bluebird/js/release/using.js
@ ./node_modules/bluebird/js/release/promise.js
@ ./node_modules/bluebird/js/release/bluebird.js
@ ./node_modules/request-promise/lib/rp.js
@ ./server.ts

ERROR in ./node_modules/bluebird/js/release/promise.js
Module not found: Error: Can't resolve 'async_hooks' in node_modules\bluebird\js\release'
@ ./node_modules/bluebird/js/release/promise.js 34:4-26
@ ./node_modules/bluebird/js/release/bluebird.js
@ ./node_modules/request-promise/lib/rp.js
@ ./server.ts

Please help.

@zeetabit
Copy link

same problem

@nikhilzac95
Copy link

any updates on this?

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

3 participants