After I installed hexo, I used npm install to complete the packages in package.json, but he reported an error, the content of the error is as follows ❯ node --version v18.12.1 ❯ npm --version 9.1.3
❯ npm install
············
npm WARN dev eslint-config-standard@"12.0.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/compression
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/eslint
npm WARN dev eslint@"^5.16.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/cross-spawn
npm WARN [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/cross-spawn
npm WARN [email protected]
npm WARN node_modules/.pnpm/node_modules/cross-spawn
npm WARN 4 more (eslint-config-moxy, eslint-plugin-babel, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint@">= 6.0.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/babel-eslint
npm WARN babel-eslint@"^11.0.0-beta.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/eslint-config-moxy
npm ERR! Cannot read properties of null (reading 'matches')
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zhangyun/.npm/_logs/2022-12-02T01_51_51_393Z-debug-0.log
I tried running npm cache clear --force
, or changing the npm mirror, but that didn't work