Comments (5)
Awesome, was waiting for this ticket. This is something that needs to be worked on. reapp-pack is meant as a guide to get people started, but everyone has different preferences.
In the future I'd like to see it almost as a universal webpack-config-generator
, but really then it's just another layer of abstraction on top of webpack configs themselves, so theres some thought into how to balance that.
I would love to see a PR for allowing people to add plugins and loaders. I think those are common things, but of course that's not entirely simple because you may want to add
or replace
them.
Anyway, in time I'll iterate on this and try and bring all that stuff in. Would like to hear other peoples thoughts on this.
from reapp-pack.
Also for an example of an app that doesn't use the CLI at all but does use reapp-pack and reapp-server, see the hacker news app
from reapp-pack.
Looks like hacker-news-app has some issues too. After installing deps and running npm run build
I get:
Had warnings:
./app/routes.js
Critical dependencies:
6:16-23 require function is used in a way, in which dependencies cannot be statically extracted
@ ./app/routes.js 6:16-23
./app ^\.\/.*$
Module not found: Error: a dependency to an entry point is not allowed
@ ./app ^\.\/.*$
./app ^\.\/.*$
Module not found: Error: a dependency to an entry point is not allowed
@ ./app ^\.\/.*$
undefined '\n\n'
Had errors:
./~/reapp-routes/react-router/RoutedViewListMixin.js
Module not found: Error: Cannot resolve module 'react-router/mixins/RouteHandler'
Similar issues using dev server with npm start
.
WARNING in ./app/routes.js
Critical dependencies:
8:16-23 require function is used in a way, in which dependencies cannot be statically extracted
@ ./app/routes.js 8:16-23
ERROR in ./~/reapp-routes/react-router/RoutedViewListMixin.js
Module not found: Error: Cannot resolve module 'react-router/mixins/RouteHandler' in /Users/x/hacker-news-app/node_modules/reapp-routes/react-router
@ ./~/reapp-routes/react-router/RoutedViewListMixin.js 9:24-67
Is this likely to be an issue with my setup?
from reapp-pack.
Looks like you need to update your dependencies, can you run npm outdated
, and update all the reapp packages, try again?
from reapp-pack.
Closing unless further errors noticed.
from reapp-pack.
Related Issues (8)
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 reapp-pack.