If you're trying to use a package make sure that '../images/logo/dunia.png' is installed. If you're trying to use a local file make sure that the path is correct. gatsby code example

Example 1: gatsby image

const path = require(`path`)

module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `images`,
        path: path.join(__dirname, `src`, `images`),
      },
    },
    `gatsby-plugin-sharp`,
    `gatsby-transformer-sharp`,
  ],
}

Example 2: gatsby image

npm install --save gatsby-transformer-sharp gatsby-plugin-sharp