Open dchocoboo opened 1 year ago
dependencies version : 2.3.3
Please check that you have only one instance of @peculiar/asn1-schema
in your project. If it is not, deduplicate it.
npm list @peculiar/asn1-schema
This same issue happens to me if i npm link
to a library using asn1-schema. Might be something related to the symlinks used.
This error occurs because the @peculiar/asn1-schema
module registers schemas at the module variable level. If your project includes multiple versions of this module, the schemas might be registered in different instances, leading to this error.
/node_modules/@peculiar/asn1-schema/build/cjs/schema.js:1 Error: Cannot get schema for 'ObjectIdentifier' target