jeremyckahn / chitchatter

Secure peer-to-peer chat that is serverless, decentralized, and ephemeral
https://chitchatter.im/
GNU General Public License v2.0
1.4k stars 163 forks source link

npm install >>error. #285

Closed Zibri closed 2 months ago

Zibri commented 2 months ago
~# git clone https://github.com/Zibri/chitchatter
Cloning into 'chitchatter'...
remote: Enumerating objects: 3088, done.
remote: Counting objects: 100% (111/111), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 3088 (delta 66), reused 55 (delta 27), pack-reused 2977
Receiving objects: 100% (3088/3088), 8.26 MiB | 21.04 MiB/s, done.
Resolving deltas: 100% (1910/1910), done.
~# cd chitchatter/
~/chitchatter# npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2024-05-04T14_49_01_391Z-debug.log
~/chitchatter# npm --version;node --version
6.14.8
v14.16.0
~/chitchatter# 
jeremyckahn commented 2 months ago

Hi @Zibri, thanks for the reporting and for the logs. It looks like this might be happening because of the Node/NPM versions you're on (14.16.0 / 6.14.8). Chitchatter requires Node 20 and NPM 10: https://github.com/jeremyckahn/chitchatter/blob/65c4c4890ad6be76d68e222619b320da6355cae6/package.json#L72-L75

Could you see if upgrading your Node/NPM versions fixes the issue?

Zibri commented 2 months ago

I solved this... but I have another problem.. I weill open another issue now.