[nodejs] mongoose update problem

2014-12-29 Thread xiao qu
First I created the mongoose schema: var cardSchema = mongoose.Schema({ **userId: String, imageUrl: String**}) Then I defined model: var Card = mongoose.model('Card', cardSchema) Then I created a new card: var newCard = new Card({ **userId: bablaba**}); Then the new card is saved

[nodejs] console.log not working

2014-12-29 Thread noderiety
Hello, I just finished installing nodejs on ubuntu. I wanted to do a simple Hello World to get started so I executed the following at the command prompt: node console.log('hello world') However, this returns the following error: -bash: syntax error near unexpected token '(' Any idea

[nodejs] js-git

2014-12-29 Thread Alexander Praetorius
i'm following tim and the js-git project already for a long time... https://github.com/creationix/js-git in feature goals here: https://www.bountysource.com/teams/js-git/fundraiser it says: - Clone remote repositories to local storage over http, git, or ssh. - Make and commit local changes

Re: [nodejs] Re: Node.js V0.12 release

2014-12-29 Thread Issac Roth
FWIW: https://twitter.com/nodejs/status/545349270241435648 On Saturday, November 22, 2014 at 6:59 AM, Imre Fazekas wrote: Christmas? I certainly hope not! :) Was waiting for the meeting minutes of the 17th of this month but nothing so far... Could anyone share some news or even better

[nodejs] npm WARN optional dep failed, continuing fsevents@0.3.1

2014-12-29 Thread Mohan Radhakrishnan
Hello, Cross-posted from Karma. This does not stop karma from working on my Win 7 32-bit. Wondering what it means here because on my Mac 'node-gyp' actually built after I updated my XCode for Mavericks. I mean that on the Mac I saw the same error initially but after my XCode update

Re: [nodejs] console.log not working

2014-12-29 Thread Aria Stewart
On Dec 29, 2014, at 2:12 AM, noderiety andrew.d.ciccare...@gmail.com wrote: Hello, I just finished installing nodejs on ubuntu. I wanted to do a simple Hello World to get started so I executed the following at the command prompt: node console.log('hello world') However, this

Re: [nodejs] console.log not working

2014-12-29 Thread Peter Petrov
An alternative solution: echo console.log('hello world') | node On Monday, December 29, 2014 5:11:01 PM UTC+2, Aria Stewart wrote: On Dec 29, 2014, at 2:12 AM, noderiety andrew.d@gmail.com javascript: wrote: Hello, I just finished installing nodejs on ubuntu. I wanted to do a

Re: [nodejs] npm WARN optional dep failed, continuing fsevents@0.3.1

2014-12-29 Thread Ryan Schmidt
On Dec 29, 2014, at 7:38 AM, Mohan Radhakrishnan wrote: This does not stop karma from working on my Win 7 32-bit. Wondering what it means here because on my Mac 'node-gyp' actually built after I updated my XCode for Mavericks. I mean that on the Mac I saw the same error initially but

[nodejs] Re: js-git

2014-12-29 Thread Tim Caswell
On Monday, December 29, 2014 9:02:19 AM UTC-6, serapath wrote: i'm following tim and the js-git project already for a long time... https://github.com/creationix/js-git in feature goals here: https://www.bountysource.com/teams/js-git/fundraiser it says: - Clone remote repositories to