I\'ve created a node-module that has a build script that gets called after the installation. The build script clones a git repository and copies some files of it to another
Do you have the x flag on build.js?
x
build.js
chmod +x build.js
And the first line of your script should tell how to execute the script from the shell:
#!/usr/bin/env node