Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tim Durward
    @TimDurward
    and replace everything with
    This message was deleted
    module.exports = function (config) {
        config.set({
    
            basePath: './',
    
            files: [
                'public/assets/js/jquery-1.11.1.js',
                'public/assets/js/angular-1.2.21/angular.js',
                'public/assets/js/angular-1.2.21/angular-route.js',
                'public/assets/js/angular-1.2.21/angular-animate.js',
                'public/assets/js/angular-1.2.21/angular-mocks.js',
                'public/assets/js/angulartics-0.16.1/src/angulartics.js',
                'public/assets/js/angulartics-0.16.1/src/angulartics-piwik.js',
                'public/assets/js/*.js',
                'public/assets/js/ui-bootstrap-0.11.0.js',
                'public/modules/**/module.js',
                'public/modules/**/*.js',
                'public/config.js',
                'public/app.js',
                'tests/**/*_test.js'
            ],
    
            autoWatch: true,
    
            frameworks: ['jasmine'],
    
            browsers: ['PhantomJS'],
    
            plugins: [
                            'karma-phantomjs-launcher',
                'karma-chrome-launcher',
                'karma-firefox-launcher',
                'karma-ie-launcher',
                'karma-jasmine',
                'karma-junit-reporter'
            ],
    
            junitReporter: {
                outputFile: 'test_out/unit.xml',
                suite: 'unit'
            }
    
        });
    };
    This message was deleted
    bluenevus
    @bluenevus
    ok
    Tim Durward
    @TimDurward
    Let me know when you're finished :)
    bluenevus
    @bluenevus
    ok...
    bluenevus
    @bluenevus
    sorry its taking so long. I had a problem with unrar free opening the rar so I finally updated the sources.list to get non-free rar. it finally unzipped and its running install now
    grunt running
    wheew
    bluenevus
    @bluenevus
    grunt is failing to build the files
    Tim Durward
    @TimDurward
    You need to change karma.conf.js
    module.exports = function (config) {
        config.set({
    
            basePath: './',
    
            files: [
                'public/assets/js/jquery-1.11.1.js',
                'public/assets/js/angular-1.2.21/angular.js',
                'public/assets/js/angular-1.2.21/angular-route.js',
                'public/assets/js/angular-1.2.21/angular-animate.js',
                'public/assets/js/angular-1.2.21/angular-mocks.js',
                'public/assets/js/angulartics-0.16.1/src/angulartics.js',
                'public/assets/js/angulartics-0.16.1/src/angulartics-piwik.js',
                'public/assets/js/*.js',
                'public/assets/js/ui-bootstrap-0.11.0.js',
                'public/modules/**/module.js',
                'public/modules/**/*.js',
                'public/config.js',
                'public/app.js',
                'tests/**/*_test.js'
            ],
    
            autoWatch: true,
    
            frameworks: ['jasmine'],
    
            browsers: ['PhantomJS'],
    
            plugins: [
                            'karma-phantomjs-launcher',
                'karma-chrome-launcher',
                'karma-firefox-launcher',
                'karma-ie-launcher',
                'karma-jasmine',
                'karma-junit-reporter'
            ],
    
            junitReporter: {
                outputFile: 'test_out/unit.xml',
                suite: 'unit'
            }
    
        });
    };
    ```
    bluenevus
    @bluenevus
    I did

    Running "imagemin:dynamic" (imagemin) task
    Warning: spawn /usr/share/reepio/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng ENOENT Use --force to continue.

    Aborted due to warnings.

    this is where it fails
    I used force also
    I
    I'll past the logs with thee force option

    root@ip-10-29-27-77:/usr/share/reepio# grunt --force
    Running "ngAnnotate:angular" (ngAnnotate) task

    1 file successfully generated.

    Running "ngAnnotate:thirdparty" (ngAnnotate) task

    1 file successfully generated.

    Running "ngAnnotate:scripts" (ngAnnotate) task

    1 file successfully generated.

    Running "ngAnnotate:app" (ngAnnotate) task

    1 file successfully generated.

    Running "uglify:libs" (uglify) task

    Running "uglify:app" (uglify) task

    Running "cssmin:theme" (cssmin) task
    File dist/assets/css/theme.min.css created: 199.03 kB → 152.09 kB

    Running "copy:main" (copy) task
    Created 13 directories, copied 99 files

    Running "imagemin:dynamic" (imagemin) task
    Warning: spawn /usr/share/reepio/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng ENOENT Used --force, continuing.
    Fatal error: Cannot read property 'contents' of undefined

    Tim Durward
    @TimDurward
    did you do npm install?
    bluenevus
    @bluenevus
    yes
    Tim Durward
    @TimDurward
    and removed node_modules?
    bluenevus
    @bluenevus
    I did not remove node_modules
    Tim Durward
    @TimDurward
    Remove those
    bluenevus
    @bluenevus
    the whole folder or just contents?
    Tim Durward
    @TimDurward
    the whole folder
    bluenevus
    @bluenevus
    done
    npm install
    running
    Tim Durward
    @TimDurward
    afterwards run grunt
    bluenevus
    @bluenevus
    ok
    I'll be back in about 2 hours. need to take my kids to an event. i'll let you know the results
    Tim Durward
    @TimDurward
    Ok :)
    Have fun!
    bluenevus
    @bluenevus
    So i finished the npm install and grunt
    ran it
    it will not generate a url
    Tim Durward
    @TimDurward
    whats your link again
    to the website
    Tim Durward
    @TimDurward
    could you start it back up
    bluenevus
    @bluenevus
    started
    Tim Durward
    @TimDurward
    Ok let me check it out. You didn't edit anything else?
    bluenevus
    @bluenevus
    just did npm install, npm grunt
    nothing else
    Tim Durward
    @TimDurward
    is there any other errors you're receiving? Looks like we're getting close.
    bluenevus
    @bluenevus
    nothing
    hold up
    let me do a npm test