hindley-milner-systems / dapp-ertp-airdrop

0 stars 2 forks source link

apply recent dapp-offer-up dependency work #104

Closed dckc closed 2 months ago

dckc commented 2 months ago

fixes:

not ok 7 - Error: Cannot find module '/Users/tgreco/dapp-airdrop/contract/node_modules/@noble/hashes/pbkdf2.js'

context:

background:

tgrecojs commented 2 months ago

closing this as it's been fixed and merged into dev.

the fix: update the top-level package.json so that "resolutions" contains "@noble/hashes": "1.5.0".

from what i understand, this change will inform the package manager to reference a particular version of a library whenever it is referenced, including if it is referenced in an external dependency. In our code, #105 instructs the package manager to reference v1.5.0 when cosmjs requests it.

s/o @jovanni for the tip