js-libp2p-noise
js-libp2p-noise copied to clipboard
Error while importing the package
When importing noise from the package
const { noise } = require("@chainsafe/libp2p-noise");
It says
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined