Open ni-ka opened 10 years ago
Also when I execute grunt build or grunt serve I get
localhost:tasks nils$ grunt serve
Running "serve" task
Warning: Task "bowerInstall" not found. Use --force to continue.
Aborted due to warnings.
Are you executing grunt serve from the frontend directory
cd frontend
grunt serve
grunt build does require --force because it overwrites ../public which is not a child directory of frontend. Maybe there is a better way to do that.
As far as the "TypeError: Cannot read property 'main' of undefined" what happens when you run bower install & npm install
manually? maybe a version thing?
Thanks for the quick reply!
Yes, executing from frontent directory. Could it be due to grunt-bower-install beeing deprecated? It is not installed, here are the modules installed:
grunt grunt-autoprefixer grunt-concurrent grunt-connect-proxy grunt-contrib-clean grunt-contrib-coffee grunt-contrib-compass grunt-contrib-concat grunt-contrib-connect grunt-contrib-copy grunt-contrib-cssmin grunt-contrib-htmlmin grunt-contrib-imagemin grunt-contrib-jade grunt-contrib-jshint grunt-contrib-uglify grunt-contrib-watch grunt-filerev grunt-google-cdn grunt-mkdir grunt-newer grunt-ngmin grunt-svgmin grunt-usemin grunt-wiredep
When I try to install it it tells me that wiredep should be used instead
Hmm, just tested locally and works fine for me.
What version of grunt are you using? I have
$ grunt --version
grunt-cli v0.1.13
grunt v0.4.5
On Wed, Jul 9, 2014 at 10:47 AM, ni-ka notifications@github.com wrote:
Yes, executing from frontent directory. Could it be due to grunt-bower-install beeing deprecated? It is not installed, here are the modules installed:
grunt grunt-autoprefixer grunt-concurrent grunt-connect-proxy grunt-contrib-clean grunt-contrib-coffee grunt-contrib-compass grunt-contrib-concat grunt-contrib-connect grunt-contrib-copy grunt-contrib-cssmin grunt-contrib-htmlmin grunt-contrib-imagemin grunt-contrib-jade grunt-contrib-jshint grunt-contrib-uglify grunt-contrib-watch grunt-filerev grunt-google-cdn grunt-mkdir grunt-newer grunt-ngmin grunt-svgmin grunt-usemin grunt-wiredep
When I try to install it it tells me that wiredep should be used instead
— Reply to this email directly or view it on GitHub https://github.com/joshnuss/angular-rails-api/issues/1#issuecomment-48481556 .
Joshua Nussbaum
I have the same grunt --version grunt-cli v0.1.13 grunt v0.4.5
I reinstalled node / yo / generator-angular and after a couple of runs (!!!) the javascript error is gone. The generator process completes correctly now.
However I still have the problem that grunt-bower-install is not installed, and thus still getting Warning: Task "bower-install" not found. Used --force, continuing (--force does not help either).
Is there a frontend/node_modules/grunt-bower-install directory?
What's your bower version? mine is 1.2.7
Ok, first difference: I'm using 1.3.7
Updated to bower 1.3.7 and it works fine.
Check this: https://github.com/mgcrea/generator-angular-bootstrap/issues/2
Might need to just update the Gruntfile.js
Haven't digged deaper but I am getting this error: