Join Alexander Zanfir for an in-depth discussion in this video Generating promises with the BlueBird library, part of Learning Node.js.
That's why it even outperforms the native ES6 promises.…It also provides many useful wrapping features…which we'll see in the upcoming examples.…Let's start the example by creating a new file.…We'll call this bluebird-demo.js…and what we'll do is we'll grab the code from our read-demo…and convert that over to a promise,…after making some modifications.…In the previous demo,…we didn't really care about the error or handling the error…but to drive the point home with promises,…
- Installing Node.js
- Writing modules and packages
- Reading and writing files
- Working with frameworks: Express, Sails, and Koa
- Generating promises
- Working with generator functions
Skill Level Beginner
Q: When I try to install Bluebird/Express/Gulp/Sails/KOA using the Node Package Manager, it seems to install correctly in the terminal. But why doesn't my project folder change?
A: You need to make sure that you've navigated to your project folder in the terminal. For example, in this course Alexander is working from the C:\Dev\ folder both in Brackets and in the terminal.