Reputation: 1682
I found a calendar,and i need to install it with bower,but first i had to install node,npm,git.I found node and git on web and i've installed them with wizards.And if i want to use bower i have to install it with:
$ npm install -g bower
But i get this error:
SyntaxError: Unexpected identifier
at Object.exports.createScript (vm.js:44:10)
at REPLServer.defaultEval (repl.js:117:23)
at bound (domain.js:254:14)
at REPLServer.runBound [as eval] (domain.js:267:12)
at REPLServer.<anonymous> (repl.js:279:12)
at REPLServer.emit (events.js:107:17)
at REPLServer.Interface._onLine (readline.js:214:10)
at REPLServer.Interface._line (readline.js:553:8)
at REPLServer.Interface._ttyWrite (readline.js:830:14)
at ReadStream.onkeypress (readline.js:109:10)
>
And if i try to install package directly,i've used:
$ bower install fullcalendar
But it gives me the same error..
I've took those commands from bower and calendar tutorials,but i'm new in those things and i dont really know what's wrong or what i have to do.
Upvotes: 1
Views: 808
Reputation: 697
If you're on Windows you'll have to install mysgit with the "Run Git from the Windows Command Prompt" option as described here in the Bower Package description.
Upvotes: 1