Make sure you have the correct version on Node installed. We manage node versions with nvm. Type nvm use
to install the required version. You can also do so manually, see .nvmrc
for the required version.
npm install
Run the project with
npm run storybook
Build a static storybook version with npm run build-storybook
Run it with npx http-server /storybook-static
.
Notice that serve
instead of http-server
doesn't really work. The previews do not show then.