Coder Social home page Coder Social logo

Comments (6)

CasperAlant avatar CasperAlant commented on September 13, 2024 2

I ran into the same issue. In my case it was because I accidentally installed grunt-concat instead of grunt-contrib-concat. Uninstalling grunt-concat fixed the issue.

from grunt-contrib-concat.

tkellen avatar tkellen commented on September 13, 2024

Run npm cache clean and reinstall grunt and you should be good to go.

On Nov 15, 2012, at 1:37 PM, Matt Dawson [email protected] wrote:

Hi all -

I've been successfully running contrib-concat version 0.1.0 on a project.
When upgrading to 0.1.1, I'm suddenly getting the error

Warning: Cannot read property 'src' of undefined Use --force to continue.

when running my concat targets. The config I'm using for concat can be
found here: https://gist.github.com/4080345

Matt


Reply to this email directly or view it on
GitHubhttps://github.com//issues/1.

from grunt-contrib-concat.

mathiasbynens avatar mathiasbynens commented on September 13, 2024

I’m having the same issue. Running npm cache clean and reinstalling grunt (npm uninstall grunt && npm install grunt) didn’t make a difference.

from grunt-contrib-concat.

tkellen avatar tkellen commented on September 13, 2024

We just released a new version of Grunt on monday. Have you seen:
http://gruntjs.com/getting-started
?

from grunt-contrib-concat.

mathiasbynens avatar mathiasbynens commented on September 13, 2024

In my case it was caused by still using Task#file (pre-0.4.0 style) instead of iterating over Task#files: http://gruntjs.com/api/inside-tasks#inside-multi-tasks

from grunt-contrib-concat.

vergissberlin avatar vergissberlin commented on September 13, 2024

This issue should be almost alive. I have the same problem with a fresh install:

concat: {
            options: {
                separator: ';',
                stripBanners: true,
                banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
                '<%= grunt.template.today("yyyy-mm-dd") %> */',
                footer: '\n/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
                '<%= grunt.template.today("yyyy-mm-dd") %> */\n'
            },
            dev: {
                files: {
                    'appChrome/js/Vendor.min.js': [
                        'app/Vendor/firebase/firebase.js',
                        'app/Vendor/jquery/dist/jquery.js',
                        'app/Vendor/jasmine/lib/jasmine-core/jasmine.js',
                        'app/Vendor/jasmine-jquery/lib/jasmine-jquery.js',
                        'app/Vendor/jasmine-jstd-adapter/src/JasmineAdapter.js',
                        'app/Vendor/mootools-core/dist/mootools-core.min.js'
                    ],
                    'appWeb/js/Vendor.min.js': [
                        'app/Vendor/firebase/firebase.js',
                        'app/Vendor/jquery/dist/jquery.min.js',
                        'app/Vendor/jasmine/lib/jasmine-core/jasmine.js',
                        'app/Vendor/jasmine-jquery/lib/jasmine-jquery.js',
                        'app/Vendor/jasmine-jstd-adapter/src/JasmineAdapter.js',
                        'app/Vendor/pnotify/*.js'
                    ]
                }
            },
            prod: {
                files: {
                    'appChrome/js/Vendor.min.js': [
                        'app/Vendor/firebase/firebase.js',
                        'app/Vendor/jquery/dist/jquery.js',
                        'app/Vendor/mootools-core/dist/mootools-core.js'
                    ],
                    'appWeb/js/Vendor.min.js': [
                        'app/Vendor/firebase/firebase.js',
                        'app/Vendor/jquery/dist/jquery.js',
                        'app/Vendor/pnotify/*.js'
                    ]
                }
            }
        },

from grunt-contrib-concat.

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.