Fix NPM install errors