Eval unexpected token export javascript. This question already has answers here: .