Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #3284
Closed
Open
Issue created Oct 15, 2017 by Administrator@rootContributor

Created app has wrong favicon "sizes" value in the manifest file, which results in console error.

Created by: mohsinulhaq

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

Did not try. Doesn't seem to be related to that.

Which terms did you search for in User Guide?

I didn't.

Environment

  1. node -v: v8.7.0
  2. npm -v: 5.5.1
  3. yarn --version (if you use Yarn):
  4. npm ls react-scripts (if you haven’t ejected):

Then, specify:

  1. Operating system: macOS 10.13
  2. Browser and version (if relevant): Chrome 61

Steps to Reproduce

  1. Go to the created app's manifest file in public folder.
  2. The icons array has wrongly mentioned the favicon.ico size as 192x192 instead of 16x16 size of the included favicon file.
  3. Run the app. Go to Dev Tools' Application section. Open Manifest.
  4. Click Add to homescreen. This results in console error: Error while trying to use the following icon from the Manifest: http://localhost:3000/favicon.ico (Resource size is not correct - typo in the Manifest?) Site cannot be installed: icon downloaded from the manifest was empty or corrupted

Expected Behavior

Should have searched for 144x144 image, where it would fail if we fix the size now.

Actual Behavior

Console error.

Reproducible Demo

screen shot 2017-10-15 at 9 05 51 pm
Assignee
Assign to
Time tracking