Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

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

Open
AutomateAaron opened this issue Nov 7, 2021 · 2 comments

Comments

@AutomateAaron
Copy link

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.

@jeffreycwitt
Copy link

Same issue here.

@jgarrow
Copy link
Contributor

jgarrow commented Feb 15, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants