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.

Bazel install fails

See original GitHub issue

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"

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:23
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
BojanKogojcommented, Sep 17, 2019

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

2reactions
worxlicommented, Aug 24, 2019

Are there any updates on this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Bazel on Windows
This page describes the requirements and steps to install Bazel on Windows. It also includes troubleshooting and other ways to install Bazel, such...
Read more >
Fresh Bazel install fails on Windows due to Cyrillic username
Fresh Bazel install fails on Windows due to Cyrillic username #11649 ... I tried official Bazel installation instructions on Windows.
Read more >
Bazel build issues npm install failed - Google Groups
Yesterday I successfully build onos 2.7.0 , but when I try to implement the same procedures today on another machine I got stuck...
Read more >
fresh install of bazel fails to build grpc 1.48.0? - Stack Overflow
As mentioned here, a temporary workaround is changing the cc toolchain from local to local_linux in (your home)/.cache/bazel/bazel(your ...
Read more >
Troubleshooting | mediapipe - Google
usually indicates that Bazel fails to find the local Python binary. ... Please run pip install or pip3 install depending on your Python...
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