# eslint:stats 错误
verbose lifecycle xxx@~eslint:stats: unsafe-perm in lifecycle true
verbose lifecycle xxx@~eslint:stats: PATH: /Users/xx/.nvm/versions/node/v14.17.3/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/xx/Documents/project/xxx/node_modules/.bin:/Users/xx/.nvm/versions/node/v14.17.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
verbose lifecycle xxx@~eslint:stats: CWD: /Users/xx/Documents/project/xxx
silly lifecycle xxx@~eslint:stats: Args: [ '-c', 'SORT_BY=errors DESC=true npm run eslint -- --format=summary' ]
silly lifecycle xxx@~eslint:stats: Returned: code: 1 signal: null
info lifecycle xxx@~eslint:stats: Failed to exec eslint:stats script
verbose stack Error: xxx@ eslint:stats: `SORT_BY=errors DESC=true npm run eslint -- --format=summary`
verbose stack Exit status 1
verbose stack at EventEmitter.<anonymous> (/Users/xx/.nvm/versions/node/v14.17.3/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
verbose stack at EventEmitter.emit (events.js:375:28)
verbose stack at ChildProcess.<anonymous> (/Users/xx/.nvm/versions/node/v14.17.3/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
verbose stack at ChildProcess.emit (events.js:375:28)
verbose stack at maybeClose (internal/child_process.js:1055:16)
verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
verbose pkgid xxx@
# stylelint 错误
stylelint: unsafe-perm in lifecycle true
Returned: code: 2 signal: null
参考: