Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

TypeError: Cannot promisify an API that has normal methods with 'Async'-suffix #135

Closed
canercandan opened this issue Oct 18, 2018 · 5 comments

Comments

@canercandan
Copy link

canercandan commented Oct 18, 2018

$ node --version
v8.12.0
$ npm-register --version
2.7.1

I am getting this error when I start the npm-register server with S3 set.

Opbeat agent is inactive due to configuration
/usr/local/share/.config/yarn/global/node_modules/bluebird/js/release/promisify.js:54
                    throw new TypeError("Cannot promisify an API that has normal methods with '%s'-suffix\u000a\u000a    See http://goo.gl/MqrFmX\u000a"
                    ^

TypeError: Cannot promisify an API that has normal methods with 'Async'-suffix

    See http://goo.gl/MqrFmX
@canercandan
Copy link
Author

@dgautsch for some reasons it seems that the NPM package does not contain the latest version tagged on the git repo 2.7.1 <> 2.8.1 I will check if the last version fix the issue

@canercandan
Copy link
Author

Yep I confirm this issue does not exist with the latest version

@dgautsch
Copy link
Collaborator

@canercandan yea i haven't published 2.8.1 yet because I wanted to do some more testing. Thanks for checking!

@canercandan
Copy link
Author

Thanks @dgautsch for the heads-up though the lastest npm package version available is not working with S3 which is quite sad, which version shall we use (available in NPM) to get S3 working with? thanks

@dgautsch
Copy link
Collaborator

@canercandan I've published 2.8.1, please give it a try. Thanks!

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

No branches or pull requests

2 participants