In template token_input this: <xf:js prod="xf/token_input-compiled.js" dev="vendor/select2/select2.full.min.js, xf/token_input.js" /> needs to be <xf:js prod="xf/token_input-compiled.js" dev="vendor/select2/select2.full.js, xf/token_input.js" />