D
D
dengolius2015-03-17 14:47:54
Angular
dengolius, 2015-03-17 14:47:54

Bower knocks out an error, what could be the problem?

[email protected]:~/angular/angular-phonecat# npm start
> [email protected] prestart /home/dengolius/angular/angular-phonecat
> npm install
npm WARN cannot run in wd [email protected] 0 bower install (wd=/home/dengolius/angular/angular-phonecat)
> [email protected] start /home/dengolius/angular/angular-phonecat
> http-server -a 0.0.0.0 -p 8000
Starting up http-server, serving ./ on port: 8000
Hit CTRL-C to stop the server

the server starts and works, but the angular script itself is not used, because when visiting site.com:8000/app/index.html:
Nothing here {{'yet' + '!'}}

tell me what is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Romanov, 2015-03-17
@dengolius

Well, for this you need the angular file itself to be included in the index.html of your project. What's there? And also look at the console, are there any errors there?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question