Giter Club home page Giter Club logo

Comments (7)

Swiip avatar Swiip commented on June 4, 2024

Thanks for reporting. I think you're right, our regex is way too generic. I would hope to find a solution without involving comments but it has to be better than it is.

from generator-fountain-webapp.

wojciechpolak avatar wojciechpolak commented on June 4, 2024

Uhm, @Swiip did you test your change in practice?
Now I get this error:

[11:06:10] Error: Error: File not found with singular glob: [path]/.tmp/jspm_packages/system.js
    at DestroyableTransform.<anonymous> ([path]/node_modules/gulp-useref/lib/streamManager.js:90:36)
    at emitOne (events.js:95:20)
    at DestroyableTransform.emit (events.js:182:7)
    at emitOne (events.js:95:20)
    at Through2.emit (events.js:182:7)
    at OrderedStreams.<anonymous> ([path]/node_modules/glob-stream/index.js:138:20)
    at emitOne (events.js:90:13)
    at OrderedStreams.emit (events.js:182:7)
    at emitOne (events.js:90:13)
    at DestroyableTransform.emit (events.js:182:7)
    at Glob.<anonymous> ([path]/node_modules/glob-stream/index.js:38:16)
    at Glob.g (events.js:273:16)
    at emitOne (events.js:90:13)
    at Glob.emit (events.js:182:7)
    at Glob._finish ([path]/node_modules/glob-stream/node_modules/glob/glob.js:172:8)
    at done ([path]/node_modules/glob-stream/node_modules/glob/glob.js:159:12)
    at Glob._processSimple2 ([path]/node_modules/glob-stream/node_modules/glob/glob.js:652:12)
    at [path]/node_modules/glob-stream/node_modules/glob/glob.js:640:10
    at Glob._stat2 ([path]/node_modules/glob-stream/node_modules/glob/glob.js:736:12)
    at lstatcb_ ([path]/node_modules/glob-stream/node_modules/glob/glob.js:728:12)
    at RES ([path]/node_modules/inflight/inflight.js:23:14)
    at f ([path]/node_modules/once/once.js:17:25)

from generator-fountain-webapp.

micaelmbagira avatar micaelmbagira commented on June 4, 2024

Which framework/modules/js are you using ? Are you using master branch ?

from generator-fountain-webapp.

wojciechpolak avatar wojciechpolak commented on June 4, 2024

I'm using v0.4.0 (Angular1, ES6, SystemJS) with your latest change to this issue.

from generator-fountain-webapp.

micaelmbagira avatar micaelmbagira commented on June 4, 2024

On v0.4.0, gulp serve:dist is not working. Next release will fix it, meanwhile you can check out the changes on master.

from generator-fountain-webapp.

Swiip avatar Swiip commented on June 4, 2024

I must admit I didn't test much no. But I don't see the link of my change and your log.

from generator-fountain-webapp.

wojciechpolak avatar wojciechpolak commented on June 4, 2024

@micaelmbagira I am aware of the issues with serve:dist and I already mixed v0.4.0 with some later changes to the master. The stack trace I reported above has started after the last @Swiip change to this issue. I don't see the strong link either, but when I revert the change, there's no problem. So there is some mystery link ;)

One more thing I noticed after the last change. This is the result now in .tmp/index.html:

    <!-- build:js(.tmp) index.js -->
    <script src="jspm_packages/system.js"></script>
    <script src="jspm.browser.js"></script>
    <script src="jspm.config.js"></script>

    <script src="index.js"></script>
    <!-- endbuild -->

Previously only the index.js remained and now jspm things stay also.

from generator-fountain-webapp.

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.