brave / brave-ui

List of reusable React components to empower your brave UI
https://brave.github.io/brave-ui
Mozilla Public License 2.0
472 stars 136 forks source link

Storybook has only a plain white screnn and won't load. #590

Open anosh-anosh opened 3 years ago

anosh-anosh commented 3 years ago

I am running windows 10 21h1. I use cmd.exe as my command line, i have node .js v12.13.0

i have ran npm install already

When i tried running npm storybook-start it showed this:

C:\Users\etherealz\Downloads\brave-ui-0.8.0\brave-ui-0.8.0>npm run storybook-start
npm ERR! missing script: storybook-start

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\etherealz\AppData\Roaming\npm-cache\_logs\2021-08-09T13_09_08_797Z-debug.log

C:\Users\etherealz\Downloads\brave-ui-0.8.0\brave-ui-0.8.0>npm run test-unit
npm ERR! missing script: test-unit
npm ERR!
npm ERR! Did you mean this?
npm ERR!     test-all

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\etherealz\AppData\Roaming\npm-cache\_logs\2021-08-09T13_09_25_832Z-debug.log

so i ran npm run start and it showed this:

C:\Users\etherealz\Downloads\brave-ui-0.8.0\brave-ui-0.8.0>npm run start

> brave-ui-wrapper@0.0.0 start C:\Users\etherealz\Downloads\brave-ui-0.8.0\brave-ui-0.8.0
> start-storybook -p 9091 -c .storybook

info @storybook/react v3.4.12
info
info => Loading custom .babelrc
info => Loading custom addons config.
info => Loading custom webpack config (full-control mode).
 10% building modules 2/2 modules 0 active(node:1584) DeprecationWarning: importing default webpack config generator from '@storybook/react/dist/server/config/defaults/webpack.config.js' is deprecated. Use third argument of your exported function instead. See https://storybook.js.org/configurations/custom-webpack-config/#full-control-mode--default
 13% building modules 26/39 modules 13 active ...re-js\modules\es6.object.to-string.js
[at-loader] Using typescript@2.9.2 from typescript and "tsconfig.json" from C:/Users/etherealz/Downloads/brave-ui-0.8.0/brave-ui-0.8.0/tsconfig.json.

 94% asset optimization
[at-loader] Checking started in a separate process...

[at-loader] Ok, 5.298 sec.
webpack built a93490d1cb9aeacf544e in 80839ms
info Storybook started on => http://localhost:9091/
info

It worked! so i went to localhost:9091 and it showed a blank white screen:

image

i tried refreshing... nothing. i tried closing and reopening the browser... nothing. i even closed and reopened the server... nothing!

when i ran the test server it didnt work. can anyone help please?