scottksmith95 / beerlocker

Source code for Beer Locker tutorials
http://scottksmith.com/blog/2014/05/02/building-restful-apis-with-node/
426 stars 263 forks source link

Hi, I have a problem with this project which does not work. please help... #5

Closed Harris-Aaron closed 8 years ago

Harris-Aaron commented 8 years ago
 ⋊> ~/D/OAuth2NodeServer node -v                                                                                                                             
 v6.9.1   
 ⋊> ~/D/OAuth2NodeServer npm -v         
 3.10.8 

macOS Sierra
10.12

Failed to load c++ bson extension, using pure JS version

  ⋊> ~/D/O/b/beerlocker-6.1 on master ⨯ git clone https://github.com/scottksmitcd  

  ⋊> ~/D/OAuth2NodeServer cd beerlocker/    

  ⋊> ~/D/O/beerlocker on master ⨯ cd beerlocker-6.1/   

  ⋊> ~/D/O/b/beerlocker-6.1 on master ⨯ npm update 

  ⋊> ~/D/O/b/beerlocker-6.1 on master ⨯ node-dev server.js    
{ Error: Cannot find module '../build/Release/bson'     .......
....      
js-bson: Failed to load c++ bson extension, using pure JS version                                                                                                    

##############################################################                                                                                                       
#                                                                                                                                                                    
#   !!! MONGOOSE WARNING !!!                                                                                                                                         
#                                                                                                                                                                    
#   This is an UNSTABLE release of Mongoose.                                                                                                                         
#   Unstable releases are available for preview/testing only.                                                                                                        
#   DO NOT run this in production.                                                                                                                                   
#                                                                                                                                                                    
##############################################################                                                                                                       
 ...                                                                                                                                                                    
TypeError: Cannot read property 'length' of undefined