Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning in Gatsby Webpack build console #34

Open
ThiagoMaia1 opened this issue May 24, 2024 · 0 comments
Open

Warning in Gatsby Webpack build console #34

ThiagoMaia1 opened this issue May 24, 2024 · 0 comments

Comments

@ThiagoMaia1
Copy link

Hello. I use statsig-node and statsig-node-vercel in my project, and am seeing some noise related to this library.

▲ [WARNING] "./ip_supalite" should be marked as external for use with "require.resolve" [require-resolve-not-external]

    node_modules/ip3country/src/ip3country.js:49:41:
      49 │     delete require.cache[require.resolve("./ip_supalite")];
         ╵                                          ~~~~~~~~~~~~~~~

That seems to be contrary to what is said in the README:

You won't need to list ip3country as an external in your build process.

I have up-to-date statsig-node, statsig-node-vercel and ip3country. Seems like this only happens when running with Vercel, not just Gatsby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant