![]() ![]() ![]() In install.js we can see that puppeteer tries to read PUPPETEER_SKIP_CHROMIUM_DOWNLOAD, NPM_CONFIG_PUPPETEER_SKIP_CHROMIUM_DOWNLOAD and npm_config_puppeteer_skip_chromium_download environment variables and didn't read any config. Run npm i puppeteer to install puppeteer. npm install -g puppeteer also produce the same error: C:windowssystem32>npm install -g puppeteer npm ERR code 1 npm ERR path C:UsersNITU PANDELAppDataRoamingnpmnodemodulespuppeteer npm ERR command failed npm ERR command C:windowssystem32cmd.Puppeteer quick start Install and run Puppeteer. Get started Overview of Puppeteer An explanation of what Puppeteer is and the things it can do. It can also be configured to use full (non-headless) Chrome or Chromium. Run npm config set PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true to put property in global. Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol.Add PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true to local.Add 'PUPPETEERSKIPCHROMIUMDOWNLOAD': true into package.json config section. Add "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD": true into package.json config section. Puppeteer version: 1.2.0 Platform / OS version: windows 10 圆4 URLs (if applicable): - Node.js version: 8.1.3 / NPM: 4.1.2 What steps will reproduce the problem Please include code that reproduces the issue.Please include code that reproduces the issue. ![]()
0 Comments
Leave a Reply. |