3snowp7im / SotN-Randomizer

Randomizer for Castlevania: SotN
https://sotn.io
Do What The F*ck You Want To Public License
89 stars 37 forks source link

Unhandled Promise Rejection? #67

Closed MainMemory closed 3 years ago

MainMemory commented 3 years ago

I've been using the randomizer locally, and for a while now it's been failing with the same error every time I try to run it:

>git reset --hard
>git pull
>npm install
>node randomize -vvvv  -i "D:\CD\PS1\Castlevania - Symphony of the Night (Track 1).bin" -o D:\CD\PS1\SOTNR.bin -p Adventure
(node:14132) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'subtle' of undefined
    at sha256 (D:\Documents\GitHub\SotN-Randomizer\src\util.js:32:19)
    at checked.sum (D:\Documents\GitHub\SotN-Randomizer\src\util.js:672:12)
    at randomize (D:\Documents\GitHub\SotN-Randomizer\randomize:1015:30)
3snowp7im commented 3 years ago

Upgrade to at least node 15x