blitz-js / blitz-js/legacy-framework
npm i -g blitz --legacy-peer-deps / error: Maximum call stack size exceeded.
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
### What is the problem?
Error when I try to install blitz globally...
### Paste all your error logs here:
```
...
17294 silly tarball trying @hapi/hoek@9.x.x by hash: sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw==
17295 silly tarball trying @hapi/boom@9.x.x by hash: sha512-Ls1oH8jaN1vNsqcaHVYJrKmgMcKsC1wcp8bujvXrHaAqD2iDYq3HoOwsxwo09Cuda5R5nC0o0IxlrlTuvPuzSw==
17296 silly tarball trying @hapi/accept@5.0.2 by hash: sha512-CmzBx/bXUR8451fnZRuZAJRlzgm0Jgu5dltTX/bszmR2lheb9BpyN47Q1RbaGTsvFzn0PXAEs+lXDKfshccYZw==
17297 silly tarball trying camelcase@^5.3.1 by hash: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
17298 silly tarball trying @istanbuljs/schema@^0.1.2 by hash: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==
17299 silly tarball trying source-map@^0.6.0 by hash: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
17300 silly tarball trying source-map@^0.6.0 by hash: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
17301 silly tarball trying @napi-rs/triples@^1.0.3 by hash: sha512-jDJTpta+P4p1NZTFVLHJ/TLFVYVcOqv6l8xwOeBKNPMgY/zDYH/YH7SJbvrr/h1RcS9GzbPcLKGzpuK9cV56UA==
17302 silly tarball trying source-map@^0.6.1 by hash: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
17303 silly tarball trying @next/env@11.1.0 by hash: sha512-zPJkMFRenSf7BLlVee8987G0qQXAhxy7k+Lb/5hLAGkPVHAHm+oFFeL+2ipbI2KTEFlazdmGY0M+AlLQn7pWaw==
17304 silly tarball trying @next/polyfill-module@11.1.0 by hash: sha512-64EgW8SzJRQls2yJ5DkuljRxgE24o2kYtX/ghTkPUJYsfidHMWzQGwg26IgRbb/uHqTd1G0W5UkKag+Nt8TWaQ==
17305 silly tarball trying @node-rs/helper@1.2.1 by hash: sha512-R5wEmm8nbuQU0YGGmYVjEc0OHtYsuXdpRG+Ut/3wZ9XAvQWyThN08bTh2cBJgoZxHQUPtvRfeQuxcAgLuiBISg==
17306 silly tarball trying @next/react-refresh-utils@11.1.0 by hash: sha512-g5DtFTpLTGa36iy9DuZawtJeitI11gysFGKPQQqy+mNbSFazguArcJ10gAYFlbqpIi4boUamWNI5mAoSPx3kog==
17307 silly tarball trying @nodelib/fs.stat@^2.0.2 by hash: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==
17308 silly tarball trying ansi-regex@^4.1.0 by hash: sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
17309 silly tarball trying color-name@~1.1.4 by hash: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
17310 silly tarball trying color-convert@^2.0.1 by hash: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
17311 silly tarball trying ansi-styles@^4.1.0 by hash: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
17312 silly tarball trying color-name@1.1.3 by hash: sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
17313 timing action:extract Completed in 202ms
17314 verbose unlock done using C:\Users\maris\AppData\Roaming\npm-cache\_locks\staging-dfd8fbf9c1feea0f.lock for C:\Program Files\nodejs\node_modules\.staging
17315 timing stage:rollbackFailedOptional Completed in 3ms
17316 timing stage:runTopLevelLifecycles Completed in 136237ms
17317 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\blitz\node_modules\chokidar\node_modules\fsevents):
17318 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
17319 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
17319 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
17319 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32
17319 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
17320 warn @testing-library/react@11.2.5 requires a peer of react@* but none is installed. You must install peer dependencies yourself.
17321 warn @testing-library/react@11.2.5 requires a peer of react-dom@* but none is installed. You must install peer dependencies yourself.
17322 warn @testing-library/react-hooks@4.0.1 requires a peer of react@>=16.9.0 but none is installed. You must install peer dependencies yourself.
17323 warn react-test-renderer@17.0.1 requires a peer of react@17.0.1 but none is installed. You must install peer dependencies yourself.
17324 warn ts-jest@26.5.0 requires a peer of typescript@>=3.8 <5.0 but none is installed. You must install peer dependencies yourself.
17325 warn babel-plugin-superjson-next@0.3.0 requires a peer of next@>=9.0.0 but none is installed. You must install peer dependencies yourself.
17326 warn ts-node@9.1.1 requires a peer of typescript@>=2.7 but none is installed. You must install peer dependencies yourself.
17327 warn jscodeshift@0.11.0 requires a peer of @babel/preset-env@^7.1.6 but none is installed. You must install peer dependencies yourself.
17328 warn @next/react-dev-overlay@11.1.0 requires a peer of react@^17.0.2 but none is installed. You must install peer dependencies yourself.
17329 warn @next/react-dev-overlay@11.1.0 requires a peer of react-dom@^17.0.2 but none is installed. You must install peer dependencies yourself.
17330 warn null-loader@4.0.1 requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
17331 warn use-subscription@1.5.1 requires a peer of react@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
17332 warn styled-jsx@4.0.0 requires a peer of react@>= 16.8.0 || 17.x.x || 18.x.x but none is installed. You must install peer dependencies yourself.
17333 warn react-query@3.21.1 requires a peer of react@^16.8.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
17334 warn ink-spinner@4.0.1 requires a peer of react@^16.8.2 but none is installed. You must install peer dependencies yourself.
17335 warn ink@3.0.8 requires a peer of react@>=16.8.0 but none is installed. You must install peer dependencies yourself.
17336 warn react-reconciler@0.24.0 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
17337 warn eslint-config-next@11.1.2 requires a peer of eslint@^7.23.0 but none is installed. You must install peer dependencies yourself.
17338 warn eslint-config-next@11.1.2 requires a peer of next@>=10.2.0 but none is installed. You must install peer dependencies yourself.
17339 warn @typescript-eslint/eslint-plugin@4.17.0 requires a peer of eslint@^5.0.0 || ^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
17340 warn tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
17341 warn @typescript-eslint/experimental-utils@4.17.0 requires a peer of eslint@* but none is installed. You must install peer dependencies yourself.
17342 warn eslint-plugin-import@2.25.2 requires a peer of eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 but none is installed. You must install peer dependencies yourself.
17343 warn eslint-plugin-react@7.26.1 requires a peer of eslint@^3 || ^4 || ^5 || ^6 || ^7 but none is installed. You must install peer dependencies yourself.
17344 warn eslint-plugin-react-hooks@4.2.0 requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
17345 warn @typescript-eslint/parser@4.33.0 requires a peer of eslint@^5.0.0 || ^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
17346 warn eslint-import-resolver-typescript@2.5.0 requires a peer of eslint@* but none is installed. You must install peer dependencies yourself.
17347 warn eslint-plugin-jsx-a11y@6.4.1 requires a peer of eslint@^3 || ^4 || ^5 || ^6 || ^7 but none is installed. You must install peer dependencies yourself.
17348 warn react-shallow-renderer@16.14.1 requires a peer of react@^16.0.0 || ^17.0.0 but none is installed. You must install peer dependencies yourself.
17349 verbose stack RangeError: Maximum call stack size exceeded
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:439:27)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17349 verbose stack at failedDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:457:9)
17350 verbose cwd C:\Users\maris
17351 verbose Windows_NT 10.0.19043
17352 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "-g" "blitz" "--legacy-peer-deps"
17353 verbose node v14.18.1
17354 verbose npm v6.14.15
17355 error Maximum call stack size exceeded
17356 verbose exit [ 1, true ]
```
### Paste all relevant code snippets here:
```
N/A
```
### What are detailed steps to reproduce this?
1.
### Run `blitz -v` and paste the output here:
```
N/A
```
### Please include below any other applicable logs and screenshots that show your problem:
_No response_
Contributor guide
Research direction
Reproduce `npm i -g blitz --legacy-peer-deps` on Windows with Node v14.18.1 and npm 6.14.15. Inspect the repeated `failedDependency` frames in `C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js`; done means the global installation completes without the RangeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100