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 test ERROR in multi, related to font awesome scss #1969

Open
1 of 3 tasks
dizco opened this issue Dec 31, 2018 · 2 comments · May be fixed by #1970
Open
1 of 3 tasks

npm test ERROR in multi, related to font awesome scss #1969

dizco opened this issue Dec 31, 2018 · 2 comments · May be fixed by #1970

Comments

@dizco
Copy link
Contributor

dizco commented Dec 31, 2018

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request
  • question about the decisions made in the repository

Issue description

Current behavior:

Executing npm run test produces an error that stops tests from being run.

ERROR in multi ./node_modules/bootstrap/dist/css/bootstrap.css ./node_modules/typeface-exo/index.css ./node_modules/roboto-fontface/css/roboto/roboto-fontface.css ./node_modules/ionicons/scss/ionicons.scss ./node_modules/font-awesome/scss/font-awesome.scss ./node_modules/socicon/css/socicon.css ./node_modules/nebular-icons/scss/nebular-icons.scss ./node_modules/pace-js/templates/pace-theme-flash.tmpl.css ./src/app/@theme/styles/styles.scss
Module not found: Error: Can't resolve 'C:\Users\Gabriel\Documents\Github\dizco\ngx-admin\node_modules\font-awesome\scss\font-awesome.scss' in 'C:\Users\Gabriel\Documents\Github\dizco\ngx-admin'
 @ multi ./node_modules/bootstrap/dist/css/bootstrap.css ./node_modules/typeface-exo/index.css ./node_modules/roboto-fontface/css/roboto/roboto-fontface.css ./node_modules/ionicons/scss/ionicons.scss ./node_modules/font-awesome/scss/font-awesome.scss ./node_modules/socicon/css/socicon.css ./node_modules/nebular-icons/scss/nebular-icons.scss ./node_modules/pace-js/templates/pace-theme-flash.tmpl.css ./src/app/@theme/styles/styles.scss styles[4]

Expected behavior:

Tests should be executed normally, without errors.

Steps to reproduce:

  1. Clone ngx-admin
  2. npm install
  3. npm test

Related code:

This has likely been introduced by #1798

Other information:

npm, node, OS, Browser
npm 6.4.1

Angular, Nebular
ngx-admin 3.0.0

@cmutagorama
Copy link

Thanks @dizco - This just saved me hours of debugging!

@safik222
Copy link

safik222 commented Apr 22, 2021

... I got the same error because I renamed the project folder.

Solution:
1) Check your angular.json file
2) => look for "styles": [ ... and check all the paths inside this array

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

Successfully merging a pull request may close this issue.

3 participants