Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel install fails #1086

Open
GuskiS opened this issue Jun 22, 2019 · 6 comments
Open

Bazel install fails #1086

GuskiS opened this issue Jun 22, 2019 · 6 comments

Comments

@GuskiS
Copy link

GuskiS commented Jun 22, 2019

Bug Report

What is the expected behavior?

Not to fail

What is the current behavior?

Fails with error:

Error during template compile of 'FlexLayoutServerModule'
  Could not resolve @angular/platform-server relative to [object Object]. in 'SERVER_PROVIDERS'
    'SERVER_PROVIDERS' contains the error at @angular/flex-layout/server/typings/index.ts(102,42).

What are the steps to reproduce?

Running ng add @angular/bazel on existing app

What is the use-case or motivation for changing an existing behavior?

Wanted to try out bazel, but got this error, no idea what is the issue

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

    "@angular/core": "8.0.2",
    "@angular/flex-layout": "8.0.0-beta.26",
    "@angular/material": "8.0.1",
    "@angular/bazel": "8.0.2",
    "typescript": "3.4.5"
@GuskiS GuskiS changed the title Bazel build fails Bazel install fails Jun 22, 2019
@CaerusKaru
Copy link
Member

cc @gregmagolan

@worxli
Copy link

worxli commented Aug 24, 2019

Are there any updates on this issue?

@BojanKogoj
Copy link

Using npm i @angular/platform-server helps solve the install crash.

@devsull
Copy link

devsull commented Oct 2, 2019

Are there any updates on this issue?

Would love to use this package along with Bazel, awaiting updates as well....

@richard457
Copy link

any concrete solution?

@kilchenmann
Copy link

@BojanKogoj's solution works for me. Just add @angular/platform-server before adding @angular/bazel to the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants