Error fixes with npm installation