Issue #21628: Fixed issue with package.js and errors