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

Error when using in angular app (bluebird - Cannot find module 'timers') #264

Open
maku opened this issue Oct 21, 2019 · 0 comments
Open
Labels

Comments

@maku
Copy link

maku commented Oct 21, 2019

I would like to use the libray in an electron app with angular.
Usage in a simple nodejs client works well. But when I try the same functionality to use in angular context (e.g. in an angular service) I get the following error:

bluebird.js:29 Uncaught Error: Cannot find module 'timers'
    at s (bluebird.js:29)
    at bluebird.js:29
    at bluebird.js:677
    at bluebird.js:690
    at module.exports (bluebird.js:729)
    at module.exports (bluebird.js:2937)
    at Object.4../promise (bluebird.js:252)
    at s (bluebird.js:29)
    at e (bluebird.js:29)
    at bluebird.js:29
s	@	bluebird.js:29
(anonymous)	@	bluebird.js:29
(anonymous)	@	bluebird.js:677
(anonymous)	@	bluebird.js:690
module.exports	@	bluebird.js:729
module.exports	@	bluebird.js:2937
4../promise	@	bluebird.js:252
s	@	bluebird.js:29
e	@	bluebird.js:29
(anonymous)	@	bluebird.js:29
(anonymous)	@	bluebird.js:29
./node_modules/bluebird/js/browser/bluebird.js	@	bluebird.js:29
__webpack_require__	@	bootstrap:79
(anonymous)	@	rp.js:3
./node_modules/request-promise/lib/rp.js	@	rp.js:52
__webpack_require__	@	bootstrap:79
./node_modules/jira-client/lib/jira.js	@	jira.js:20

Does anybody know how to solve this problem?

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

No branches or pull requests

2 participants