I'm nidhin
I'm nidhin

Reputation: 2662

meanjs - angular is not defined

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 ?

Upvotes: 1

Views: 1188

Answers (2)

WatersLake
WatersLake

Reputation: 1282

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.

Upvotes: 0

Sumit Tiwari
Sumit Tiwari

Reputation: 139

Use this command

bower install --allow-root

Upvotes: 2

Related Questions