Closed matt328 closed 8 years ago
It seems like 'bower install' is putting bower_components under 'app' in the root of the project. This looks a little suspicious because of the 'Can't find variable: angular' since none of the bower components are present in my 'dist' folder.
Edit: It looks like the .bowerrc file was removed sometime after the tag v1.8.0 was created. Replacing it fixed my issue.
Looks like it was deleted in this commit: 347d912441d166464689831937c0b14880256432. The message doesn't mention anything about it so maybe it was a mistake?
@matt328 I did not see any need for .bowerrc since I thought "directory": "bower_components"
was the default for bower. But, it looks like it is necessary. I am able to build and run without it and the CI Travis build is passing without it as well. So, I don't know why it is breaking on your machine. Do you have more information about this?
I did some more research, and it turns out I had a rogue .bowerrc in a parent directory containing "directory": "app/bower_components"
.
Sorry about that, I didn't realize until researching it just now that bower recursively search parent directories up to and including /
.
Good to hear things are working for you now.
I just cloned master, did npm install, followed by 'gulp' and there seem to be a few problems. I am using npm v3.7.3 and gulp v3.9.1.