openfun / jitsi-magnify

An authentication and room management system for Jitsi built with Django/React
MIT License
23 stars 6 forks source link

Storybook not launching on main #21

Closed asynkr closed 2 years ago

asynkr commented 2 years ago

Bug Report

Problematic behavior When running yarn storybook in src/frontend/magnify, an error occurs at the "loading presets" phase.

Expected behavior/code The storybook should run. Actually it used to run correctly before the migration.

Steps to Reproduce

  1. git clone the project (or make sure not to have old node_modules folders)
  2. cd src/frontend
  3. yarn
  4. cd magnify
  5. yarn storybook

Solution After a lot of investigation, the problem seems to come from the storybook package. The refactor commit seems to have downgraded storybook subpackages from 6.5.8 to 6.5.7. Upgrading storybook package by running npx sb upgrade fixes the issue.