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

Storybook not working out of the boy #1407

Closed
conradkirschner opened this issue Apr 18, 2019 · 2 comments
Closed

Storybook not working out of the boy #1407

conradkirschner opened this issue Apr 18, 2019 · 2 comments
Labels

Comments

@conradkirschner
Copy link

maybe related to storybookjs/storybook#4179


What's going on?
ERROR in ./storybook/addons.js
Module build failed: Error: Couldn't find preset "module:metro-react-native-babel-preset" relative to directory "C:\Users\conrad\Desktop\react-native\boilerplate_samples\MyNewAppName12\MyNewAppName12\storybook"

Steps to reproduce
after try to use the sample code from pizza app

npm run storybook

ignite doctor results:
System
platform win32
arch x64
cpu 8 cores Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
directory C:\Users\conrad\Desktop\react-native\boilerplate_samples\MyNewAppName12\MyNewAppName12

JavaScript
node 8.12.0 C:\Program Files\nodejs\node.EXE
npm 6.4.1 C:\Program Files\nodejs\npm.CMD
yarn 1.15.2 C:\Program Files (x86)\Yarn\bin\yarn.CMD

React Native
react-native-cli 2.0.1
app rn version 0.57.7

Ignite
ignite 2.2.4 C:\Program Files\nodejs\ignite.CMD
boilerplate ignite-andross
vvv -----[ DEBUG ]----- vvv
{ Error: not found: java
at getNotFoundError (C:\Users\conrad\AppData\Roaming\nvm\v8.12.0\node_modules\ignite-cli\node_modules\gluegun\node_modules\which\which.js:13:12)
at Function.whichSync [as sync] (C:\Users\conrad\AppData\Roaming\nvm\v8.12.0\node_modules\ignite-cli\node_modules\gluegun\node_modules\which\which.js:131:9)
at which (C:\Users\conrad\AppData\Roaming\nvm\v8.12.0\node_modules\ignite-cli\node_modules\gluegun\src\core-extensions\system-extension.js:113:22)
at Command.module.exports [as run] (C:\Users\conrad\AppData\Roaming\nvm\v8.12.0\node_modules\ignite-cli\src\commands\doctor.js:96:20)
at
at process._tickCallback (internal/process/next_tick.js:189:7) code: 'ENOENT' }
^^^ -----[ DEBUG ]----- ^^^

@jamonholmgren
Copy link
Member

@conradkirschner Would you mind using the latest beta Ignite CLI?

npm uninstall -g ignite-cli
npm install -g ignite-cli

# or with yarn (recommended)
yarn global remove ignite-cli
yarn global add ignite-cli

@ryanlntn
Copy link
Member

ryanlntn commented May 4, 2019

This is being tracked on the ignite-andross repo here: infinitered/ignite-andross#216

@ryanlntn ryanlntn closed this as completed May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants