Comments (3)
Hi,
from what I can tell you are referencing a "react.js" file (that doesn't exists in the root of your app folder) somewhere in your "index.html", so that when gulp scans the index.html for scripts/styles it can't find them all.
If that is the case I'm not sure why you are including react.js in your html file as browserify will already bundle it together with your application.
As for the .tmp folder, gulp is searching for scripts/styles in both the ".tmp" as well as the "app" folder because all the required files for building are split between the two folders. For instance modernizr (if you chose it) will reside in your app folder, however the main "app.js" file that browserify builds will be in your .tmp folder so it doesn't pollute you main sources. The above is error is only stating that it can't find the file in any of the listed locations.
Perhaps you could paste your entire gulp output from running gulp build when encountering this error?
from generator-react-reflux.
You're right. I did for some reason put a reference to react.js in the index.html. Thanks. Shame that exception reporting is so poor in some of these gulp tasks.
from generator-react-reflux.
No problem. No doubt some of them could use a lot better error messages.
from generator-react-reflux.
Related Issues (20)
- gulp build generates wrongly renamed app.js file HOT 3
- EMFILE error on OS X HOT 3
- Add a choice to use grunt instead of gulp
- Add a generator for react components
- Add a generator for reflux stores
- Add a generator for reflux actions
- Apply changes from #16 to javascript
- README says run `gulp` to build, but should be `gulp build` HOT 1
- Cant generate new app HOT 4
- appGenerator is called instead actionsGenerator HOT 14
- When creating a action, It starts the new project flow HOT 1
- Adding bootstrap-scss with bower leads to non-resolution of icon font paths HOT 3
- Feature request: adding babel
- Gulp auto-prefixer throws deprecation warning message
- "gulp build" does not work properly HOT 2
- Feature Request: Source Maps
- Refactor app/index.js from a B on Code Climate
- Refactor app/templates/app/scripts/app.js from an A on Code Climate
- Refactor app/templates/preprocessor.js from an A on Code Climate
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 generator-react-reflux.