AUI-1822 npm run watch generates 'module is undefined' error on windows