We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// Add this to project's package.json "config": { "puppeteer_skip_download": true }
no error
The "puppeteer_skip_download" variable is not working when using it in the project's package.json config. Using the variable in .npmrc works though.
I expect it to avoid downloading a chrome installation.
It does download it even when using the variable in project's package.json config
No response
21.1.0
18.17.1
npm
9.8.1
Windows
The text was updated successfully, but these errors were encountered:
The issue has been labeled as confirmed by the automatic analyser. Someone from the Puppeteer team will take a look soon!
Analyzer run
Sorry, something went wrong.
The correct configuration in package.json is
"puppeteer": { "skipDownload": true }
It looks like in this is caused by change in npm? https://github.com/npm/rfcs/blob/main/implemented/0021-reduce-lifecycle-script-environment.md I confirmed that npm does not set expected environment variables in this case any longer. We recommend using Puppeteer configuration files https://pptr.dev/guides/configuration
No branches or pull requests
Minimal, reproducible example
Error string
no error
Bug behavior
Background
The "puppeteer_skip_download" variable is not working when using it in the project's package.json config.
Using the variable in .npmrc works though.
Expectation
I expect it to avoid downloading a chrome installation.
Reality
It does download it even when using the variable in project's package.json config
Puppeteer configuration file (if used)
No response
Puppeteer version
21.1.0
Node version
18.17.1
Package manager
npm
Package manager version
9.8.1
Operating system
Windows
The text was updated successfully, but these errors were encountered: