Wrox Programmer Forums
|
BOOK: Professional AngularJS
This is the forum to discuss the Wrox book Professional AngularJS by Valeri Karpov, Diego Netto; ISBN: 978-1-118-83207-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional AngularJS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2015, 11:42 PM
Registered User
 
Join Date: Sep 2015
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default grunt serve error?

Hello,

I'm trying to setup the StockDog project and everything seems to go fine until I attempt to run
Code:
grunt serve
command, at which point it ends up like this instead of launching the local development server inside my browser.

Does anybody know what may be going wrong? Does it have something to do with the 'Cannot find where you keep your Bower packages' error toward the bottom? I'm also concerned about the 'No versions found in git://..." error.

Thank you
 
Old September 14th, 2015, 08:54 PM
Registered User
 
Join Date: Sep 2015
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default grunt serve error - exact same issue

I experienced the exact same error.

Running "wiredep:app" (wiredep) task
Cannot find where you keep your Bower packages.

The book mentions that the StockDog folder should have a folder named bower_components after running yo angular StockDog. I do not.

Can anyone help us?

Last edited by granttw; September 14th, 2015 at 08:59 PM.. Reason: Additional info
 
Old September 14th, 2015, 09:34 PM
Registered User
 
Join Date: Sep 2015
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default grunt serve error - resolved issue

I have resolved my issue. Hopefully this helps you Roundy.

Even though I had previously installed git, my instincts told me that this had something to do with git. So I reinstalled git and started over again. This time I did end up with a folder named bower_components and the grunt serve worked like a charm.
The Following User Says Thank You to granttw For This Useful Post:
Roundy (September 23rd, 2015)
 
Old September 23rd, 2015, 12:12 AM
Registered User
 
Join Date: Sep 2015
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks! I realized that I was downloading git for maverick but I have snow leopard so I tried an older version and that seems to have done the trick
 
Old January 16th, 2016, 11:25 AM
Registered User
 
Join Date: Jan 2016
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried reinstalling GIT for windows from the url mentioned in the book and tried re-installing it. Still didn't get "bower_components" folder, and
Code:
grunt serve
still throws the same error.
Realized, i need to run
Code:
bower install
and
Code:
npm install
to get the folders, "node_modules", "bower_components". On running bower install i got the following error, "bower ENOGIT git is not installed or not in the PATH". tried re-installing GIT again, restarted cmd prompt, ran bower install and npm install.. Working now!

Last edited by singsuyash; January 16th, 2016 at 12:00 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling Oracle Stored Procedure using Linked Serve Twinklestar SQL Server 2000 4 September 23rd, 2009 04:02 AM
Not able to run exec("pdf2html.exe") on live serve Snowby Pro PHP 0 April 2nd, 2008 08:04 AM
Linking excel file to display messages from serve Kaustav Excel VBA 0 June 2nd, 2006 07:14 AM
error 404 could not open a connection to sql serve sureshkumar1981 C# 2005 0 May 19th, 2006 11:48 PM
How to Pass a UDT from ATL to VB via COM-EXE-SERVE polderudo C++ Programming 3 April 21st, 2005 07:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.