mender

How can I require node modules across disk partitions?

删除回忆录丶 提交于 2021-01-28 11:31:59
问题 Node.js Version : 14.15.0 OS : Raspbian Scope (install, code, runtime, meta, other?) : require I have a Node program that I run on Raspberry Pi 4. I've recently started using a OTA deployment system called Mender to push updates to my code on remote RPis. Mender creates a partition system that uses two 3.5GB partitions, one as the main and the other as a rollback in the event of a failed deployment. And it has a 3rd partition /data , that is around 20GB in my case, for things that need to be