Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Professional AngularJS
|
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 July 25th, 2015, 10:33 AM
jbf jbf is offline
Registered User
 
Join Date: Jul 2015
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default StockDog Folder (Where is "bower_components" located?)

Book: Professional AngularJS
Publish date: 2015
Chapter: Building a Sample AngularJS Application
Section: Exploring the Application
Page: 7 (PDF format)
------------

The book shows the following directory for the StockDog folder:

http://s16.postimg.org/kw0h6q39h/directory_book.png

But I see something different. In particular, the folder bower_components is absent from my StockDog folder. Here's what I see:

http://s22.postimg.org/vq4rr4v1t/directory_me.png



QUESTIONS:
  1. Why is the folder bower_components absent? (The book shows its presence at the top level in the StockDog folder.)
  2. What am I missing?

***** UPDATE *****

I found that yo consistently hangs for a period of time at the same point, which is:

Code:
app/index.html modified
The are NO instructions to press return. However, pressing return continues.

After yo completes, the bower_components is present in the StockDog folder.

But why does yo hang with NO instructions? See my post #2.

Last edited by jbf; July 25th, 2015 at 06:32 PM..
 
Old July 25th, 2015, 06:15 PM
jbf jbf is offline
Registered User
 
Join Date: Jul 2015
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default yo seems to hang at "appindex.html modified"

I tried the following multiple times:
  1. Create a new StockDog folder (ie. StockDog2, StockDog3 and so on).
  2. Open Terminal, change working directory new StockDog folder.
  3. run
    Code:
    yo angular newStockDogFolderName
When yo is working, the rectangular cursor has a rotating line inside it, suggesting progress but not yet done.

However --- always at the same point --- everything seems to come to a halt. This occurs at:

Code:
app/index.html modified
Here's snap shot of Terminal when yo hangs at app/index.html modified:

http://s1.postimg.org/d3503tl0v/hang_start.png

The rotating line is absent from the cursor. No line requesting import appears. At first glance yo appears to have completed. But the cursor prefix is missing.

Also note there are NO instructions to press the enter key.

I found that as soon as I press the enter key, progress resumes. (Progress always resumes after several minutes pause.)

After pressing return, a question appears:

http://s15.postimg.org/xgd59sqjv/han...lding_done.png

Why doesn't that question appear when yo hangs? That's confusing, because there are no instructions to press return when yo hangs!


QUESTIONS:
  1. Why is yo hanging at app/index.html modified?
  2. Why are NO instructions presented to press return? (This makes working with yo confusing.)

Last edited by jbf; July 25th, 2015 at 06:35 PM..
 
Old July 28th, 2015, 08:04 PM
Authorized User
Points: 130, Level: 2
Points: 130, Level: 2 Points: 130, Level: 2 Points: 130, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2015
Posts: 18
Thanks: 0
Thanked 2 Times in 2 Posts
Default

It could be your computer that is slow or there maybe something odd about the configuration of node.js. I had no freeze but yeoman took a while(~4-5 minutes) even on my fast computer.

Have you run "bower install" command(in working folder) from terminal yet? That process creates the bower components folder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
Please help me "can’t open the page because the server where this page is located is" m_alsobaai ASP.NET 3.5 Professionals 1 April 10th, 2010 06:32 AM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
App_Code folder in "Web Application Project" member4953 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 March 24th, 2009 05:03 PM





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