gatsby-theme-apollo icon indicating copy to clipboard operation
gatsby-theme-apollo copied to clipboard

In example: Error: error:0308010C:digital envelope routines::unsupported

Open AutomateAaron opened this issue 4 years ago • 2 comments

Hello, I'm brand new to Gasby & this theme. I was just trying to get the example working, to do this I cloned the repo, navigated to the gatsby-theme-apollo/example directory & installed the dependencies:

yarn

and tried to start the dev server:

yarn start

But was given the following error:

 ERROR 

error:0308010C:digital envelope routines::unsupported



  Error: error:0308010C:digital envelope routines::unsupported
  
  - hash:67 new Hash
    node:internal/crypto/hash:67:19
  
  - node:crypto:130 Object.createHash
    node:crypto:130:10
  
  - createHash.js:135 module.exports
    [gatsby-theme-apollo]/[webpack]/lib/util/createHash.js:135:53
  
  - NormalModule.js:417 NormalModule._initBuildHash
    [gatsby-theme-apollo]/[webpack]/lib/NormalModule.js:417:16
  
  - NormalModule.js:452 
    [gatsby-theme-apollo]/[webpack]/lib/NormalModule.js:452:10
  
  - NormalModule.js:323 
    [gatsby-theme-apollo]/[webpack]/lib/NormalModule.js:323:13
  
  - LoaderRunner.js:367 
    [gatsby-theme-apollo]/[loader-runner]/lib/LoaderRunner.js:367:11
  
  - LoaderRunner.js:233 
    [gatsby-theme-apollo]/[loader-runner]/lib/LoaderRunner.js:233:18
  
  - LoaderRunner.js:111 context.callback
    [gatsby-theme-apollo]/[loader-runner]/lib/LoaderRunner.js:111:13
  
  - index.js:59 
    [gatsby-theme-apollo]/[babel-loader]/lib/index.js:59:103

It is totally possible I've done something wrong. If so, what did I do wrong? If not, I'd like to report this as a bug.

AutomateAaron avatar Nov 07 '21 16:11 AutomateAaron

Same issue here.

jeffreycwitt avatar Dec 29 '21 22:12 jeffreycwitt

Hi @AaronNBrock, apologies for the delay in response. This repo uses yarn workspaces, so you'll actually need to run the commands in the root instead of inside of the example directory.

  • yarn in the root to install dependencies
  • yarn workspaces example start in the root to spin up the example repo site locally

jgarrow avatar Feb 15 '22 17:02 jgarrow