In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:36178) DeprecationWarning: Unhandled promise rejections are deprecated. To terminate the node process on unhandled promise rejection, use the CLI flag `-unhandled-rejections=strict` (see ). npm install puppeteer Or, npm i puppeteer Step 6 For installation of Puppeteer core, run the below mentioned command npm i puppeteer-core Step 7 After the installation of Puppeteer and Puppeteer core, we shall find the nodemodules folder and package.json file generated within the empty folder we created in Step 2. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with. To download Microsoft Edge, go to Download Microsoft Edge Insider Channels. Modified 2 years, 10 months ago Viewed 7k times 0 I am trying to install puppeteer globally on macOS (Mojave) 10.14. (node:36178) UnhandledPromiseRejectionWarning: Unhandled promise rejection. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary.Īt ChromeLauncher.launch (/Users/ethan/node_modules/puppeteer-core/lib/cjs/puppeteer/node/Launcher.js:86:23)Īt async getArtist (/Users/ethan/Documents/html-js/SoundCloud-Terminal/searchArtist.js:13:21)Īt async /Users/ethan/Documents/html-js/SoundCloud-Terminal/searchArtist.js:57:23 (node:36178) UnhandledPromiseRejectionWarning: Error: Could not find browser revision 800071.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |