react-financial-charts icon indicating copy to clipboard operation
react-financial-charts copied to clipboard

Fix/start project errors for node21 and storybooks

Open sgonzaloc opened this issue 2 years ago • 0 comments

  1. When we try to start the project with recent versions of node, we have the following error:

digital envelope routines::unsupported node:internal/crypto/hash:68

For avoiding this, I've updated the package.json

  1. The second error was Loading presets, when you were trying to start the project with the stories

Failed to load preset: Error: Cannot find module 'react/package.json'

  1. I've added react on devDependencies for avoiding this issue

Errors fixed

  • [ x] Error running recent versions of node
  • [ x] Errors running storybooks

sgonzaloc avatar Feb 05 '24 07:02 sgonzaloc