Arándano's avatar
Arándano 1 year ago
Tested now with #Ubuntu via SHH and local terminal as well.. Same error!! Dockerfiles needs revision to address #npm and #node.js compatibility conflict. Is out there an #anon who recently tried it? @BTC Sessions can you help here? Maybe you know somebody who knows someone who... #samourai #dojo #samouraidojo #ashigaru #asknostr #bitcoin #privacy

Replies (4)

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
markonyte's avatar
markonyte 1 year ago
I have just ran into this problem. Do you think it will rectified in a week or so?
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