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

Cannot find module '@angular/flex-layout'. #457

Closed
yasir-rafiq opened this issue Oct 13, 2017 · 4 comments
Closed

Cannot find module '@angular/flex-layout'. #457

yasir-rafiq opened this issue Oct 13, 2017 · 4 comments

Comments

@yasir-rafiq
Copy link

I've installed npm in angular 4 application, import package but got this error.

Cannot find module '@angular/flex-layout'.

Please Help.

@merlosy
Copy link

merlosy commented Oct 20, 2017

Things you can do :

  • Restart text editor/IDE: may be a misconfiguration
  • Make sure you have installed The Flex Layout dependency : node_modules/@angular/flex-layout folder should be there
  • Make sure you have imported the module:
import { FlexLayoutModule } from '@angular/flex-layout';
...
@NgModule({
    imports: [
        FlexLayoutModule,
        ...
    ],
    ...
})

@dhanarajp
Copy link

@merlosy i using flex-layout module, but not rendering properly, can you help me plz.

<div fxLayout="column" fxLayout-gt-xs="row" >
                  <mat-card fxflex fxflex-gt-xs="30" fxFlex="50">
                      <h2>Card title #1</h2>
                      <mat-card-content>
                          <p>Some content</p>
                      </mat-card-content>
                  </mat-card>
                  <mat-card fxflex fxFlex="50">
                      <h2>Card title #2</h2>
                      <mat-card-content>
                          <p>Some content</p>
                      </mat-card-content>
                  </mat-card>
              </div>   

above code i using but not working what i excepted, actually above code come side by side but its taking 100% width of the screen, plz suggest proper code

@ThomasBurleson
Copy link
Contributor

General discussion and how-to questions should be posted to the community forum areas:

Closing this issue as 'invalid'. Thank you.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants