Library and node in one package

That is unlikely. nodesDir is for unpackaged nodes. If you want to package as npm module, then it needs to be installed properly.

Thanks for the clarification.
Have a nice day :slightly_smiling_face: