commitizen / commitizen/cz-cli

commitizen init: Maximum call stack size exceeded

Đang mở
#854 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
17.5k
Fork
566
Merge trung bình
8 giờ 16 phút
Pull request đã merge (30 ngày)
1

Mô tả

when i run `commitizen init cz-conventional-changelog --save --save-exact`

wait for a long time....

throw error:
```
packeage1 requires a peer of react@^16.9.0 but none is installed. You must install peer dependencies yourself.
packeage2 requires a peer of react@^16.9.0 but none is installed. You must install peer dependencies yourself.
packeage3 requires a peer of react@^16.9.0 but none is installed. You must install peer dependencies yourself.
packeage4 requires a peer of react@^16.9.0 but none is installed. You must install peer dependencies yourself.
.....
.....
.....
......
.......
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/alsc/.npm/_logs/2021-10-28T12_59_59_604Z-debug.log

at checkExecSyncError (child_process.js:790:11)
at Object.execSync (child_process.js:863:15)
at init (/Users/alsc/.nvm/versions/node/v14.18.1/lib/node_modules/commitizen/dist/commitizen/init.js:1017:28)
at Object.bootstrap (/Users/alsc/.nvm/versions/node/v14.18.1/lib/node_modules/commitizen/dist/cli/commitizen.js:34:30)
at Object. (/Users/alsc/.nvm/versions/node/v14.18.1/lib/node_modules/commitizen/bin/commitizen.js:2:38)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19) {
status: 1,
signal: null,
output: [
null,
,

],
pid: 1122,
stdout: ,
stderr:
}
```

so how can i resolve this problem ?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.