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.

Problem with Alpha.9-3 installation

See original GitHub issue

I just started a new project and I did everything as is in the GETTING_STARTED.md

After I did npm install --save @angular/material

I got:

angular@0.0.0 /path
├── UNMET PEER DEPENDENCY @angular/common@2.0.0
├── UNMET PEER DEPENDENCY @angular/compiler@2.0.0
├── UNMET PEER DEPENDENCY @angular/core@2.0.0
├── @angular/material@2.0.0-alpha.9-3 
└── UNMET PEER DEPENDENCY @angular/platform-browser@2.0.0

npm WARN @angular/compiler-cli@0.6.3 requires a peer of @angular/compiler@2.0.1 but none was installed.
npm WARN @angular/compiler-cli@0.6.3 requires a peer of @angular/core@2.0.1 but none was installed.
npm WARN @angular/platform-server@2.0.1 requires a peer of @angular/core@2.0.1 but none was installed.
npm WARN @angular/platform-server@2.0.1 requires a peer of @angular/common@2.0.1 but none was installed.
npm WARN @angular/platform-server@2.0.1 requires a peer of @angular/compiler@2.0.1 but none was installed.
npm WARN @angular/platform-server@2.0.1 requires a peer of @angular/platform-browser@2.0.1 but none was installed.

And when I did ng serve I got:

ERROR in [default] /path/node_modules/@angular/material/core/gestures/MdGestureConfig.d.ts:4:39 
Cannot find name 'HammerManager'.

ERROR in [default] /path/node_modules/@angular/material/slide-toggle/slide-toggle.d.ts:68:19 
Cannot find name 'HammerInput'.

ERROR in [default] /path/node_modules/@angular/material/slider/slider.d.ts:61:19 
Cannot find name 'HammerInput'.

ERROR in [default] /path/node_modules/@angular/material/slider/slider.d.ts:63:24 
Cannot find name 'HammerInput'.

I tried to install npm install hammerjs, but it doesn’t work also.

Thanks in advance.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
slmyerscommented, Sep 30, 2016

try npm install @types/hammerjs

1reaction
vinagreticommented, Sep 30, 2016

You can see in this PR #1385 how to use themes to customize your own components.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation Problem alpha [#2755643] | Drupal.org
I tried multiple times to install using the regular UI but been unsuccessful so far...every time I get this error: An AJAX HTTP...
Read more >
How to Resolve Ribbon Error 93 on a HDP5000 - AlphaCard
Go to your devices and printers folder. Right Click on the HDP5000. Choose printing Preferences. Click on the Device Options Tab. Click the...
Read more >
Alpha Battery Back Up System (BBS):
Before installation, make sure the generator's output voltage is compatible with the Alpha FXM input voltage requirements. To make sure the system runs...
Read more >
AlphaEntry™ 4.0 - Alpha Communications
Installation & Configuration Manual. Plus QwikBUS™ Integration & MailRoom™ Software http://www.AlphaEntry.com. Alpha Communications® and Alpha Media®, Inc.
Read more >
ALPHA COMPACT - Weber Packaging Solutions
Manual for Installation, Operation and Maintenance. ALPHA ... Subdivision of the product range of the Alpha Compact . ... page 93 of 135....
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