Creatiwity / gatsby-plugin-favicon

UNMAINTAINED - Favicon Gatsby plugin
MIT License
166 stars 27 forks source link

error compiling with default settings #39

Closed endymion1818 closed 6 years ago

endymion1818 commented 6 years ago

Hi,

This is a really useful plugin, however I'm running into the following issue when running gatsby develop

error There was an error compiling the html.js component for the development server.

See our docs page on debugging HTML builds for help https://goo.gl/yL9lND

  71 |    * @internal
  72 |    */
> 73 |   enqueueReplaceState: function (publicInstance, completeState) {
     | ^
  74 |     warnNoop(publicInstance, 'replaceState');
  75 |   },
  76 |

  WebpackError: ENOENT: no such file or directory, open '/Users/ben.read/Sites/Shopfront/public/.iconstats.json'

I see a similar issue on running gatsby build

InfraK commented 6 years ago

It's happening the same to me.

julien1619 commented 6 years ago

Hi! thanks for the report. The last major version 3.x of this plugin is only compatible with Gatsby v2 (currently in beta, but very close to RC I think). There is some work in progress to enable Gatsby v1 compatibility but there is one last bug preventing it from publishing.

Do you confirm both that you are using version 3 of this plugin with Gatsby v1?

InfraK commented 6 years ago

I am.

Which version supports gatsby v1?

julien1619 commented 6 years ago

@InfraK 2.1.1