Arándano's avatar
Arándano 1 year ago
I have just tried to install #Dojo 1.26 following the great step-by-step guide from #ashigaru . I used Debian 12 instead of Ubuntu using ssh server. Somehow I faced errors during the process of installing dojo (./dojo.sh install), related to the node.js and npm incompatibility versions. Have anybody an idea how to overcome this? #asknostr #bitcoin #samourai

Replies (8)

Arándano's avatar
Arándano 1 year ago
Since #npm 10.9.2 version, older #node.js versions than 20.5.0 are not anymore compatible. The dockerfiles of node and explorer call a previous #node.js version than 20.5.0 and the latest #npm version simoultaneously, causing the issue when deploying the #dojo. A quick amend in the dockerfiles as npm@8.19.4 fix the issue, but I am not sure if this is the best approach. I am not actively in github, so if anyone can fork the repository with the amend and make a pull request at least the mainteiner can be aware (I think is StillDojoCoder in twitter). @BTC Sessions @lunaticoin @Arkad
Arándano's avatar
Arándano 1 year ago
You can fix it yourself. Just add the spcecific npm version un the Explorer and Node dockerfiles: # Update NPM to latest version RUN set -ex && \ npm i -g npm@8.19.4
markonyte's avatar
markonyte 1 year ago
Thank you for that. Im not firmiliear with modifying these files but ill see what i can do
Arándano's avatar
Arándano 1 year ago
No worries, we are a #V4V community, I am open to help. Please DM me if you try again, just before the "./dojo. sh install" prompt and I will guide you how to amend both Dockerfiles. If you hace básica knowhow of Terminal commands, you are more than ready to do it ;)
markonyte's avatar
markonyte 1 year ago
thank you sir. Would it be possible to just write the commands here and also tell me how to enter into the file to edit it?
Arándano's avatar
Arándano 1 year ago
It looks that mainteiners are fixing TVE issue. I hace checked the repository and amends have been done recently.