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

npm start err #1608

Closed
jsjjl opened this issue Mar 27, 2018 · 10 comments
Closed

npm start err #1608

jsjjl opened this issue Mar 27, 2018 · 10 comments
Labels
Milestone

Comments

@jsjjl
Copy link

jsjjl commented Mar 27, 2018

Date: 2018-03-27T01:39:49.113Z
Hash: 5b93ea88235bddf45e42
Time: 84831ms
chunk {charts.module} charts.module.chunk.js () 6.75 MB [rendered]
chunk {common} common.chunk.js (common) 88 kB [rendered]
chunk {components.module} components.module.chunk.js () 443 kB [rendered]
chunk {editors.module} editors.module.chunk.js () 1.56 MB [rendered]
chunk {forms.module} forms.module.chunk.js () 93.8 kB [rendered]
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 420 kB [initial] [rendered]
chunk {maps.module} maps.module.chunk.js () 1.83 MB [rendered]
chunk {pages.module} pages.module.chunk.js () 711 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 () 545 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:
undefined
^
Mixins may not be defined within control directives or other mixins.
in E:\ngx-admin\node_modules@nebular\theme\components\checkbox_checkbox.
component.theme.scss (line 8, column 10)

@Aw3same
Copy link

Aw3same commented Mar 27, 2018

Same here

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 C:\Users\70255721j\Desktop\ngx-admin\node_modules\@nebular\theme\components\checkbox\_checkbox.component.theme.scss (line 8, column 10)

@omardoma
Copy link

Installing [email protected] fixes the issue

npm i [email protected]

angular/cli 1.7.3 and angular 5.2.9

@nnixaa
Copy link
Collaborator

nnixaa commented Mar 27, 2018

akveo/nebular#316

@mayur202529
Copy link

Updating to latest node and npm fixed my issue...

#1607

@lorentzyip
Copy link

I update node to 9.10.1 and also npm i [email protected]. Still got the errors.

@lorentzyip
Copy link

I think it's related to yarn. I started over with node 9.10.1 without installing [email protected], and used npm i instead of yarn. Now npm start runs normally without errors.

@jorgellose
Copy link

Installed npm i [email protected] like said omardoma and now it compiles.

@gwsampso
Copy link

Similar story here

deleted package-lock.json

sudo rm -rf node_modules
sudo npm cache clean --force
sudo npm install --unsafe-perm [email protected]
sudo npm install

works

@mindnervestech
Copy link

Which node version is needed?

@nnixaa nnixaa added this to the v2.1.1 milestone Apr 26, 2018
@nnixaa
Copy link
Collaborator

nnixaa commented Apr 26, 2018

fixed in v2.1.1

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

No branches or pull requests

9 participants