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

not able to run application using ng serve #1623

Closed
afsalcodehack opened this issue Apr 5, 2018 · 2 comments
Closed

not able to run application using ng serve #1623

afsalcodehack opened this issue Apr 5, 2018 · 2 comments

Comments

@afsalcodehack
Copy link

ERROR in ./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--8-3!./src/app/@theme/styles/styles.scss
Module build failed:
undefined
^
Mixins may not be defined within control directives or other mixins.
in D:\Excercise\ngx-admin-master\node_modules@nebular\theme\components\checkbox_checkbox.component.theme.scss (line 8, column 10)

@afsalcodehack afsalcodehack changed the title not able run application using ng serve not able to run application using ng serve Apr 5, 2018
@juusechec
Copy link

juusechec commented Apr 5, 2018

+1

....
 69% building modules 1531/1532 modules 1 active ...app/pages/charts/d3/d3.compoDate: 2018-04-05T16:38:02.354Z                  
Hash: d189fbc8c93ebbce5b1f
Time: 33071ms
chunk {charts.module} charts.module.chunk.js () 6.74 MB  [rendered]
chunk {common} common.chunk.js (common) 88 kB  [rendered]
chunk {components.module} components.module.chunk.js () 441 kB  [rendered]
chunk {editors.module} editors.module.chunk.js () 1.56 MB  [rendered]
chunk {forms.module} forms.module.chunk.js () 90.3 kB  [rendered]
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 412 kB [initial] [rendered]
chunk {maps.module} maps.module.chunk.js () 1.83 MB  [rendered]
chunk {pages.module} pages.module.chunk.js () 700 kB  [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 1.65 MB [initial] [rendered]
chunk {scripts} scripts.bundle.js (scripts) 1.37 MB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 1.01 MB [initial] [rendered]
chunk {tables.module} tables.module.chunk.js () 2.53 MB  [rendered]
chunk {ui-features.module} ui-features.module.chunk.js () 530 kB  [rendered]
chunk {vendor} vendor.bundle.js (vendor) 12.6 MB [initial] [rendered]

ERROR in ./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--8-3!./src/app/@theme/styles/styles.scss
Module build failed: 
  @mixin hover-border($color) {
        ^
      Mixins may not be defined within control directives or other mixins.
      in /home/jorge/workspace/ngx-admin/node_modules/@nebular/theme/components/checkbox/_checkbox.component.theme.scss (line 8, column 10)

webpack: Failed to compile.

@nnixaa
Copy link
Collaborator

nnixaa commented Apr 5, 2018

Hi Guys, here's a workaround #1608 (comment). The issue only appears with the latest angular-cli which updates node-sass, which has a breaking change. Closing as duplicate.

@nnixaa nnixaa closed this as completed Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants