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

assets not resolve with ~ symbol #5701

Closed
elselapatha opened this issue Nov 26, 2019 · 14 comments
Closed

assets not resolve with ~ symbol #5701

elselapatha opened this issue Nov 26, 2019 · 14 comments

Comments

@elselapatha
Copy link

assets images not resolve after upgrade to quasar 1.4.5 and app 1.3.0
inspect the source and code is show like <img src="[object Module]" style="width: 30vw; max-width: 150px;">

@elselapatha elselapatha changed the title assets not resolve with ~ assets not resolve with ~ symbol Nov 26, 2019
@ggeorgiev92
Copy link

I have the same issue. Issue occur when quasar/app is 1.3.0 version (maybe some of updated dependencies). I downgrade my app to last stable 1.2.4 and everything work like a charm.
unknown

@jacksongross
Copy link

I think it could be related to #5621

@0xDarker
Copy link

+1

@elselapatha
Copy link
Author

elselapatha commented Nov 27, 2019

I have the same issue. Issue occur when quasar/app is 1.3.0 version (maybe some of updated dependencies). I downgrade my app to last stable 1.2.4 and everything work like a charm.
unknown

Thanks. Solve the issue. but this is workaround.

@miladmeidanshahi
Copy link

the same problem please update @rstoenescu

@pdanpdan
Copy link
Collaborator

Can you please check file-loader's version on working and not working app (1.2.4 and 1.3.0) with npm list file-loader and report back?

@rstoenescu
Copy link
Member

Hi,

Thanks for reporting! Fixed in "@quasar/app" v1.3.1. Please upgrade to it.

@0xDarker
Copy link

0xDarker commented Dec 2, 2019

I upgrade to "@quasar/app" v1.3.1 but this issue still exists. @rstoenescu

@rstoenescu
Copy link
Member

@0xDarker it's impossible. make a cleanup of node_modules and yarn.lock/package-lock.json and yarn/npm install again. Also make sure that you haven't manually added url-loader or file-loader to your project.

@0xDarker
Copy link

0xDarker commented Dec 2, 2019

@0xDarker it's impossible. make a cleanup of node_modules and yarn.lock/package-lock.json and yarn/npm install again. Also make sure that you haven't manually added url-loader or file-loader to your project.

Sorry it ’s really because I added file-loader, thanks

@rstoenescu
Copy link
Member

No prob. Glad it's working for you too now.

@Propaganistas
Copy link
Contributor

Propaganistas commented Dec 5, 2019

I deleted node_modules and yarn.lock, I don't have file-loader / url-loader specified and yet I'm still experiencing this issue from v1.3.1 and onwards.

@rstoenescu
Copy link
Member

@Propaganistas this has been fixed 101%. are you sure that you are running latest q/app? what does it say when you run quasar dev or build right at the top in terminal?

@Propaganistas
Copy link
Contributor

@rstoenescu Thanks for bearing with me. I'm using another build runner based on webpack with some sensible defaults preset (so not Quasar builder). I tracked it down to the defaults not including esModule: false in file-loader's options. Adding that fixed it.

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