Skip to content

build: Cannot find module '@angular/animations' #3760

@ericgundrum

Description

@ericgundrum

Bug, feature request, or proposal:

bug

What is the expected behavior?

npm install --save https://github.com/angular/material2-builds.git in a new project should build.

What is the current behavior?

npm install --save https://github.com/angular/material2-builds.git in a new project fails to build reporting error Cannot find module '@angular/animations'.

What are the steps to reproduce?

ng new tst
cd tst
npm install
npm install --save https://github.com/angular/material2-builds.git

Then add MaterialModule to app.module.ts (as in Getting started) and ng build.

Which versions of Angular, Material, OS, browsers are affected?

node v7.7.4
@angular/cli v1.0.0
https://github.com/angular/material2-builds.git#6f8753ca3464d1167b6f582ae2ac17ec563ab8f4

Is there anything else we should know?

There is no reference to @angular/animations in https://github.com/angular/material2-builds/blob/master/package.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions