Skip to content
New issue

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

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

Already on GitHub? # to your account

Won't Build #30

Open
fabltd opened this issue Oct 2, 2019 · 4 comments
Open

Won't Build #30

fabltd opened this issue Oct 2, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@fabltd
Copy link

fabltd commented Oct 2, 2019

While trying to build the client in the cloud shell. The following error is reported:

ERROR in : Can't bind to 'ng-show' since it isn't a known property of 'img'. ("gStyle]="{'background-color':device.updated ? 'green' : '#424242' }">
        <img mat-list-avatar [ERROR ->]ng-show="{{device.giphyUrl}}" src="{{device.giphyUrl}}" alt="{{device.name}}">
        <i mat-list-av")
: Can't bind to 'ng-show' since it isn't a known property of 'i'. ("giphyUrl}}" alt="{{device.name}}">
        <i mat-list-avatar class="material-icons md-48 md-light" [ERROR ->]ng-show="{{!device.giphyUrl}}">{{device.icon}}</i>
        <h3 mat-line class='device-name'>{{device.")

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! client@0.0.0 build: ng build --prod && cp -r ../appengine/* ../webapp/ npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the client@0.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/jeremy/.npm/_logs/2019-10-02T08_03_31_041Z-debug.log

@Fleker
Copy link
Member

Fleker commented Oct 2, 2019

Thanks for pointing this out! I'm working on a patch right now.

@Fleker Fleker added the bug Something isn't working label Oct 2, 2019
@Fleker
Copy link
Member

Fleker commented Oct 2, 2019

You can checkout 5dd830d9ece7256644364411e2525ec3342a8f3b to get a version without the bug.

@raju102
Copy link

raju102 commented Oct 21, 2019

[ERROR ->]ng-show="{{device.giphyUrl}}"

change ng-show="{{device.giphyUrl}}"to *ngIf=device.giphyUrl it will work

@raju102
Copy link

raju102 commented Oct 21, 2019

<img mat-list-avatar *ngIf="device.giphyUrl" src="{{device.giphyUrl}}" alt="{{device.name}}">
<i mat-list-avatar class="material-icons md-48 md-light" *ngIf="!device.giphyUrl">{{device.icon}}

{{device.name}} ({{device.nicknames.join(',')}}) ({{device.id}})

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants