I evaluate changes in the development process in Vagrant , but I often develop interdependent, not yet released Node modules that are linked together by npm link .
Since Vagrant does not have all the source files shared on the guest machine, creating npm link symlinks is not enough to create these modules synchronously with each other. Firstly, there is no way to get npm link to create hard links. For two, sharing the symbolic link assignments on the a la board, the following will not scale:
config.vm.synced_folder "/usr/local/share/npm/lib/node_modules", "/usr/lib/node_modules"
Now, the question. Is any of the above errors (e.g. npm support for hard links exist, and I skipped this)? What processes do people use to develop interconnected private Node modules with validation done through Vagrant?
EDIT: Ultimately, I hope for a solution that will work on both Mac and Windows. In addition, for the record, I do not intend to think about how the complex layout of the Node module will work; I'm just trying to use Vagrant to improve this non-unusual workflow.
Schoonology
source share