storing npm packages, but failing to add more than one index