I am writing a custom node for audio communication (quiet-js) and I found a quietjs-bundle (npm package), so I cloned the repo, edited dependencies version, and some minor fixes and I published it to npm too (don`t want to wait until original developer updates it), and started working on the node.
So I installed my package successfully and the post-install is also finished successfully.
(used .nodered directory just for example)
I required the package inside send.js (custom node)
const quiet = require('quietjs-bundle-2')
npm link to link it as node-red module.
Now when starting node-red in console i get an error:
[error] [send:6eb5368b.3a2f88] Error: Bundle not found. Did you generate it?
The index.js file is just a try/catch for the module.export _bundle.js
I can easily rewrite the code but i want to keep it original as much as I could.
Not sure where to start to find a solution for this, could anyone help?