Я получаю эту ошибку при попытке установить zigbee2mqtt на Pi 2B .
Я думал, что смогу решить эту проблему, вручную установив typcript , но это не сработало, и стон о недоступности машинописи кажется отличным от ошибки максимального размера стека вызовов?
644 silly saveTree └── @serialport/stream@8.0.6
645 warn tsutils@3.17.1 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.
646 verbose stack RangeError: Maximum call stack size exceeded
646 verbose stack at RegExp.test (<anonymous>)
646 verbose stack at isDepOptional (/usr/lib/node_modules/npm/lib/install/deps.js:428:45)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:437:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
646 verbose stack at failedDependency (/usr/lib/node_modules/npm/lib/install/deps.js:453:9)
647 verbose cwd /media/usb/zigbee2mqtt
648 verbose Linux 4.19.57-v7+
649 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
650 verbose node v12.15.0
651 verbose npm v6.13.7
652 error Maximum call stack size exceeded
653 verbose exit [ 1, true ]
root@raspbx:/media/usb/zigbee2mqtt# npm install -g typescript
/root/.npm-packages/bin/tsc -> /root/.npm-packages/lib/node_modules/typescript/bin/tsc
/root/.npm-packages/bin/tsserver -> /root/.npm-packages/lib/node_modules/typescript/bin/tsserver
+ typescript@3.7.5
added 1 package from 1 contributor in 18.101s
root@raspbx:/media/usb/zigbee2mqtt# npm install
npm WARN tsutils@3.17.1 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.
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-08T16_57_34_696Z-debug.log
root@raspbx:/media/usb/zigbee2mqtt#