ERROR SyntaxError: Unexpected token < in JSON at position 0


#1

i’m getting this error in every page have HTTP request
i tried to remove node modules an reinstall but still facing the same error


#2

JSON does not start with <. Things like HTML and XML do. Apparently your app and whatever is responding to its HTTP requests don’t agree on the data format.


#3

thanks, I appreciate your effort