Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/start project errors for node21 and storybooks #702

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sgonzaloc
Copy link

  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

…ted node:internal/crypto/hash:68 error. Also install react for devDependencies to be able to fix error Failed to load preset: Cannot find module 'react/package.json'
Copy link

@bayareacoder bayareacoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works. Current release does not. Pls merge.

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

Successfully merging this pull request may close these issues.

2 participants