I'm attempting to play around with durandal but am getting this error:
error:
bower requirejs extra-resolution Unnecessary resolution: requirejs#~2.2.0
bower.json
{
"name": "asp.net",
"private": true,
"dependencies": {
"underscore": "~1.8.3",
"bootstrap": "~3.3.6",
"bootswatch": "3.3.6",
"jquery": "2.2.3",
"jquery-validation": "1.15.0",
"jquery-validation-unobtrusive": "~3.2.6",
"angular": "1.5.7",
"angular-route": "~1.5.7",
"durandal": "~2.1.0",
"requirejs": "~2.2.0"
}
}
Not having luck finding out what it means or what I need to do to fix it. RequireJS has made it into my lib folder, so I'm wondering if it's just not truly an error?
Durandal already depends on requirejs, see here
{
"name": "Durandal",
"version": "2.2.0",
"dependencies": {
"jquery": "^1.9.1",
"knockout": "^3.4.0",
"requirejs": "^2.1.11",
"requirejs-text": "^2.0.12"
}
}
So either remove "requirejs": "~2.2.0" from your bower.json or you can add resolutions to your bower.json file and specify the component name & version, see here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With