sindresorhus / public-ip

Get your public IP address - very fast!
MIT License
1.02k stars 65 forks source link

Getting Invalid character error on IE 11 #24

Closed chintan-peaas closed 6 years ago

chintan-peaas commented 6 years ago

I'm facing the same issue as https://github.com/sindresorhus/public-ip/issues/18. I'm trying to get the client IP in the front-end code using public-ip and it's causing Invalid character issue in IE. In other browsers, it works fine.

@sindresorhus commented on that issue and as per the comment, I tried babel-engine-plugin, but that also didn't work. It still gives the same error.

sindresorhus commented 6 years ago

Duplicate of #18

sindresorhus commented 6 years ago

As commented in #18, it's up to you to transpile for browser support.

chintan-peaas commented 6 years ago

Yes, but can you throw some light on how to do that? I tried the babel-engine-plugin, but it didn't work. Please advise.