Comments (2)
I can get this to work with
{
"name": "expo-example",
"version": "7.6.20",
"private": true,
"main": "index.js",
"scripts": {
"android": "STORYBOOK_ENABLED=true expo start --android",
"ios": "STORYBOOK_ENABLED=true expo start --ios",
"web": "STORYBOOK_ENABLED=true expo start --web",
"storybook:mobile": "STORYBOOK_ENABLED=true expo start",
"storybook:web": "storybook dev -p 6006 -c ./.storybook-web",
"build-web-storybook": "storybook build -c ./.storybook-web",
"storybook-getstories": "sb-rn-get-stories --config-path=./.storybook --v6-store",
"storybook-generate": "sb-rn-get-stories --config-path=./.storybook",
"storybook-watcher": "sb-rn-watcher -v6 --config-path=./.storybook",
"disabled-example": "expo start",
"format": "prettier --write .",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"check": "tsc --noEmit",
"test": "jest",
"test:ci": "jest --runInBand"
},
"dependencies": {
"@expo/metro-runtime": "~3.1.3",
"@react-native-async-storage/async-storage": "1.21.0",
"@react-native-community/datetimepicker": "7.7.0",
"@react-native-community/slider": "4.4.2",
"@storybook/addon-essentials": "^7.6.13",
"@storybook/addon-interactions": "^7.6.13",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/addon-links": "^7.6.13",
"@storybook/addon-ondevice-actions": "^7.6.19",
"@storybook/addon-ondevice-backgrounds": "^7.6.19",
"@storybook/addon-ondevice-controls": "^7.6.19",
"@storybook/addon-ondevice-knobs": "^7.6.19",
"@storybook/addon-ondevice-notes": "^7.6.19",
"@storybook/addon-react-native-server": "0.0.5--canary.3.18ef8d7.0",
"@storybook/addon-react-native-web": "^0.0.22",
"@storybook/blocks": "^7.6.13",
"@storybook/builder-webpack5": "^7.6.13",
"@storybook/core-common": "^7.6.13",
"@storybook/docs-tools": "^7.6.13",
"@storybook/global": "^5.0.0",
"@storybook/react": "^7.6.13",
"@storybook/react-native": "^7.6.19",
"@storybook/react-webpack5": "^7.6.13",
"@storybook/test": "^7.6.13",
"expo": "^50.0.2",
"querystring": "^0.2.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.73.6",
"react-native-safe-area-context": "4.8.2",
"react-native-web": "~0.19.6",
"storybook": "^7.6.13",
"ws": "^8.16.0"
},
"resolutions": {
"react": "18.2.0"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@react-native/babel-preset": "^0.74.0",
"@testing-library/react-native": "12.5.1",
"@types/react": "~18.2.45",
"@types/react-test-renderer": "^18.0.7",
"@types/ws": "^8.5.10",
"babel-plugin-react-docgen-typescript": "^1.5.1",
"jest": "29.7.0",
"jest-expo": "~50.0.4",
"metro-react-native-babel-preset": "^0.77.0",
"react-test-renderer": "18.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.3.3"
},
"jest": {
"preset": "jest-expo",
"setupFilesAfterEnv": [
"<rootDir>/setup-jest.ts"
]
}
}
from react-native.
the repo is a yarn workspace and shouldn't be used with npm, you should run yarn install in the root of the workspace
from react-native.
Related Issues (20)
- Unable to resolve "@storybook/react/dist/config" from "node_modules/@storybook/react-native/dist/preview.js" HOT 4
- Unit tests for Storybooks failing in React Native 0.73.1 HOT 3
- Headless render tests: @storybook/test-runner support or Storyshots alternative? HOT 7
- Unable to resolve module react/jsx-runtime in low version of React
- ColumnWrapperStyle not supported for single column lists HOT 8
- Android Bundling failed 3112ms Unable to resolve "@storybook/react-native" from ".storybook/index.tsx" HOT 12
- Add 'check' option in @storybook/addon-ondevice-controls HOT 5
- Documentation improvement request
- HMR issues HOT 4
- [Bug]: Passing props to TextInput causes error HOT 4
- Sidebar doesn't display stories with react-native-tvos HOT 11
- @storybook/react-native webpack bundler support HOT 2
- Generates TypeScipt while project is JS HOT 4
- using props.children results in an `Out of Memory Error` HOT 18
- Unable to run expo-example: Unable to resolve "./dist/index" from "../../packages/ondevice-controls/register.js" HOT 2
- Warning: Support for defaultProps will be removed HOT 1
- Passing a Component as Prop HOT 2
- RangeError: Maximum call stack size exceeded - Error after upgrading from Storybook 7-8 HOT 2
- TypeError: require.context is not a function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native.