ERROR SyntaxError: Unexpected token < in JSON at position 0


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


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.


thanks, I appreciate your effort