Temporary fix for npm

Temporary remedy for #1302, until `npm` fixes the issue.