I'm just learning mean.js
. Just did the installation steps in http://meanjs.org .
But when loaded in browser, console is showing error Uncaught ReferenceError: angular is not defined
. do we need to include angularjs
separately ?
Asked
Active
Viewed 1,186 times
1

syymza
- 679
- 1
- 8
- 23

I'm nidhin
- 2,592
- 6
- 36
- 62
-
Did you execute both `npm install` and `bower install`? – David Losert Mar 19 '15 at 07:08
-
have you include angular in your html? – Shailesh Shekhawat Mar 19 '15 at 07:27
-
@Charminbear I executed both. But the bower install is returning error 'fatal: unable to connect to github.com:' . So that may be the issue ? – I'm nidhin Mar 19 '15 at 07:40
-
@shaileshshekhawat No..do we need to include angular separately ??? – I'm nidhin Mar 19 '15 at 07:41
-
1May be firewall blocking your access, check this [link](http://www.drawbackz.com/stack/242418/howto-fix-bower-ecmderr.html) – Hareesh Mar 19 '15 at 08:03
-
Edit with a copy of your bower.json please, maybe we can check why you can't connect to the github repository. I'm with @Hareesh, maybe a firewall is the problem – Kangcor Mar 19 '15 at 08:51
-
since you are using meanjs so you don't have to include in html – Shailesh Shekhawat Mar 19 '15 at 09:55
2 Answers
0
No, you dont need to add angularjs one more time because angularjs is added as default in meanjs project.
You may try:
npm install
This command will install node packages and bower packages.
And then run project again:
npm start
Check running meanjs at http://localhost:3000
Hopefully you have a nice time with meanjs.

WatersLake
- 1,252
- 2
- 13
- 21