Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Puneet Aggarwal
    @puneetagg
    Hi...
    I have done setup of my project using generator-gulp-angular. Thanks to the whole community for such a tool. There's one issue I am facing.
    I installed satellizer using npm and specified as dependency in angular app..still its not getting included in the build..
    Can anybody help me with this?
    Juan Cuzmar
    @glats
    Hi everyone
    Puneet Aggarwal
    @puneetagg
    Hi..
    Is there any way to debug the gulp build process?
    Benny Powers
    @bennypowers
    Can I run a gulp-connect-php server that works with browsersync? where do I put the gulp-connect-php stuff? in /gulpfile.js or in /gulp/server.js?
    Ahmad-Soliman
    @Ahmad-Soliman
    I am trying to use $httpbackend for backend-less dev, then i created some stub files that end with *.mock.js. I loaded these file with custom task called 'inject-mock', the problem is all the mock files loaded at the end. The mocking files must loaded first before real service request injected. How to control the order of the injected files?
    Benny Powers
    @bennypowers
    How do I run the css through gulp-uncss? I've created a task called gulp.task('uncss') according to http://fourkitchens.com/blog/article/use-gulp-and-uncss-slim-down-your-css-framework but how do I tell gulp to run it during build?
    Matthieu Lux
    @Swiip
    hi, you have to add it in the pipe of the build task
    somewhere inside the filter css
    Benny Powers
    @bennypowers
    in the var cssFilter build.js:40?
    Benny Powers
    @bennypowers
    I added .pipe(uncss({html:'src/index.html'})) just below .pipe(cssFilter) and it stripped out all my styles :D
    Matthieu Lux
    @Swiip
    lol
    i never used uncss, i can't help you further
    Benny Powers
    @bennypowers
    let's try again with src/app/*/.html
    Matthieu Lux
    @Swiip
    sure it as to find your htmls correctly to be able to know if the classes are used
    Benny Powers
    @bennypowers
    .pipe(uncss({html:'src/app/*/.html'})) didn't do it either :(
    oof I can't believe i just found out about proxy middleware, like 2 days from launch could have saved mysefl so much time
    Benny Powers
    @bennypowers
    something's not right with the way I'm doing this... when I insert that pipe into the cssFilter, I get an empty vendor.css (only introductory comments) and a 111 line unminified app.css in /dist/
    see ben-eb/gulp-uncss#55
    Ade Viankakrisna Fadlil
    @viankakrisna
    hello, is there any way to add / remove route and controller via commandline using this tool?
    Mike Baker
    @mykbaker
    @viankakrisna I don't see it in the help, I doubt it.
    Sourav Mondal
    @souravmondal93
    When I created a project using the generator, I used plain CSS as the option for stylesheets. Now I want it to upgrade it to SCSS. Is there any way, I can do that?
    Eshan Singh
    @naiveaiguy
    @souravmondal93 I think it is detailed in the docs somewhere, I’m not sure.
    Eshan Singh
    @naiveaiguy
    Hey everybody!
    Is it possible to make a new generator based on this, but for Ionic 1/2? May be a big undertaking, but as far as my research has gone, there is not a generator out there for Ionic that provides as much diversity in preprocessors and libraries as this one.
    Jeremy Corson
    @nexeh
    Good afternoon. I have an issue with a gulp-ruby-sass portion of my generated project. The developer next to me is seeing the files generate in a appData directory instead of the project directory. as a result the site doesnt work. i see others talking about this in 2015. I dont know how to fix it or why it doesnt happen for me
    We are both on windows. We have tried various comand line tools to make sure it wasnt that
    Jakub Pomykała
    @jpomykala
    Hi all :)
    Benny Powers
    @bennypowers
    I'm spoiled by your generator Is there an equivalent meanstack genny or am I better off manually installing the server stuff?
    Pedro Esperança
    @esperancaJS
    Hi Benny, your better off creating a separate project altogether for the API
    Nick Lucking
    @nicklucking
    Hey guys, when are you pushing out the drone 5 release??
    super excited about that
    Michał Wójcik
    @michalmw
    Hello guys, i have problem with start my test. When i write small test how i can start testing with console. gulp test?
    My test isn't validation in testing engine..
    neilkyoung
    @neilkyoung
    I am running the generator though a proxy to my php server successfully and everything is working fine except I seem to have to use /index.php as my start path on BrowserSync with http-proxy-middleware. This is causing me issues with things such as my angular routing and building SEO snapshots using html-snapshots. Is there any way of removing the /index.php/ from my urls using http-proxy-middleware or am I stuck with this?
    Justin Griffith
    @jdgriffith
    Does your generator come with any mock functionality? I see where it looks for any */.mock.js files but do not see any examples.
    Mehdy Dara
    @zckrs

    @/all if you missed the last news about gulp-angular

    https://github.com/Swiip/generator-gulp-angular/releases/tag/v1.1.1

    I recommend you to switch on FountainJS.

    We just achieve a full test coverage

    Mike
    @mikesigs
    Awesome! I am excited to give it a try.
    We have migrate to Slack @mikesigs
    Mike
    @mikesigs
    Thanks. I will migrate over there now ;)
    Ben Novak
    @novakben_twitter
    This message was deleted
    This message was deleted

    Hey guys, when I run the local serve command everything works fine. But when I build, my two layout routes files are returning 404:
    This is what calls them in my route file:

    $stateProvider
          .state('dashboard', {
              // abstract: true,
              views: {
                layout: {
                  templateUrl: 'app/layouts/dashboard.html',
                }
              },
              data: {
                authorizedRoles: true
              }
          })
          .state('full', {
              // abstract: true,
              views: {
                layout: {
                  templateUrl: 'app/layouts/fullpage.html',
                }
              }
          })

    any ideas?

    Ben Novak
    @novakben_twitter
    my bad, cookies problem :worried:
    Manar Kurmanov
    @manar-mk

    Hi all, can anybody tell me what am I doing wrong?
    I'm trying to write test for this

    class Test {
      public $inject = ['$cookies']
      constructor(public $cookies){
    
      }
      getData() {
        return 1 + 2;
      }
    }
    
    export default Test;

    My test.spec

    /// <reference path="../../typings/index.d.ts" />
    
    import * as angular from 'angular';
    import 'angular-mocks';
    import Test from './test';
    
    describe('Test service', () => {
      beforeEach(() => {
        angular
          .module('Test', [])
          .service('Test', Test);
        angular.mock.module('Test');
      });
    
      it('should', angular.mock.inject((Test: Test) => {
        expect(Test.getData()).toEqual(3);
      }));
    });

    it says error starts with

    PhantomJS 2.1.1 (Windows 8 0.0.0) Test service should FAILED
            inject
            getService
            getService
            injectionArgs
            instantiate
            invoke
            enforcedReturnValue
            invoke
            getService
            injectionArgs
            invoke
            workFn
            eval code
            eval@[native code]
    ...
    Erdem
    @erdemildiz
    I opened that issue x6doooo/generator-gulp-angular2#27
    someone help me