last day (15 days later) » 

5:15 AM
0
Q: ERROR in Cannot read property 'length' of undefined ERROR in multi

KrishI have downloaded angule project from github and when i run my project i am getting exception ERROR in Cannot read property 'length' of undefined ERROR in multi ./node_modules/bootstrap/scss/bootstrap.scss ./node_modules/font-awesome-scss/scss/font-awesome.scss ./node_modules/@angular/material/pr...

 
Can you please post angular.json code ? I think there's some path issue in that.
 
please check i updated angular.json code
 
remove ../ from ../node_modules in styles section. Should start from node_modules directly.
 
@user3145373 I tried that way also but same error I am facing
 
make sure your node_modules section will have all the required files.
 
5:15 AM
I will send my github link if want
I have node_modules in my project
 
send github url.
 
why app.module.ts is in root directory ?
does you node_modules have /bootstrap/scss/bootstrap.scss file ? can you please check file ?
 
yes having i sent link please chekc once
 
in that node_modules is not available.
You need to check it from your end.
or you can send me screenshot of node_modules
have you checked ?
 
5:22 AM
yes
its available on
/bootstrap/scss/bootstrap.scss
please check one more
time
 
I think it should be /node_modules/bootstrap/dist/css/bootstrap.css
it's strange bootstrap structure.
 
did you check
?
bootstrap/scss/bootstrap.scss its available?
 
Here's my node_modules structure.
 
k
 
have you different structure ?
 
5:29 AM
long time back it was created at that time structure may like that
any way it was run at that time why not now my question
please run that project your end
then you can able to help me i thiunk
are you there?
 
5:45 AM
yes
give me few minutes.
 
ok sure
 
Can you tell me where's scss/style.scss ?
 
under src folder its available
is it not there?
 
you have prefixed it with scss which is not available
you named file style.scss
in application it is named as styles.scss
you've provided environment which is not available at all
 
6:01 AM
k
can we solve this project?
to right way?
i mean can we run this project with adding missing dependencies?
 
how can we ?
can you exaplain
 
give me 2 minutes, fixing it
pushing changes.
 
ok
sure sure
 
fixed.
can you please provide permission to my user ?
posted answer on stack overflow.
 
6:14 AM
yes please post
please explain steps one by one
 
explained
please accept the answer if satisfied :)
 
sure
 
good day and good luck for future...
 
thanks please give me github link you solved
 
I didn't pushed code to github as I do not have access to your repository.
mentioned 2 steps will easily fix the breaking code.
there's no change required other than that.
 
6:20 AM
ok let me try
 
sure.
created pull request to your repo
just merge/accept it
my code will be there in your repo
and just try to run it
 
"styles": [
"../node_modules/bootstrap/scss/bootstrap.scss",
"../node_modules/font-awesome-scss/scss/font-awesome.scss",
"../node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css",
"style.scss"
],
 
have you checked ?
it should be styles.scss
not style
do not make manual change, just merge pull request from github and run the latest code
 
6:37 AM
working
can i ask suggestions
if i face any issues?
in any other projects?
i am learning angular
 
sure.
you can contact me over skype: kurbhatt
from india ?
 
yeah
your?
 
Gujarat
Ahmedabad
 
oh ok
i ping you in skype
please reply
once
 
sure
done
lets leave chat room here for now.. have to do work now :)
 

last day (15 days later) »