getstorybook says Unsupported Project type. in an empty project
If you want to install storybook with getstorybook command in your empty project, it instructions it is an unsupported Project type as below.
mkdir example-project && cd $_ npm init -y getstorybook
getstorybook - the simplest way to add a storybook to your project. • Detecting project type. ✓ Unsupported Project type. (code: UNDETECTED) Visit http://getstorybook.io for more information.
The Author wrote the instruction in below file.
It looks like we need to install react.js before using
npm install --save react react-dom
Now, we can use
npm run storybook.