Fix npm install issues with dependencies