fix for couldn't read dependancies error on npm