Giter Club home page Giter Club logo

Comments (3)

yw1101 avatar yw1101 commented on June 1, 2024

Hi, if you just want to change the favicon using, I would like to recommend you to change the name of the png and run it again, which works for me.

from simplefolio.

MarioAvolio avatar MarioAvolio commented on June 1, 2024

no i want to change the facivon

Hi, if you just want to change the favicon using, I would like to recommend you to change the name of the png and run it again, which works for me.

no i want to change the favicon using the standard approach

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">

because in this repository we use this code for selecting favicon:
<link rel="shortcut icon" type="image/png" href="assets/favicon.png" />

but it gives some problems when i visualzie the page on google

from simplefolio.

MarioAvolio avatar MarioAvolio commented on June 1, 2024

this is the output in builing:

11:12:51 AM: Netlify Build
11:12:51 AM: ────────────────────────────────────────────────────────────────
11:12:51 AM: ​
11:12:51 AM: ❯ Version
11:12:51 AM: @netlify/build 29.21.1
11:12:51 AM: ​
11:12:51 AM: ❯ Flags
11:12:51 AM: baseRelDir: true
11:12:51 AM: buildId: 650d5a5d224d3d000885ad42
11:12:51 AM: deployId: 650d5a5d224d3d000885ad44
11:12:51 AM: ​
11:12:51 AM: ❯ Current directory
11:12:51 AM: /opt/build/repo
11:12:51 AM: ​
11:12:51 AM: ❯ Config file
11:12:51 AM: No config file was defined: using default values.
11:12:51 AM: ​
11:12:51 AM: ❯ Context
11:12:51 AM: production
11:12:51 AM: ​
11:12:51 AM: ❯ Loading plugins
11:12:51 AM: - @netlify/[email protected] from Netlify app
11:12:51 AM: ​
11:12:51 AM: ❯ Outdated plugins
11:12:51 AM: - @netlify/[email protected]: latest version is 5.0.0
11:12:51 AM: To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)
11:12:52 AM: ​
11:12:52 AM: Build command from Netlify app
11:12:52 AM: ────────────────────────────────────────────────────────────────
11:12:52 AM: ​
11:12:52 AM: $ npm run build
11:12:52 AM: > [email protected] build
11:12:52 AM: > parcel build
11:12:53 AM: Building...
11:12:53 AM: console: Browserslist: caniuse-lite is outdated. Please run:
11:12:53 AM: npx update-browserslist-db@latest
11:12:53 AM: Why you should do it regularly:
11:12:53 AM: https://github.com/browserslist/update-db#readme
11:12:56 AM: 🚨 Build failed.
11:12:56 AM: @parcel/core: Failed to resolve '.../icons8-artificial-intelligence-16.png' from
11:12:56 AM: './src/index.html'
11:12:56 AM: @parcel/resolver-default: Cannot load file
11:12:56 AM: './.../icons8-artificial-intelligence-16.png' in './src'.
11:12:56 AM: ​
11:12:56 AM: build.command failed
11:12:56 AM: ────────────────────────────────────────────────────────────────
11:12:56 AM: ​
11:12:56 AM: Error message
11:12:56 AM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
11:12:56 AM: ​
11:12:56 AM: Error location
11:12:56 AM: In Build command from Netlify app:
11:12:56 AM: npm run build
11:12:56 AM: ​
11:12:56 AM: Resolved config
11:12:56 AM: build:
11:12:56 AM: command: npm run build
11:12:56 AM: commandOrigin: ui
11:12:56 AM: publish: /opt/build/repo/dist
11:12:56 AM: publishOrigin: ui
11:12:56 AM: plugins:
11:12:56 AM: - inputs: {}
11:12:56 AM: origin: ui
11:12:56 AM: package: '@netlify/plugin-lighthouse'
11:12:57 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
11:12:57 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:12:57 AM: Failing build: Failed to build site
11:12:57 AM: Finished processing build request in 31.738s

from simplefolio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.