'How solve issue TypeError: strings.slice(...).reduce is not a function?

I recently dicovered Gatsby and I want to use this template for my own website: https://github.com/toboko/gatsby-starter-fine

When downloading it, manage to run it http://localhost:8000/ but I get this error which I can escape:

TypeError: strings.slice(...).reduce is not a function

I added my repository here so you can take a look too: https://github.com/melariza/gatsby-starter-fine

Could you take a look and help fix it?

Screenshot of the error: enter image description here

Here's the error text:

TypeError: strings.slice(...).reduce is not a function
css
/Users/mga/Sites/gatsby-starter-fine/.cache/loading-indicator/style.js:5
  2 | 
  3 | function css(strings, ...keys) {
  4 |   const lastIndex = strings.length - 1
> 5 |   return (
  6 |     strings.slice(0, lastIndex).reduce((p, s, i) => p + s + keys[i], ``) +
  7 |     strings[lastIndex]
  8 |   )
View compiled
Style
/Users/mga/Sites/gatsby-starter-fine/.cache/loading-indicator/style.js:14
  11 | const Style = () => (
  12 |   <style
  13 |     dangerouslySetInnerHTML={{
> 14 |       __html: css`
  15 |         :host {
  16 |           --purple-60: #663399;
  17 |           --gatsby: var(--purple-60);
View compiled
▶ 18 stack frames were collapsed.
(anonymous function)
/Users/mga/Sites/gatsby-starter-fine/.cache/app.js:165
  162 |   dismissLoadingIndicator()
  163 | }
  164 | 
> 165 | renderer(<Root />, rootElement, () => {
  166 |   apiRunner(`onInitialClientRender`)
  167 | 
  168 |   // Render query on demand overlay
View compiled


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source