Comments (4)
Hey thanks for the report.
Async functions typically always create native promises - I don't understand how your example works. Are you transpiling somehow? Overriding native window.Promise
should not matter.
from bluebird.
yes there is webpack involved, this is Vue project with webpack v4.44.2...
However, the particular example is in the console of the said project. So Blue is being loaded by the project as transpiled. Unfortunately I can't change the webpack version directly, I have to change a lot of libs and code the make use of it, which may or may not upgrade the webpack version.
Is there a particular reason why this is happening with version 4.44.2 or webpack for that matter, regardless of version?
from bluebird.
Yeah you are transforming your async functions using some non-spec-compliant transform and that's causing the error most likely. It's very hard to say without seeing the actual code or project - but this doesn't look like an issue with bluebird itself.
from bluebird.
yes I can see that now. tried it in code pan
from bluebird.
Related Issues (20)
- Travis-ci: builds are failing for node.js 0.10, 0.12,4,5 versions for AMD64 HOT 1
- `resolve` and `reject` returned from `.defer()` are not bound to `promise`
- Possibly a bug in OperationError wrapping
- CLS is sometimes lost when using cls-hooked without cls-bluebird
- Bluebird module generates output spam in npm v7 during installation HOT 2
- perhaps deprecate the npm package? HOT 11
- when i use npm test in this project ,i meet a error with `Error: jshint exited with code: 2`
- Please build and upload in npm new version HOT 2
- Certificate error for bluebird documentation site
- Feature: use ES6 proxy to support all methods on promised objects HOT 1
- Documented installation method doesn't work with Node 18 HOT 2
- "Cannot promisify an API that has normal methods with 'Async'-suffix\n\n See http://goo.gl/MqrFmX\n
- Vulnerable to memory leak HOT 1
- How to enable cancellation correctly? HOT 1
- Vulnerable dependencies (indirect security issues) HOT 4
- Promise concurrency to nodejs HOT 1
- Promise.all spec compliance issue
- Bluebird-specific extensions missing from native Promises HOT 1
- A11y : focusable element - html lang attribute - link underline HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluebird.