Webpacker: Angular esm5

Created on 19 Feb 2018  Â·  7Comments  Â·  Source: rails/webpacker

Failed to compile.

./node_modules/@angular/animations/esm5/animations.js
Module build failed: Error: ENOENT: no such file or directory, open 'c:\angular\demo\node_modules\@angular\animations\esm5\animations.js'
@ ./node_modules/@angular/platform-browser/esm5/animations.js 9:0-83
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

Most helpful comment

Are you using Rails and webpacker? The project structure looks different.

cc @gauravtiwari I think this is close-able.

All 7 comments

Can you provide more information?

For example: steps to reproduce? What are you expecting? What actually happened?

Hi actually i want to build a webpage using prebuild themes from angular material the components is working but the theme css and classes is not applying

  • [x] 1.
    screenshot 25

You will probably need to include css using <%= stylesheet_pack_tag 'whatever_css_file_name_as_pack.css' %>

Hi ,
i include in my css file

On Mon, Feb 19, 2018 at 5:41 PM, Gaurav Tiwari notifications@github.com
wrote:

You will probably need to include css using <%= stylesheet_pack_tag
'whatever_css_file_name_as_pack.css' %>

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rails/webpacker/issues/1280#issuecomment-366673917,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdHEF8gwOhpwlGr2kWlm8e0qH5k1PDPUks5tWWUPgaJpZM4SKWlS
.

Hi ,
i include in my css file
screenshot 27

Is there any body to solve the issue

Are you using Rails and webpacker? The project structure looks different.

cc @gauravtiwari I think this is close-able.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ijdickinson picture ijdickinson  Â·  3Comments

johan-smits picture johan-smits  Â·  3Comments

towry picture towry  Â·  3Comments

inopinatus picture inopinatus  Â·  3Comments

ankitrg picture ankitrg  Â·  3Comments