[INFO] Initializing environment for https://github.com/prettier/pre-commit.
[INFO] Initializing environment for https://github.com/prettier/pre-commit:prettier@2.2.0.
[INFO] Installing environment for https://github.com/prettier/pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/home/graingert/.cache/pre-commit/repoe21z9_lv/node_env-system/bin/node', '/usr/bin/npm', 'install', '--dev', '--prod', '--ignore-prepublish', '--no-progress', '--no-save')
return code: 1
expected return code: 0
stdout: (none)
stderr:
npm WARN install Usage of the `--dev` option is deprecated. Use `--only=dev` instead.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for prettier@2.2.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'repoe21z9_lv'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! /home/graingert/.npm/_logs/2020-11-15T11_50_11_298Z-debug.log