Npm package build failed

I think I will close this. What would be the most nix way to run this without having a dedicated package?