You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run a nft-marketplace demo by using 'proxy-from-env' module. But the problem is, when I run "npm run dev" on terminal, it gives an error information which is "SyntaxError: The requested module 'proxy-from-env' does not provide an export named 'getProxyForUrl'".
And I found that there is really no export keyword for "getproxyforurl" function in "index.js" file, but I can find "export function getProxyForUrl(url: string|Url): string;" in "index.d.ts" file.
In fact, I am not good at javascript, and I don't know if this is the reason why my website is throwing this problem. Maybe I should add 'export' keyword before the 'function getProxyForUrl(url)' in "index.js" file.
The text was updated successfully, but these errors were encountered:
I try to run a nft-marketplace demo by using 'proxy-from-env' module. But the problem is, when I run "npm run dev" on terminal, it gives an error information which is "SyntaxError: The requested module 'proxy-from-env' does not provide an export named 'getProxyForUrl'".
And I found that there is really no export keyword for "getproxyforurl" function in "index.js" file, but I can find "export function getProxyForUrl(url: string|Url): string;" in "index.d.ts" file.
In fact, I am not good at javascript, and I don't know if this is the reason why my website is throwing this problem. Maybe I should add 'export' keyword before the 'function getProxyForUrl(url)' in "index.js" file.
The text was updated successfully, but these errors were encountered: