react-shop / react-ecommerce Goto Github PK
View Code? Open in Web Editor NEWE-commerce monorepo application using NextJs, React, React-native, Design-System and Graphql with Typescript
License: MIT License
E-commerce monorepo application using NextJs, React, React-native, Design-System and Graphql with Typescript
License: MIT License
When I launch
yarn start
then show errors:
`yarn run v1.22.4
$ lerna run start --parallel --scope '{web,@react-shop/design-system,@react-shop/sdk}'
lerna notice cli v3.19.0
lerna notice filter including "{web,@react-shop/design-system,@react-shop/sdk}"
lerna info filter [ '{web,@react-shop/design-system,@react-shop/sdk}' ]
lerna info Executing command in 3 packages: "yarn run start"
web: $ react-scripts start
@react-shop/design-system: $ tsc && tsc --build tsconfig.esm.json -w
@react-shop/sdk: $ tsc && tsc --build tsconfig.esm.json -w
web: Starting the development server...
web: events.js:292
web: throw er; // Unhandled 'error' event
web: ^
web: Error: ENOSPC: System limit for number of file watchers reached, watch '/home/lt/Apps/react-ecommerce-master/packages/web/public'
web: at FSWatcher. (internal/fs/watchers.js:169:26)
web: at Object.watch (fs.js:1388:34)
web: at createFsWatchInstance (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:38:15)
web: at setFsWatchListener (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:81:15)
web: at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:233:14)
web: at FSWatcher.NodeFsHandler._handleDir (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:429:19)
web: at FSWatcher. (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:477:19)
web: at FSWatcher. (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:482:16)
web: at FSReqCallback.oncomplete (fs.js:172:5)
web: Emitted 'error' event on FSWatcher instance at:
web: at FSWatcher._handleError (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/index.js:260:10)
web: at createFsWatchInstance (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:40:5)
web: at setFsWatchListener (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:81:15)
web: [... lines matching original stack trace ...]
web: at FSReqCallback.oncomplete (fs.js:172:5) {
web: errno: -28,
web: syscall: 'watch',
web: code: 'ENOSPC',
web: path: '/home/lt/Apps/react-ecommerce-master/packages/web/public',
web: filename: '/home/lt/Apps/react-ecommerce-master/packages/web/public'
web: }
web: error Command failed with exit code 1.
web: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run start exited 1 in 'web'
lerna ERR! yarn run start stdout:
$ react-scripts start
Starting the development server...
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run start stderr:
events.js:292
throw er; // Unhandled 'error' event
^
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/lt/Apps/react-ecommerce-master/packages/web/public'
at FSWatcher. (internal/fs/watchers.js:169:26)
at Object.watch (fs.js:1388:34)
at createFsWatchInstance (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:38:15)
at setFsWatchListener (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:81:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:233:14)
at FSWatcher.NodeFsHandler._handleDir (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:429:19)
at FSWatcher. (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:477:19)
at FSWatcher. (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:482:16)
at FSReqCallback.oncomplete (fs.js:172:5)
Emitted 'error' event on FSWatcher instance at:
at FSWatcher._handleError (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/index.js:260:10)
at createFsWatchInstance (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:40:5)
at setFsWatchListener (/home/lt/Apps/react-ecommerce-master/node_modules/chokidar/lib/nodefs-handler.js:81:15)
[... lines matching original stack trace ...]
at FSReqCallback.oncomplete (fs.js:172:5) {
errno: -28,
syscall: 'watch',
code: 'ENOSPC',
path: '/home/lt/Apps/react-ecommerce-master/packages/web/public',
filename: '/home/lt/Apps/react-ecommerce-master/packages/web/public'
}
error Command failed with exit code 1.
lerna ERR! yarn run start exited 1 in 'web'
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
`
How to fix it? And how to launch app on android and ios? there is no description In README about it.
Since we are planning to use a App and a Web Application, exporting our store as a package will let us gain more time using the same action used on both applications.
Store, Actions and Reducers as a package
This is a feature list for Design System
Link figma: https://www.figma.com/file/wm1eayZPzNKapBtg5oE6i3/UI-Challenge-10_12?node-id=0%3A149
Proxima Nova
100
600
400
700
900
30px;
24px;
18px;
16px;
14px;
Primary Light: #1BE0AB
Primary dark: #43FECB
Secondary: #743AF2
Error: #FF3773
Black: #1F1F24
Black Dark: #27272D
Black Normal: #34353D
Black Light: #484854
Gray: #737380
White: #FFFFFF
Hi guys, the storybook docs addon don't appear props and others components if anybody know about addons, please help me in this problem.
The react-native need config metro to use other monorepo packages.
The idea is create a landing to present the project.
Is good to use:
Refatoring all the projects inside react-ecommerce
Context:
The idea is refactor the project and the api to include better solutions and create a open source project to help people create a complete and easy e-commerce.
The e-commerce project it will be changed to: (in construction)
The Api will be changed to:
Context:
Configure Jest/Enzyme to run with lerna
@react-shop/design-system/native
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.