ExecJS::ProgramError: Unexpected token: name (option)

By updating the js syntax, I was able to resolve the issue and the asset precompilation went successfully.

original

let option = {};

updated

var option = {};