I'm currently working with the bower.json file below:
{
"name": "angularSeedApp",
"version": "0.0.0",
"dependencies": {
"angular-material": "~1.1.0",
"angular-animate": "1.5.9",
"angular-aria": "1.5.9",
"angular-material-icons": "x",
"material-design-icons": "x",
"angular-cookies": "~1.5.0",
"angular-sanitize": "~1.5.0",
"angular-resource": "~1.4.0",
"angular-ui-router": "~0.3.1",
"moment": "^2.17.0",
"angular": "~1.5.0",
"angular-filter": "x",
"fontawesome": "~4.3.0",
"hello": "^1.14.0",
"cloudinary_ng": "^1.0.0",
"moment-timezone": "^0.5.10",
"angular-timezone-selector": "^1.6.0",
"moment-range": "^2.1.0",
"underscore": "^1.8.3"
},
"devDependencies": {
"angular-mocks": "~1.5.0"
},
"resolutions": {
"angular": "~1.5.0",
"lodash": "4.0.1",
"moment": ">= 1",
"moment-timezone": "^0.5.10"
}
}
The issue I am facing is as follows: A colleague of mine has been working on this project for a while now, and all the files are being served from the src folder instead of the dist folder. After building the project, the libraries are no longer detected, resulting in the typical Angular error "module not found".
I suspect that the problem lies with the bower_components directory: When I initially pulled the project, everything worked fine because the bower_components were not updated. However, after updating them, these errors started to appear. Therefore, I believe it is related to the bower dependencies.
We are utilizing this base setup: https://github.com/PauloLuan/angular-gulp-seed
Can someone please assist me in identifying what might be wrong with this bower.json file? Additionally, any tips on how to troubleshoot or debug these types of bugs would be greatly appreciated.