html-loader icon indicating copy to clipboard operation
html-loader copied to clipboard

Favicon: Module not found

Open VocalFan opened this issue 2 years ago • 4 comments

  • Operating System: Ubuntu 14.04 (Netlify)
  • Node Version: 16.6.1
  • NPM Version: 7.20.3
  • webpack Version: 5.49.0
  • html-loader Version: 2.1.2 (upgrading from 1.3.2)

Expected Behavior

The build will properly compile.

Actual Behavior

The html-loader throws an error on the favicons. "Module not found"

Code

https://gist.github.com/Mou-Ikkai/181dfe5ceba6b0f40fe368083b5aab61

How Do We Reproduce?

Attempt to build the repo here: https://github.com/saricden/no-place-like You will get an error for all the favicons, which didn't occur on 1.3.2 Netlify error: Log of Compilation

VocalFan avatar Aug 11 '21 12:08 VocalFan

Because you have invalid path to your favicons, webpack can't resolve them

alexander-akait avatar Aug 12 '21 10:08 alexander-akait

Because you have invalid path to your favicons, webpack can't resolve them

But how so? It seems like a path you would use in a normal site? Besides, it'd show the favicon on the site when I didn't use the updated html-loader? index.html

VocalFan avatar Aug 12 '21 11:08 VocalFan

I faced the same issue after the last upgrade. The working build no longer works. What has changed in the last update? Let's organize our projects according to changing situations

meftunca avatar Aug 20 '21 11:08 meftunca

@Mou-Ikkai Do you have a problem? Can I help you?

alexander-akait avatar Nov 02 '21 15:11 alexander-akait

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!

alexander-akait avatar Dec 27 '23 13:12 alexander-akait