Added 'chalk' as an explicit dependency to stop Yarn from complaining:
# This file contains the result of Yarn building a package (scryptlib@npm:2.1.38)
# Script name: postinstall
/home/miha/Work/tokenovate/smart-contract-development/.pnp.cjs:15034
Error.captureStackTrace(firstError);
^
Error: scryptlib tried to access chalk, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Required package: chalk
Required by: scryptlib@npm:2.1.38 (via /home/miha/Work/tokenovate/smart-contract-development/.yarn/unplugged/scryptlib-npm-2.1.38-6fbde13c80/node_modules/scryptlib/patches/)
Require stack:
- /home/miha/Work/tokenovate/smart-contract-development/.yarn/unplugged/scryptlib-npm-2.1.38-6fbde13c80/node_modules/scryptlib/patches/applyPatch.js
- /home/miha/Work/tokenovate/smart-contract-development/.yarn/unplugged/scryptlib-npm-2.1.38-6fbde13c80/node_modules/scryptlib/postinstall.js
at require$$0.Module._resolveFilename (/home/miha/Work/tokenovate/smart-contract-development/.pnp.cjs:15034:13)
at Module._load (node:internal/modules/cjs/loader:975:27)
at require$$0.Module._load (/home/miha/Work/tokenovate/smart-contract-development/.pnp.cjs:14925:31)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/miha/Work/tokenovate/smart-contract-development/.yarn/unplugged/scryptlib-npm-2.1.38-6fbde13c80/node_modules/scryptlib/patches/applyPatch.js:4:15)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at require$$0.Module._extensions..js (/home/miha/Work/tokenovate/smart-contract-development/.pnp.cjs:15077:33)
at Module.load (node:internal/modules/cjs/loader:1197:32)
Node.js v18.19.0
Added 'chalk' as an explicit dependency to stop Yarn from complaining: