Giter VIP home page Giter VIP logo

Comments (3)

TFaga avatar TFaga commented on August 30, 2024

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.

mschipperheyn avatar mschipperheyn commented on August 30, 2024

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.

TFaga avatar TFaga commented on August 30, 2024

No problem. No doubt some of them could use a lot better error messages.

from generator-react-reflux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.