For my current project, I have been utilizing bower
locally to handle JavaScript dependencies with no issues. However, today I encountered a problem when attempting to initiate a new project by reusing code from previous projects. Specifically, I tried to use the former component.json
and .bowerrc
files:
// .bowerrc
{
"directory": "src/static/js/lib"
}
//component.json
{
"name": "backbone-project",
"version": "0.0.0",
"dependencies": {
"backbone": "~0.9.10",
"underscore": "~1.4.3",
"jasmine": "~1.3.1",
"jasmine-jstd-adapter": "~1.1.2",
}
}
When running bower install
, I only received a vague error message:
± % bower install
bower error
To verify that the directories exist, I executed mkdir -p src/static/js/lib
, which has successfully worked for my other projects. It's perplexing why bower isn't installing dependencies in this case. How can I acquire more detailed information about this issue?