Gatsby: Build issue when using gatsby-plugin-netlify-cms

Created on 24 Feb 2018  路  5Comments  路  Source: gatsbyjs/gatsby

I'm receiving the following error on the production but not the develop build when using gatsby-plugin-netlify-cms. I was using this plugin before but on an older version of gatsby. After I upgraded gatsby (among other things) I am getting this error. If I remove gatsby-plugin-netlify-cms I no longer get the error.

Error: app-ffa06f381625a48fea6d.js from UglifyJs
  SyntaxError: Unexpected character '`' [./~/gatsby-plugin-netlify-cms/gatsby-br  owser.js:10,0]

Could this potentially be related to this recent pull request?
https://github.com/gatsbyjs/gatsby/pull/4215

bug

Most helpful comment

Also getting this

All 5 comments

Reproduced, investigating.

Also getting this

If you absolutely must get past this error, and aren't using Travis-CI, you can replace ` in the file with '

The file is located at node_modules/gatsby-plugin-netlify-cms/gatsby-browser.js

Fixed in #4233 (pending release).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benstr picture benstr  路  3Comments

totsteps picture totsteps  路  3Comments

hobochild picture hobochild  路  3Comments

magicly picture magicly  路  3Comments

dustinhorton picture dustinhorton  路  3Comments