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

flags not showing #369

Open
jacky-ew opened this issue Apr 13, 2021 · 7 comments
Open

flags not showing #369

jacky-ew opened this issue Apr 13, 2021 · 7 comments

Comments

@jacky-ew
Copy link

Screenshot 2021-04-13 at 8 43 09 PM

@Dhara-Actonate
Copy link

I am getting the same issue. Can you please help solving it?

@marwajomaa
Copy link

I have the same issue, what's the fix for that?!! any help is appreciated. Thanks

@andrewsantarin
Copy link
Contributor

@jacky-ew @Dhara-Actonate @marwajomaa

  1. What is your setup? Create React App? Next.js?
  2. Could you try the workaround in Flags not showing in next.js and the input not clickable #371 (comment)?

@rayrare112
Copy link

@jacky-ew @Dhara-Actonate @mariusandra
In my case:
image

Notice that the url source of background image is shown as '[object Module]'
This is caused by the url-loader.
You should modify your url-loader configuration with options below:

options: {
    esModule: false,
},

This will fix the issue in my case. Hope it will be helpful to you.
image

@Hien997
Copy link

Hien997 commented Sep 28, 2022

I have had to install url-loader https://www.npmjs.com/package/url-loader
This will fix the issue.

@radelcom
Copy link

i just ran into this after upgrading react-scripts/webpack to ~v5. what works for me is following webpack asset-modules docs

{
    test: /\.png/,
    type: 'asset/resource'
}

@gary-hodgson-infotrack
Copy link

Thanks @radelcom - that fixed my issue as well.
module: { rules: [ { test: /\.png/, type: 'asset/resource', }]}

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

8 participants