Skip to content

Wiredep not seeing lodash in bower.json #275

@vijayb

Description

@vijayb

Hey guys, thanks for the plugin. I'm working on a project where wiredep is used to inject bower_components into a vendor.js file. However lodash isn't correctly being included. I'm not a gulp expert but I tracked down the line that's failing in the gulpfile.js to this:

var vendorFiles = wiredep().js;

vendorFiles is then missing lodash. I'm not sure why it's not working and would super appreciate any advice. Here's my bower.json:

{
"name": "PeachDelivery",
"author": "Peach,
"private": "true",
"devDependencies": {
"platform.js": "platform#^1.3.3"
},
"dependencies": {
"jquery": "^3.1.1",
"angular": "^1.5.3",
"angular-resource": "1.5.8",
"ionic": "^1.3.2",
"moment": "^2.14.1",
"moment-timezone": "^0.5.5",
"angular-ui-router": "^0.2.13",
"jquery.cookie": "^1.4.1",
"Ionicons": "ionicons#^2.0.1",
"material-design-icons": "^3.0.1",
"pubnub": "^4.2.5",
"pubnub-angular": "^4.0.2",
"lodash-4.17.4": "lodash#^4.17.4"
},
"resolutions": {
"angular": "1.5.3"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions