As per this comment in the Pkg-javascript-devel mailing list: https://lists.alioth.debian.org/pipermail/pkg-javascript-devel/2016-December/016725.html I have changed the approach to set a different $HOME for build-time tests. This should fix the build-time tests. Paolo