You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build attempt 1...
=> error
[INFO] Installing environment for https://github.com/FlamingTempura/bibtex-tidy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/pc/clone/XfjFjNt7Squa3kp4KYxEog/node_env-system/bin/node', '/opt/node/bin/npm', 'install', '--dev', '--prod', '--ignore-prepublish', '--no-progress', '--no-save')
return code: 1
stdout: (none)
stderr:
npm WARN config dev Please use --include=dev instead.
npm WARN config production Use `--omit=dev` instead.
npm notice
npm notice New major version of npm available! 9.6.7 -> 10.5.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
npm notice Run `npm install -g npm@10.5.0` to update!
npm notice
npm ERR! code 1
npm ERR! path /pc/clone/XfjFjNt7Squa3kp4KYxEog/node_modules/puppeteer
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! ERROR: Failed to set up Chromium r1108766! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
npm ERR! [Error: ENOENT: no such file or directory, mkdir '/src/.cache'] {
npm ERR! errno: -2,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/src/.cache'
npm ERR! }
npm ERR! A complete log of this run can be found in: /tmp/npm/_logs/2024-04-01T17_00_39_617Z-debug-0.log
Check the log at /pc/pre-commit.log
build attempt 2...
=> error
[INFO] Installing environment for https://github.com/FlamingTempura/bibtex-tidy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/pc/clone/XfjFjNt7Squa3kp4KYxEog/node_env-system/bin/node', '/opt/node/bin/npm', 'install', '--dev', '--prod', '--ignore-prepublish', '--no-progress', '--no-save')
return code: 1
stdout: (none)
stderr:
npm WARN config dev Please use --include=dev instead.
npm WARN config production Use `--omit=dev` instead.
npm ERR! code 1
npm ERR! path /pc/clone/XfjFjNt7Squa3kp4KYxEog/node_modules/puppeteer
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! ERROR: Failed to set up Chromium r1108766! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
npm ERR! [Error: ENOENT: no such file or directory, mkdir '/src/.cache'] {
npm ERR! errno: -2,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/src/.cache'
npm ERR! }
npm ERR! A complete log of this run can be found in: /tmp/npm/_logs/2024-04-01T17_00_49_364Z-debug-0.log
Check the log at /pc/pre-commit.log
The text was updated successfully, but these errors were encountered:
bdice
changed the title
pre-commit.ci fails to install with --dev dependencies.
pre-commit.ci fails to install with npm's --dev dependencies.
Apr 10, 2024
I encountered the same issue. As a workaround, I created a new repository mirrors-bibtex-tidy which doesn't need to install the development dependencies.
I would like to use this repository's pre-commit hooks with pre-commit.ci. However, it looks like this is not possible because the development dependencies include puppeteer which installs Chromium (if I'm reading this correctly). Here is the log.
https://results.pre-commit.ci/run/github/168426142/1711990670.ELxuaVPpR1CviNOJqJh8Kw
This behavior broke between v1.8.5 → v1.11.0.
The text was updated successfully, but these errors were encountered: