js-libp2p-noise icon indicating copy to clipboard operation
js-libp2p-noise copied to clipboard

Error while importing the package

Open l3lackcurtains opened this issue 1 year ago • 0 comments

When importing noise from the package

const { noise } = require("@chainsafe/libp2p-noise");

It says

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined

l3lackcurtains avatar Jun 30 '24 05:06 l3lackcurtains