gemworks / gem-farm

Configurable staking for NFT Projects on Solana
https://gemfarm.gg/
MIT License
338 stars 252 forks source link

Cannot read properties of undefined #89

Open marshallssx opened 2 years ago

marshallssx commented 2 years ago

Hi, I've been facing with this issue and I can't fix it. I only cloned the repo, install&served it. Changed nothing in the files. In localhost when I type my farm ID, I start getting this error:

index.js?9d03:45 TypeError: Cannot read properties of undefined (reading 'protocol') at isURLSameOrigin (isURLSameOrigin.js?3934:57:1) at dispatchXhrRequest (xhr.js?b50d:145:1) at new Promise (<anonymous>) at xhrAdapter (xhr.js?b50d:15:1) at dispatchRequest (dispatchRequest.js?5270:58:1) at Axios.request (Axios.js?0a06:108:1) at Axios.<computed> [as get] (Axios.js?0a06:129:1) at Function.wrap [as get] (bind.js?1d2b:9:1) at _callee$ (cluster.ts?b691:26:1) at c (blocto-sdk.umd.js?758a:3:1)

I think this is about NFTget.ts ,but I couldn't find any solution. I also tried it in my PC & Macbook. Thanks for help.