question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Subtle problem in your tutorial pages...

See original GitHub issue

Hi guys,

I’ve wasted days, simply trying to create an Angular project, then adding in Angular Materials, as I followed the bad advice on this webpage:

Setup for local development

You can read my horror story here but basically, if you create an Angular project using the following command, adding Materials is a nightmare.

git clone https://github.com/angular/quickstart AngularDemo

(I was also given this advice when watching a John Papa PluralSight video for Angular 2 beginners.)

The worrying thing is the Angular beginner’s tutorial does still recommend using this method. See the “Follow the setup instructions” link on this page.

One other issue with the Angular Materials tutorial.

On Windows 7, it refused to include any of the prebuilt-themes .css files.

Your tutorial suggests (in part 4) to include this in the index.html file:

<link href="../node_modules/@angular/material/prebuilt-themes/indigo-pink.css" rel="stylesheet">

It doesn’t work.

Even if I copy one of the .css themes into the same folder as my index.html file, my browser can’t find them.

Instead, I needed to add this line to the styles.css file:

@import "../node_modules/@angular/material/prebuilt-themes/indigo-pink.css";

This stuff is baffling…

I genuinely miss the simplicity and stability of Angular 1…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
willshowellcommented, Jun 20, 2017

@RobAltena concerning testing, see https://github.com/angular/material2/issues/4056. Maybe it will help

0reactions
angular-automatic-lock-bot[bot]commented, Sep 5, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved A subtle problem in data analysis There are some
This problem illustrates one of them. Because you have already done a lot with Excel, the instructions will not be as explicit as...
Read more >
James Molloy's Tutorial Known Bugs - OSDev Wiki
Some issues are quite subtle and only experts will recognize them. Contents. 1 Before you follow the tutorial; 2 Problem: Not using ...
Read more >
3 Subtle Content Techniques That Make Your Offer Addictive
Want to keep your audience coming back for more? Learn three ways you can employ simple, persuasive techniques to make your product or ......
Read more >
Handling common accessibility problems - MDN Web Docs
Hopefully this article has given you a good grounding in the main accessibility problems you might encounter, and how to test and overcome ......
Read more >
Part V: Planning and Learning
This part of the tutorial will teach you to build Soar programs that use subgoals to plan and learn. The type of planning...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found