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

Looking for React-Files in Angular-Project #3602

Closed
alexandermikuta opened this issue May 18, 2018 · 6 comments
Closed

Looking for React-Files in Angular-Project #3602

alexandermikuta opened this issue May 18, 2018 · 6 comments

Comments

@alexandermikuta
Copy link
Contributor

alexandermikuta commented May 18, 2018

I get the following error in an angular-cli-project ("@angular/cli": "6.0.3") when doing build-storybook

info @storybook/angular v4.0.0-alpha.7
info
info => Loading custom addons config.
info => Using default webpack setup based on "angular-cli".
info Building storybook ...
ERR! Failed to build the storybook
ERR! Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/core/dist/client/manager'
info Building storybook completed.

When doing start-storybook -p6006 -c .storybook it gives the following errors:

ERROR in ./node_modules/@storybook/addon-actions/dist/manager.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/addon-actions/dist'
 @ ./node_modules/@storybook/addon-actions/dist/manager.js 8:13-29
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/addon-actions/dist/components/ActionLogger'
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js 31:13-29
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/addon-actions/dist/containers/ActionLogger'
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js 31:13-29
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/addon-notes/dist/register.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/addon-notes/dist'
 @ ./node_modules/@storybook/addon-notes/dist/register.js 28:13-29
 @ ./node_modules/@storybook/addon-notes/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/components/dist/navigation/routed_link.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/components/dist/navigation'
 @ ./node_modules/@storybook/components/dist/navigation/routed_link.js 39:13-29
 @ ./node_modules/@storybook/components/dist/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/search_box.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/search_box.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/core/dist/client/manager/provider.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/core/dist/client/manager'
 @ ./node_modules/@storybook/core/dist/client/manager/provider.js 33:13-29
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/core/dist/client/manager/preview.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/core/dist/client/manager'
 @ ./node_modules/@storybook/core/dist/client/manager/preview.js 31:13-29
 @ ./node_modules/@storybook/core/dist/client/manager/provider.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/react-komposer/dist/compose.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/react-komposer/dist'
 @ ./node_modules/@storybook/react-komposer/dist/compose.js 33:13-29
 @ ./node_modules/@storybook/react-komposer/dist/index.js
 @ ./node_modules/@storybook/ui/dist/compose.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/react-simple-di/dist/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/react-simple-di/dist'
 @ ./node_modules/@storybook/react-simple-di/dist/index.js 14:13-29
 @ ./node_modules/@storybook/react-simple-di/index.js
 @ ./node_modules/@storybook/mantra-core/dist/index.js
 @ ./node_modules/@storybook/mantra-core/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/react-stubber/dist/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/react-stubber/dist'
 @ ./node_modules/@storybook/react-stubber/dist/index.js 31:13-29
 @ ./node_modules/@storybook/react-komposer/dist/index.js
 @ ./node_modules/@storybook/ui/dist/compose.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/routes.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui'
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js 45:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/menu_item.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/menu_item.js 35:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/header.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/header.js 15:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/header.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/search_box.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/search_box.js 35:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/search_box.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/shortcuts_help.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/shortcuts_help.js 34:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/shortcuts_help.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/addon_panel/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/addon_panel'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/addon_panel/index.js 39:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/addon_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/layout/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/layout'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/index.js 37:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/layout.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/layout/dimensions.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/layout'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/dimensions.js 35:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/layout.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/layout/usplit.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/layout'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/usplit.js 7:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/layout.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/text_filter.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/stories_panel'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/text_filter.js 35:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/stories_panel'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js 35:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_decorators_utils.js 13:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_decorators.js 21:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_header.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_header.js 15:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree'
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js 45:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/create-react-class/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/create-react-class'
 @ ./node_modules/create-react-class/index.js 11:12-28
 @ ./node_modules/@storybook/react-simple-di/dist/index.js
 @ ./node_modules/@storybook/react-simple-di/index.js
 @ ./node_modules/@storybook/mantra-core/dist/index.js
 @ ./node_modules/@storybook/mantra-core/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/glamorous/dist/glamorous.esm.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/glamorous/dist'
 @ ./node_modules/glamorous/dist/glamorous.esm.js 1:0-26 273:7-12 284:7-12 323:4-9 326:22-27 336:27-32 473:15-20 485:4-9 690:33-38 694:2-7 882:15-20
 @ ./node_modules/@storybook/components/dist/navigation/menu_link.js
 @ ./node_modules/@storybook/components/dist/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/search_box.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/search_box.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/radium/lib/enhancer.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/radium/lib'
 @ ./node_modules/radium/lib/enhancer.js 13:13-29
 @ ./node_modules/radium/lib/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/radium/lib/resolve-styles.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/radium/lib'
 @ ./node_modules/radium/lib/resolve-styles.js 41:13-29
 @ ./node_modules/radium/lib/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/radium/lib/components/style-sheet.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/radium/lib/components'
 @ ./node_modules/radium/lib/components/style-sheet.js 10:13-29
 @ ./node_modules/radium/lib/components/style-root.js
 @ ./node_modules/radium/lib/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/radium/lib/components/style-root.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/radium/lib/components'
 @ ./node_modules/radium/lib/components/style-root.js 7:13-29
 @ ./node_modules/radium/lib/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/radium/lib/components/style.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/radium/lib/components'
 @ ./node_modules/radium/lib/components/style.js 15:13-29
 @ ./node_modules/radium/lib/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-fuzzy/dist/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-fuzzy/dist'
 @ ./node_modules/react-fuzzy/dist/index.js 31:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/search_box.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/search_box.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-icon-base/lib/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-icon-base/lib'
 @ ./node_modules/react-icon-base/lib/index.js 9:13-29
 @ ./node_modules/react-icons/lib/io/chevron-right.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-icons/lib/io/chevron-right.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-icons/lib/io'
 @ ./node_modules/react-icons/lib/io/chevron-right.js 9:13-29
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/tree_decorators.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/index.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib'
 @ ./node_modules/react-inspector/lib/index.js 59:13-29
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/dom-inspector/DOMInspector.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/dom-inspector'
 @ ./node_modules/react-inspector/lib/dom-inspector/DOMInspector.js 31:13-29
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/dom-inspector/DOMNodePreview.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/dom-inspector'
 @ ./node_modules/react-inspector/lib/dom-inspector/DOMNodePreview.js 7:13-29
 @ ./node_modules/react-inspector/lib/dom-inspector/DOMInspector.js
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/object/ObjectValue.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/object'
 @ ./node_modules/react-inspector/lib/object/ObjectValue.js 15:13-29
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/object/ObjectName.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/object'
 @ ./node_modules/react-inspector/lib/object/ObjectName.js 11:13-29
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/object-inspector/ObjectPreview.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/object-inspector'
 @ ./node_modules/react-inspector/lib/object-inspector/ObjectPreview.js 11:13-29
 @ ./node_modules/react-inspector/lib/object-inspector/ObjectRootLabel.js
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/object-inspector/ObjectLabel.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/object-inspector'
 @ ./node_modules/react-inspector/lib/object-inspector/ObjectLabel.js 7:13-29
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/object-inspector/ObjectRootLabel.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/object-inspector'
 @ ./node_modules/react-inspector/lib/object-inspector/ObjectRootLabel.js 7:13-29
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/object-inspector/ObjectInspector.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/object-inspector'
 @ ./node_modules/react-inspector/lib/object-inspector/ObjectInspector.js 43:13-29
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/styles/ThemeProvider.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/styles'
 @ ./node_modules/react-inspector/lib/styles/ThemeProvider.js 23:13-29
 @ ./node_modules/react-inspector/lib/object-inspector/ObjectInspector.js
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/table-inspector/TH.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/table-inspector'
 @ ./node_modules/react-inspector/lib/table-inspector/TH.js 31:13-29
 @ ./node_modules/react-inspector/lib/table-inspector/HeaderContainer.js
 @ ./node_modules/react-inspector/lib/table-inspector/TableInspector.js
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/table-inspector/HeaderContainer.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/table-inspector'
 @ ./node_modules/react-inspector/lib/table-inspector/HeaderContainer.js 7:13-29
 @ ./node_modules/react-inspector/lib/table-inspector/TableInspector.js
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/table-inspector/TableInspector.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/table-inspector'
 @ ./node_modules/react-inspector/lib/table-inspector/TableInspector.js 27:13-29
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/table-inspector/DataContainer.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/table-inspector'
 @ ./node_modules/react-inspector/lib/table-inspector/DataContainer.js 15:13-29
 @ ./node_modules/react-inspector/lib/table-inspector/TableInspector.js
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/tree-view/TreeView.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/tree-view'
 @ ./node_modules/react-inspector/lib/tree-view/TreeView.js 35:13-29
 @ ./node_modules/react-inspector/lib/object-inspector/ObjectInspector.js
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-inspector/lib/tree-view/TreeNode.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-inspector/lib/tree-view'
 @ ./node_modules/react-inspector/lib/tree-view/TreeNode.js 27:13-29
 @ ./node_modules/react-inspector/lib/tree-view/TreeView.js
 @ ./node_modules/react-inspector/lib/object-inspector/ObjectInspector.js
 @ ./node_modules/react-inspector/lib/index.js
 @ ./node_modules/@storybook/addon-actions/dist/components/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/containers/ActionLogger/index.js
 @ ./node_modules/@storybook/addon-actions/dist/manager.js
 @ ./node_modules/@storybook/addon-actions/register.js
 @ ./.storybook/addons.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-modal/lib/components/Modal.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-modal/lib/components'
 @ ./node_modules/react-modal/lib/components/Modal.js 12:13-29
 @ ./node_modules/react-modal/lib/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-modal/lib/components/ModalPortal.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-modal/lib/components'
 @ ./node_modules/react-modal/lib/components/ModalPortal.js 13:13-29
 @ ./node_modules/react-modal/lib/components/Modal.js
 @ ./node_modules/react-modal/lib/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-split-pane/lib/Pane.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-split-pane/lib'
 @ ./node_modules/react-split-pane/lib/Pane.js 11:13-29
 @ ./node_modules/react-split-pane/lib/SplitPane.js
 @ ./node_modules/react-split-pane/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/layout.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-split-pane/lib/SplitPane.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-split-pane/lib'
 @ ./node_modules/react-split-pane/lib/SplitPane.js 11:13-29
 @ ./node_modules/react-split-pane/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/layout.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-split-pane/lib/Resizer.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-split-pane/lib'
 @ ./node_modules/react-split-pane/lib/Resizer.js 10:13-29
 @ ./node_modules/react-split-pane/lib/SplitPane.js
 @ ./node_modules/react-split-pane/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/layout.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-transition-group/Transition.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-transition-group'
 @ ./node_modules/react-transition-group/Transition.js 10:13-29
 @ ./node_modules/velocity-react/velocity-transition-group.js
 @ ./node_modules/velocity-react/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-transition-group/TransitionGroup.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-transition-group'
 @ ./node_modules/react-transition-group/TransitionGroup.js 11:13-29
 @ ./node_modules/velocity-react/velocity-transition-group.js
 @ ./node_modules/velocity-react/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-transition-group/utils/ChildMapping.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-transition-group/utils'
 @ ./node_modules/react-transition-group/utils/ChildMapping.js 7:13-29
 @ ./node_modules/react-transition-group/TransitionGroup.js
 @ ./node_modules/velocity-react/velocity-transition-group.js
 @ ./node_modules/velocity-react/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-treebeard/lib/components/node.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-treebeard/lib/components'
 @ ./node_modules/react-treebeard/lib/components/node.js 39:13-29
 @ ./node_modules/react-treebeard/lib/components/treebeard.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-treebeard/lib/components/treebeard.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-treebeard/lib/components'
 @ ./node_modules/react-treebeard/lib/components/treebeard.js 27:13-29
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-treebeard/lib/components/header.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-treebeard/lib/components'
 @ ./node_modules/react-treebeard/lib/components/header.js 35:13-29
 @ ./node_modules/react-treebeard/lib/components/node.js
 @ ./node_modules/react-treebeard/lib/components/treebeard.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-treebeard/lib/components/decorators.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-treebeard/lib/components'
 @ ./node_modules/react-treebeard/lib/components/decorators.js 29:13-29
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/velocity-react/velocity-component.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/velocity-react'
 @ ./node_modules/velocity-react/velocity-component.js 58:12-28
 @ ./node_modules/velocity-react/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/velocity-react/velocity-transition-group.js
Module not found: Error: Can't resolve 'react' in '/home/alexm/Repositories/itb3/frontend/node_modules/velocity-react'
 @ ./node_modules/velocity-react/velocity-transition-group.js 65:12-28
 @ ./node_modules/velocity-react/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/@storybook/ui/dist/modules/ui/routes.js
Module not found: Error: Can't resolve 'react-dom' in '/home/alexm/Repositories/itb3/frontend/node_modules/@storybook/ui/dist/modules/ui'
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js 49:16-36
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-modal/lib/components/Modal.js
Module not found: Error: Can't resolve 'react-dom' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-modal/lib/components'
 @ ./node_modules/react-modal/lib/components/Modal.js 16:16-36
 @ ./node_modules/react-modal/lib/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-split-pane/lib/SplitPane.js
Module not found: Error: Can't resolve 'react-dom' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-split-pane/lib'
 @ ./node_modules/react-split-pane/lib/SplitPane.js 19:16-36
 @ ./node_modules/react-split-pane/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/layout/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/layout.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/react-transition-group/Transition.js
Module not found: Error: Can't resolve 'react-dom' in '/home/alexm/Repositories/itb3/frontend/node_modules/react-transition-group'
 @ ./node_modules/react-transition-group/Transition.js 14:16-36
 @ ./node_modules/velocity-react/velocity-transition-group.js
 @ ./node_modules/velocity-react/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/velocity-react/velocity-transition-group.js
Module not found: Error: Can't resolve 'react-dom' in '/home/alexm/Repositories/itb3/frontend/node_modules/velocity-react'
 @ ./node_modules/velocity-react/velocity-transition-group.js 66:15-35
 @ ./node_modules/velocity-react/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

ERROR in ./node_modules/velocity-react/velocity-component.js
Module not found: Error: Can't resolve 'react-dom' in '/home/alexm/Repositories/itb3/frontend/node_modules/velocity-react'
 @ ./node_modules/velocity-react/velocity-component.js 59:15-35
 @ ./node_modules/velocity-react/index.js
 @ ./node_modules/react-treebeard/lib/components/decorators.js
 @ ./node_modules/react-treebeard/lib/index.js
 @ ./node_modules/react-treebeard/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/stories_tree/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/components/stories_panel/index.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/containers/stories_panel.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/routes.js
 @ ./node_modules/@storybook/ui/dist/modules/ui/index.js
 @ ./node_modules/@storybook/ui/dist/index.js
 @ ./node_modules/@storybook/core/dist/client/manager/index.js
 @ multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js

Used Storybook is:

"@storybook/addon-actions": "v4.0.0-alpha.7",
"@storybook/addon-links": "v4.0.0-alpha.7",
"@storybook/addon-notes": "v4.0.0-alpha.7",
"@storybook/addons": "v4.0.0-alpha.7",
"@storybook/angular": "v4.0.0-alpha.7"

Any ideas why it looks for react-files in an angular-project?

@pokkur
Copy link

pokkur commented May 18, 2018

Vue project too

@igor-dv
Copy link
Member

igor-dv commented Jun 4, 2018

@alexandermikuta, Storybook manager (the outer UI of the storybook) is implemented with React. The inner view (iframe) is mostly framework agnostic.
Can you please try to remove the node_modules and reinstall the dependencies?

@alexandermikuta
Copy link
Contributor Author

@igor-dv Problem still exists after reinstall of dependencies. Also update to @storybook/angular v4.0.0-alpha.8 did not help.

@igor-dv
Copy link
Member

igor-dv commented Jun 7, 2018

Can you please install react and react-dom manually and check again?

@alexandermikuta
Copy link
Contributor Author

@igor-dv When I install the modules manually everthing works correctly, but I guess this not the indented behaviour to install those modules manually.

@igor-dv
Copy link
Member

igor-dv commented Jun 7, 2018

Yeah, just wanted to make sure it's working.

Looks like after moving to emotion, react has become a peer in most of the places. I do see a fix on master, probably will be released soon.

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

No branches or pull requests

3 participants