hoodiehq / hoodie

:dog: The Offline First JavaScript Backend
Apache License 2.0
4.4k stars 462 forks source link

Error Installing Camp Release On Windows Vista 32 #488

Closed GRUBMEISTER closed 8 years ago

GRUBMEISTER commented 8 years ago
Monty@MONTY-PC C:\Users\Monty\Desktop\Hoodie Camp                                                                 
$ npm install --save hoodie                                                                                       

> leveldown@1.4.5 install C:\Users\Monty\node_modules\leveldown                                                   
> prebuild --install                                                                                              

prebuild WARN install No prebuilt binaries found (target=v4.4.0 arch=ia32 platfo                                  
rm=win32)                                                                                                         
Building the projects in this solution one at a time. To enable parallel build,                                   
please add the "/m" switch.                                                                                       
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                   
 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua                                   
l Studio 2005 or 3) add the location of the component to the system path if it                                    
is installed elsewhere.  [C:\Users\Monty\node_modules\leveldown\build\binding.s                                   
ln]                                                                                                               
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".                                   
 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua                                   
l Studio 2005 or 3) add the location of the component to the system path if it                                    
is installed elsewhere.  [C:\Users\Monty\node_modules\leveldown\build\binding.s                                   
ln]                                                                                                               
prebuild ERR! build error                                                                                         
prebuild ERR! stack Error: `C:\Program Files\MSBuild\14.0\bin\msbuild.exe` faile                                  
d with exit code: 1                                                                                               
prebuild ERR! stack     at ChildProcess.onExit (C:\Users\Monty\node_modules\node                                  
-gyp\lib\build.js:276:23)                                                                                         
prebuild ERR! stack     at emitTwo (events.js:87:13)                                                              
prebuild ERR! stack     at ChildProcess.emit (events.js:172:7)                                                    
prebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_p                                  
rocess.js:200:12)                                                                                                 
prebuild ERR! not ok                                                                                              
prebuild ERR! build Error: `C:\Program Files\MSBuild\14.0\bin\msbuild.exe` faile                                  
d with exit code: 1                                                                                               
prebuild ERR! build     at ChildProcess.onExit (C:\Users\Monty\node_modules\node                                  
-gyp\lib\build.js:276:23)                                                                                         
prebuild ERR! build     at emitTwo (events.js:87:13)                                                              
prebuild ERR! build     at ChildProcess.emit (events.js:172:7)                                                    
prebuild ERR! build     at Process.ChildProcess._handle.onexit (internal/child_p                                  
rocess.js:200:12)                                                                                                 
npm WARN install:leveldown@1.4.5 leveldown@1.4.5 install: `prebuild --install`                                    
npm WARN install:leveldown@1.4.5 Exit status 2                                                                    
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Monty\packa                                  
ge.json'                                                                                                          
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Monty\package.                                  
json'                                                                                                             
npm WARN Monty No description                                                                                     
npm WARN Monty No repository field.                                                                               
npm WARN Monty No README data                                                                                     
npm WARN Monty No license field.                                                           
GRUBMEISTER commented 8 years ago

Updated npm, same error I think>

$ npm install --save hoodie                                                                                                                                                                                                                   

> leveldown@1.4.5 install C:\Users\Monty\node_modules\leveldown                                                                                                                                                                               
> prebuild --install                                                                                                                                                                                                                          

prebuild WARN install No prebuilt binaries found (target=v4.4.0 arch=ia32 platform=win32)                                                                                                                                                     
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.                                                                                                                                   
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
 installed elsewhere.  [C:\Users\Monty\node_modules\leveldown\build\binding.sln]                                                                                                                                                              
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
 installed elsewhere.  [C:\Users\Monty\node_modules\leveldown\build\binding.sln]                                                                                                                                                              
prebuild ERR! build error                                                                                                                                                                                                                     
prebuild ERR! stack Error: `C:\Program Files\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1                                                                                                                                           
prebuild ERR! stack     at ChildProcess.onExit (C:\Users\Monty\node_modules\node-gyp\lib\build.js:276:23)                                                                                                                                     
prebuild ERR! stack     at emitTwo (events.js:87:13)                                                                                                                                                                                          
prebuild ERR! stack     at ChildProcess.emit (events.js:172:7)                                                                                                                                                                                
prebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)                                                                                                                                             
prebuild ERR! not ok                                                                                                                                                                                                                          
prebuild ERR! build Error: `C:\Program Files\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1                                                                                                                                           
prebuild ERR! build     at ChildProcess.onExit (C:\Users\Monty\node_modules\node-gyp\lib\build.js:276:23)                                                                                                                                     
prebuild ERR! build     at emitTwo (events.js:87:13)                                                                                                                                                                                          
prebuild ERR! build     at ChildProcess.emit (events.js:172:7)                                                                                                                                                                                
prebuild ERR! build     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)                                                                                                                                             
npm WARN install:leveldown@1.4.5 leveldown@1.4.5 install: `prebuild --install`                                                                                                                                                                
npm WARN install:leveldown@1.4.5 Exit status 2                                                                                                                                                                                                
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Monty\package.json'                                                                                                                                                      
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Monty\package.json'                                                                                                                                                         
npm WARN Monty No description                                                                                                                                                                                                                 
npm WARN Monty No repository field.                                                                                                                                                                                                           
npm WARN Monty No README data                                                                                                                                                                                                                 
npm WARN Monty No license field.                                                                                                                                                                ```
gr2m commented 8 years ago

Can you please do node -v and npm -v and tell us the versions of both?

gr2m commented 8 years ago

Oh and can you see if you find anything helpful here? https://github.com/nodejs/node-gyp Maybe this part might be helpful?

:bulb: [Windows Vista / 7 only] requires .NET Framework 4.5.1

GRUBMEISTER commented 8 years ago

$ node -v v4.4.0

$ npm -v 3.9.0

GRUBMEISTER commented 8 years ago

I have .net framework 4.52 not the SDK and I installed the framework 2.0 sdk

GRUBMEISTER commented 8 years ago

And the Node Dependency Hell continues..... Guess I'm going over to Ubuntu to do my work.

GRUBMEISTER commented 8 years ago

Ok, I installed visual studio express 2005 got different things....It does get almost all the way through the Hoodie install before it gets to leveldown. Had to re-enter Dump. Didn't have full path error.

$ npm install --save hoodie                                                                                                                                                                              

> leveldown@1.4.5 install C:\Users\Monty\node_modules\leveldown                                                                                                                                          
> prebuild --install                                                                                                                                                                                     

prebuild WARN install No prebuilt binaries found (target=v4.4.0 arch=ia32 platform=win32)                                                                                                                
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.                                                                                              
..\..\..\node-gyp\src\win_delay_load_hook.c(16): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory [C:\Users\Monty\node_modules\leveldown\build\binding.sln]           
..\..\..\node-gyp\src\win_delay_load_hook.c(16): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory [C:\Users\Monty\node_modules\leveldown\build\binding.sln]           
prebuild ERR! build error                                                                                                                                                                                
prebuild ERR! stack Error: `C:\Program Files\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1                                                                                                      
prebuild ERR! stack     at ChildProcess.onExit (C:\Users\Monty\node_modules\node-gyp\lib\build.js:276:23)                                                                                                
prebuild ERR! stack     at emitTwo (events.js:87:13)                                                                                                                                                     
prebuild ERR! stack     at ChildProcess.emit (events.js:172:7)                                                                                                                                           
prebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)                                                                                                        
prebuild ERR! not ok                                                                                                                                                                                     
prebuild ERR! build Error: `C:\Program Files\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1                                                                                                      
prebuild ERR! build     at ChildProcess.onExit (C:\Users\Monty\node_modules\node-gyp\lib\build.js:276:23)                                                                                                
prebuild ERR! build     at emitTwo (events.js:87:13)                                                                                                                                                     
prebuild ERR! build     at ChildProcess.emit (events.js:172:7)                                                                                                                                           
prebuild ERR! build     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)                                                                                                        
npm WARN install:leveldown@1.4.5 leveldown@1.4.5 install: `prebuild --install`                                                                                                                           
npm WARN install:leveldown@1.4.5 Exit status 2                                                                                                                                                           
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Monty\package.json'                                                                                                                 
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Monty\package.json'                                                                                                                    
npm WARN Monty No description                                                                                                                                                                            
npm WARN Monty No repository field.                                                                                                                                                                      
npm WARN Monty No README data                                                                                                                                                                            
npm WARN Monty No license field.                                                                                                                                 

npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Monty\package.json'                                                                                                                    
npm WARN Monty No description                                                                                                                                                                            
npm WARN Monty No repository field.                                                                                                                                                                      
npm WARN Monty No README data                                                                                                                                                                            
npm WARN Monty No license field.                
gr2m commented 8 years ago

try this: npm install --no-optional. Then run hoodie with npm start -- --inMemory or npm start -- --dbUrl http://admin:secret@localhost:5984 if you have a CouchDB (must setup an admin user)

I guess the problem is levelDown: No prebuilt binaries found (target=v4.4.0 arch=ia32 platform=win32

gr2m commented 8 years ago

Do you have a package.json file in the directory? Sounds like you don’t: C:\Users\Monty\package.json. Run npm init -y first to create one

GRUBMEISTER commented 8 years ago

Ok, I tried that. I'm going to try a different directory next time. (I had very little luck attempting to install the dependencies that leveldown mentioned. Sdk 2.0 yes, but the vusual studio 2015 c++ package wouldn't work. My OS is too old.
Anyway Here is what the console said:

$ npm init -y                                                                                                                                           
npm ERR! Windows_NT 6.0.6002                                                                                                                            
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Monty\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "init" "-y"           
npm ERR! node v4.4.0                                                                                                                                    
npm ERR! npm  v3.9.0            

npm ERR! Invalid name: "Hoodie Camp"                                                                                                                    
npm ERR!                                                                                                                                                
npm ERR! If you need help, you may report this error at:                                                                                                
npm ERR!     <https://github.com/npm/npm/issues>                                                                                                        

npm ERR! Please include the following file with any support request:                                                                                    
npm ERR!     C:\Users\Monty\Desktop\Hoodie Camp\npm-debug.log                                                                                           

But here is the debug.log from npm init -y

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\Monty\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'init',
1 verbose cli   '-y' ]
2 info using npm@3.9.0
3 info using node@v4.4.0
4 verbose config Skipping project config: C:\Users\Monty/.npmrc. (matches userconfig)
5 silly package data undefined
6 info init written successfully
7 verbose stack Error: Invalid name: "Hoodie Camp"
7 verbose stack     at ensureValidName (C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\node_modules\normalize-package-data\lib\fixer.js:336:15)
7 verbose stack     at Object.module.exports.fixNameField (C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\node_modules\normalize-package-data\lib\fixer.js:215:5)
7 verbose stack     at C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\node_modules\normalize-package-data\lib\normalize.js:32:38
7 verbose stack     at Array.forEach (native)
7 verbose stack     at normalize (C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\node_modules\normalize-package-data\lib\normalize.js:31:15)
7 verbose stack     at final (C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:349:5)
7 verbose stack     at then (C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:124:5)
7 verbose stack     at ReadFileContext.<anonymous> (C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:295:20)
7 verbose stack     at ReadFileContext.callback (C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16)
7 verbose stack     at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:303:13)
8 verbose cwd C:\Users\Monty\Desktop\Hoodie Camp
9 error Windows_NT 6.0.6002
10 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Monty\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "init" "-y"
11 error node v4.4.0
12 error npm  v3.9.0
13 error Invalid name: "Hoodie Camp"
14 error If you need help, you may report this error at:
14 error     <https://github.com/npm/npm/issues>
15 verbose exit [ 1, true ]
GRUBMEISTER commented 8 years ago

Getting rid of the two part directory name C:\Users\Monty\Desktop\Hoodie Camp and going over to my D: drive to smaller names ( D:\Hoodie\HC1) seems to have worked with regards to npm init -y

$ npm init -y                                                  
Wrote to D:\Hoodie\HC1\package.json:                           

{                                                              
  "name": "HC1",                                               
  "version": "1.0.0",                                          
  "description": "",                                           
  "main": "index.js",                                          
  "scripts": {                                                 
    "test": "echo \"Error: no test specified\" && exit 1"      
  },                                                           
  "keywords": [],                                              
  "author": "",                                                
  "license": "ISC"                                             
}                                                              
GRUBMEISTER commented 8 years ago

Ok, at least I got what looks to be some sort of an install that time. I see you folks updated the setup page, Nice work.

$ npm install --save hoodie                                                                                                                                                                                            
npm WARN prefer global jshint@2.9.2 should be installed with -g                                                                                                                                                        
npm WARN prefer global node-ninja@1.0.1 should be installed with -g                                                                                                                                                    
npm WARN prefer global node-gyp@3.3.1 should be installed with -g                                                                                                                                                      

> sqlite3@3.1.4 install D:\Hoodie\HC1\node_modules\sqlite3                                                                                                                                                             
> node-pre-gyp install --fallback-to-build                                                                                                                                                                             

[sqlite3] Success: "D:\Hoodie\HC1\node_modules\sqlite3\lib\binding\node-v46-win32-ia32\node_sqlite3.node" is installed via remote                                                                                      

> leveldown@1.4.5 install D:\Hoodie\HC1\node_modules\leveldown                                                                                                                                                         
> prebuild --install                                                                                                                                                                                                   

prebuild WARN install No prebuilt binaries found (target=v4.4.0 arch=ia32 platform=win32)                                                                                                                              
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.                                                                                                            
..\..\..\node-gyp\src\win_delay_load_hook.c(16): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory [D:\Hoodie\HC1\node_modules\leveldown\build\binding.sln]                          
..\..\..\node-gyp\src\win_delay_load_hook.c(16): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory [D:\Hoodie\HC1\node_modules\leveldown\build\binding.sln]                          
prebuild ERR! build error                                                                                                                                                                                              
prebuild ERR! stack Error: `C:\Program Files\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1                                                                                                                    
prebuild ERR! stack     at ChildProcess.onExit (D:\Hoodie\HC1\node_modules\node-gyp\lib\build.js:276:23)                                                                                                               
prebuild ERR! stack     at emitTwo (events.js:87:13)                                                                                                                                                                   
prebuild ERR! stack     at ChildProcess.emit (events.js:172:7)                                                                                                                                                         
prebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)                                                                                                                      
prebuild ERR! not ok                                                                                                                                                                                                   
prebuild ERR! build Error: `C:\Program Files\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1                                                                                                                    
prebuild ERR! build     at ChildProcess.onExit (D:\Hoodie\HC1\node_modules\node-gyp\lib\build.js:276:23)                                                                                                               
prebuild ERR! build     at emitTwo (events.js:87:13)                                                                                                                                                                   
prebuild ERR! build     at ChildProcess.emit (events.js:172:7)                                                                                                                                                         
prebuild ERR! build     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)                                                                                                                      
npm WARN install:leveldown@1.4.5 leveldown@1.4.5 install: `prebuild --install`                                                                                                                                         
npm WARN install:leveldown@1.4.5 Exit status 2                                                                                                                                                                         
HC1@1.0.0 D:\Hoodie\HC1                                                                                                                                                                                                
`-- hoodie@22.0.2                                                                                                                                                                                                      
  +-- @hoodie/account@1.0.2                                                                                                                                                                                            
  | +-- @hoodie/account-client@3.0.1                                                                                                                                                                                   
  | `-- @hoodie/account-server@3.1.1                                                                                                                                                                                   
  |   +-- @gar/hapi-json-api@2.0.1                                                                                                                                                                                     
  |   | +-- accepts@1.3.3                                                                                                                                                                                              
  |   | | `-- negotiator@0.6.1                                                                                                                                                                                         
  |   | +-- hoek@3.0.4                                                                                                                                                                                                 
  |   | `-- media-type@0.3.0                                                                                                                                                                                           
  |   +-- base64url@1.0.6                                                                                                                                                                                              
  |   | +-- concat-stream@1.4.10                                                                                                                                                                                       
  |   | | +-- readable-stream@1.1.14                                                                                                                                                                                   
  |   | | `-- typedarray@0.0.6                                                                                                                                                                                         
  |   | `-- meow@2.0.0                                                                                                                                                                                                 
  |   |   +-- camelcase-keys@1.0.0                                                                                                                                                                                     
  |   |   | `-- map-obj@1.0.1                                                                                                                                                                                          
  |   |   +-- indent-string@1.2.2                                                                                                                                                                                      
  |   |   | +-- get-stdin@4.0.1                                                                                                                                                                                        
  |   |   | +-- minimist@1.2.0                                                                                                                                                                                         
  |   |   | `-- repeating@1.1.3                                                                                                                                                                                        
  |   |   |   `-- is-finite@1.0.1                                                                                                                                                                                      
  |   |   +-- minimist@1.2.0                                                                                                                                                                                           
  |   |   `-- object-assign@1.0.0                                                                                                                                                                                      
  |   +-- couchdb-calculate-session-id@1.1.0                                                                                                                                                                           
  |   | +-- aproba@1.0.1                                                                                                                                                                                               
  |   | `-- crypto-lite@0.1.0                                                                                                                                                                                          
  |   +-- nodemailer@2.4.1                                                                                                                                                                                             
  |   | +-- libmime@2.0.3                                                                                                                                                                                              
  |   | | +-- iconv-lite@0.4.13                                                                                                                                                                                        
  |   | | +-- libbase64@0.1.0                                                                                                                                                                                          
  |   | | `-- libqp@1.1.0                                                                                                                                                                                              
  |   | +-- mailcomposer@3.9.0                                                                                                                                                                                         
  |   | | `-- buildmail@3.7.0                                                                                                                                                                                          
  |   | |   `-- addressparser@1.0.1                                                                                                                                                                                    
  |   | +-- nodemailer-direct-transport@3.1.0                                                                                                                                                                          
  |   | | `-- smtp-connection@2.5.0                                                                                                                                                                                    
  |   | |   `-- httpntlm@1.6.1                                                                                                                                                                                         
  |   | |     +-- httpreq@0.4.22                                                                                                                                                                                       
  |   | |     `-- underscore@1.7.0                                                                                                                                                                                     
  |   | +-- nodemailer-shared@1.0.5                                                                                                                                                                                    
  |   | | `-- nodemailer-fetch@1.4.0                                                                                                                                                                                   
  |   | +-- nodemailer-smtp-pool@2.6.0                                                                                                                                                                                 
  |   | | `-- nodemailer-wellknown@0.1.9                                                                                                                                                                               
  |   | +-- nodemailer-smtp-transport@2.5.0                                                                                                                                                                            
  |   | `-- socks@1.1.9                                                                                                                                                                                                
  |   |   +-- ip@1.1.3                                                                                                                                                                                                 
  |   |   `-- smart-buffer@1.0.9                                                                                                                                                                                       
  |   `-- pouchdb-admins@1.0.1                                                                                                                                                                                         
  +-- @hoodie/admin@1.0.4                                                                                                                                                                                              
  +-- @hoodie/client@4.0.3                                                                                                                                                                                             
  | +-- @hoodie/connection-status@3.0.0                                                                                                                                                                                
  | | `-- browser-supports-log-styles@1.1.4                                                                                                                                                                            
  | +-- @hoodie/log@2.1.0                                                                                                                                                                                              
  | +-- humble-localstorage@1.4.2                                                                                                                                                                                      
  | | +-- has-localstorage@1.0.1                                                                                                                                                                                       
  | | `-- localstorage-memory@1.0.2                                                                                                                                                                                    
  | +-- lie@3.0.4                                                                                                                                                                                                      
  | | +-- es3ify@0.2.2                                                                                                                                                                                                 
  | | | `-- jstransform@11.0.3                                                                                                                                                                                         
  | | |   +-- base62@1.1.1                                                                                                                                                                                             
  | | |   +-- commoner@0.10.4                                                                                                                                                                                          
  | | |   | +-- detective@4.3.1                                                                                                                                                                                        
  | | |   | | `-- defined@1.0.0                                                                                                                                                                                        
  | | |   | +-- glob@5.0.15                                                                                                                                                                                            
  | | |   | `-- q@1.4.1                                                                                                                                                                                                
  | | |   +-- esprima-fb@15001.1.0-dev-harmony-fb                                                                                                                                                                      
  | | |   `-- object-assign@2.1.1                                                                                                                                                                                      
  | | +-- immediate@3.0.5                                                                                                                                                                                              
  | | +-- inline-process-browser@1.0.0                                                                                                                                                                                 
  | | | +-- falafel@1.2.0                                                                                                                                                                                              
  | | | | +-- acorn@1.2.2                                                                                                                                                                                              
  | | | | +-- foreach@2.0.5                                                                                                                                                                                            
  | | | | `-- object-keys@1.0.9                                                                                                                                                                                        
  | | | `-- through2@0.6.5                                                                                                                                                                                             
  | | `-- unreachable-branch-transform@0.3.0                                                                                                                                                                           
  | |   +-- esmangle-evaluator@1.0.0                                                                                                                                                                                   
  | |   `-- recast@0.10.43                                                                                                                                                                                             
  | |     +-- ast-types@0.8.15                                                                                                                                                                                         
  | |     +-- esprima-fb@15001.1001.0-dev-harmony-fb                                                                                                                                                                   
  | |     +-- private@0.1.6                                                                                                                                                                                            
  | |     `-- source-map@0.5.6                                                                                                                                                                                         
  | `-- nets@3.2.0                                                                                                                                                                                                     
  |   `-- xhr@2.2.0                                                                                                                                                                                                    
  |     +-- global@4.3.0                                                                                                                                                                                               
  |     | +-- min-document@2.18.0                                                                                                                                                                                      
  |     | | `-- dom-walk@0.1.1                                                                                                                                                                                         
  |     | `-- process@0.5.2                                                                                                                                                                                            
  |     +-- is-function@1.0.1                                                                                                                                                                                          
  |     +-- once@1.1.1                                                                                                                                                                                                 
  |     `-- parse-headers@2.0.1                                                                                                                                                                                        
  |       +-- for-each@0.3.2                                                                                                                                                                                           
  |       `-- trim@0.0.1                                                                                                                                                                                               
  +-- @hoodie/store@1.0.2                                                                                                                                                                                              
  | +-- @hoodie/store-client@5.0.1                                                                                                                                                                                     
  | | +-- hoodie-zuul-config@2.0.0                                                                                                                                                                                     
  | | +-- pouchdb-hoodie-api@1.6.1                                                                                                                                                                                     
  | | | `-- pouchdb-extend@0.1.2                                                                                                                                                                                       
  | | `-- pouchdb-hoodie-sync@1.4.1                                                                                                                                                                                    
  | `-- @hoodie/store-server@2.0.0                                                                                                                                                                                     
  |   +-- express@4.13.4                                                                                                                                                                                               
  |   | +-- accepts@1.2.13                                                                                                                                                                                             
  |   | | `-- negotiator@0.5.3                                                                                                                                                                                         
  |   | +-- array-flatten@1.1.1                                                                                                                                                                                        
  |   | +-- content-disposition@0.5.1                                                                                                                                                                                  
  |   | +-- content-type@1.0.2                                                                                                                                                                                         
  |   | +-- cookie@0.1.5                                                                                                                                                                                               
  |   | +-- cookie-signature@1.0.6                                                                                                                                                                                     
  |   | +-- depd@1.1.0                                                                                                                                                                                                 
  |   | +-- escape-html@1.0.3                                                                                                                                                                                          
  |   | +-- etag@1.7.0                                                                                                                                                                                                 
  |   | +-- finalhandler@0.4.1                                                                                                                                                                                         
  |   | | `-- unpipe@1.0.0                                                                                                                                                                                             
  |   | +-- fresh@0.3.0                                                                                                                                                                                                
  |   | +-- merge-descriptors@1.0.1                                                                                                                                                                                    
  |   | +-- methods@1.1.2                                                                                                                                                                                              
  |   | +-- on-finished@2.3.0                                                                                                                                                                                          
  |   | | `-- ee-first@1.1.1                                                                                                                                                                                           
  |   | +-- parseurl@1.3.1                                                                                                                                                                                             
  |   | +-- path-to-regexp@0.1.7                                                                                                                                                                                       
  |   | +-- proxy-addr@1.0.10                                                                                                                                                                                          
  |   | | +-- forwarded@0.1.0                                                                                                                                                                                          
  |   | | `-- ipaddr.js@1.0.5                                                                                                                                                                                          
  |   | +-- qs@4.0.0                                                                                                                                                                                                   
  |   | +-- range-parser@1.0.3                                                                                                                                                                                         
  |   | +-- send@0.13.1                                                                                                                                                                                                
  |   | | +-- destroy@1.0.4                                                                                                                                                                                            
  |   | | +-- http-errors@1.3.1                                                                                                                                                                                        
  |   | | +-- mime@1.3.4                                                                                                                                                                                               
  |   | | `-- statuses@1.2.1                                                                                                                                                                                           
  |   | +-- serve-static@1.10.2                                                                                                                                                                                        
  |   | +-- type-is@1.6.12                                                                                                                                                                                             
  |   | | `-- media-typer@0.3.0                                                                                                                                                                                        
  |   | +-- utils-merge@1.0.0                                                                                                                                                                                          
  |   | `-- vary@1.0.1                                                                                                                                                                                                 
  |   `-- express-pouchdb@1.0.3                                                                                                                                                                                        
  |     +-- basic-auth@1.0.4                                                                                                                                                                                           
  |     +-- bluebird@2.10.2                                                                                                                                                                                            
  |     +-- body-parser@1.15.1                                                                                                                                                                                         
  |     | +-- bytes@2.3.0                                                                                                                                                                                              
  |     | +-- http-errors@1.4.0                                                                                                                                                                                        
  |     | +-- iconv-lite@0.4.13                                                                                                                                                                                        
  |     | `-- raw-body@2.1.6                                                                                                                                                                                           
  |     +-- compression@1.6.2                                                                                                                                                                                          
  |     | +-- compressible@2.0.8                                                                                                                                                                                       
  |     | +-- on-headers@1.0.1                                                                                                                                                                                         
  |     | `-- vary@1.1.0                                                                                                                                                                                               
  |     +-- cookie-parser@1.4.1                                                                                                                                                                                        
  |     | `-- cookie@0.2.3                                                                                                                                                                                             
  |     +-- extend@1.3.0                                                                                                                                                                                               
  |     +-- header-case-normalizer@1.0.3                                                                                                                                                                               
  |     +-- multiparty@3.3.2                                                                                                                                                                                           
  |     | +-- readable-stream@1.1.14                                                                                                                                                                                   
  |     | `-- stream-counter@0.2.0                                                                                                                                                                                     
  |     |   `-- readable-stream@1.1.14                                                                                                                                                                                 
  |     +-- node-uuid@1.4.1                                                                                                                                                                                            
  |     +-- pouchdb-all-dbs@1.0.1                                                                                                                                                                                      
  |     | +-- es3ify@0.1.4                                                                                                                                                                                             
  |     | | +-- esprima-fb@3001.1.0-dev-harmony-fb                                                                                                                                                                     
  |     | | `-- jstransform@3.0.0                                                                                                                                                                                      
  |     | |   +-- base62@0.1.1                                                                                                                                                                                         
  |     | |   `-- source-map@0.1.31                                                                                                                                                                                    
  |     | `-- lie@2.9.1                                                                                                                                                                                                
  |     |   `-- unreachable-branch-transform@0.2.3                                                                                                                                                                     
  |     +-- pouchdb-auth@2.0.1                                                                                                                                                                                         
  |     | +-- pouchdb-plugin-error@1.0.1                                                                                                                                                                               
  |     | +-- pouchdb-req-http-query@1.0.3                                                                                                                                                                             
  |     | | +-- extend@1.3.0                                                                                                                                                                                           
  |     | | `-- xmlhttprequest-cookie@0.9.4                                                                                                                                                                            
  |     | |   `-- xmlhttprequest@1.8.0                                                                                                                                                                                 
  |     | `-- pouchdb-system-db@1.0.4                                                                                                                                                                                  
  |     +-- pouchdb-find@0.1.0                                                                                                                                                                                         
  |     | +-- es3ify@0.1.4                                                                                                                                                                                             
  |     | | +-- esprima-fb@3001.1.0-dev-harmony-fb                                                                                                                                                                     
  |     | | `-- jstransform@3.0.0                                                                                                                                                                                      
  |     | |   +-- base62@0.1.1                                                                                                                                                                                         
  |     | |   `-- source-map@0.1.31                                                                                                                                                                                    
  |     | +-- jshint@2.9.2                                                                                                                                                                                             
  |     | | +-- cli@0.6.6                                                                                                                                                                                              
  |     | | | `-- glob@3.2.11                                                                                                                                                                                          
  |     | | |   `-- minimatch@0.3.0                                                                                                                                                                                    
  |     | | |     +-- lru-cache@2.7.3                                                                                                                                                                                  
  |     | | |     `-- sigmund@1.0.1                                                                                                                                                                                    
  |     | | +-- console-browserify@1.1.0                                                                                                                                                                               
  |     | | | `-- date-now@0.1.4                                                                                                                                                                                       
  |     | | +-- exit@0.1.2                                                                                                                                                                                             
  |     | | +-- htmlparser2@3.8.3                                                                                                                                                                                      
  |     | | | +-- domelementtype@1.3.0                                                                                                                                                                                 
  |     | | | +-- domhandler@2.3.0                                                                                                                                                                                     
  |     | | | +-- domutils@1.5.1                                                                                                                                                                                       
  |     | | | | `-- dom-serializer@0.1.0                                                                                                                                                                               
  |     | | | |   +-- domelementtype@1.1.3                                                                                                                                                                             
  |     | | | |   `-- entities@1.1.1                                                                                                                                                                                   
  |     | | | +-- entities@1.0.0                                                                                                                                                                                       
  |     | | | `-- readable-stream@1.1.14                                                                                                                                                                               
  |     | | +-- lodash@3.7.0                                                                                                                                                                                           
  |     | | +-- minimatch@2.0.10                                                                                                                                                                                       
  |     | | `-- shelljs@0.3.0                                                                                                                                                                                          
  |     | +-- lie@2.9.1                                                                                                                                                                                                
  |     | | `-- unreachable-branch-transform@0.2.3                                                                                                                                                                     
  |     | +-- pouchdb-abstract-mapreduce@0.2.2                                                                                                                                                                         
  |     | | +-- es3ify@0.1.4                                                                                                                                                                                           
  |     | | | +-- esprima-fb@3001.1.0-dev-harmony-fb                                                                                                                                                                   
  |     | | | `-- jstransform@3.0.0                                                                                                                                                                                    
  |     | | |   +-- base62@0.1.1                                                                                                                                                                                       
  |     | | |   `-- source-map@0.1.31                                                                                                                                                                                  
  |     | | +-- lie@2.9.1                                                                                                                                                                                              
  |     | | | `-- unreachable-branch-transform@0.2.3                                                                                                                                                                   
  |     | | `-- spark-md5@0.0.5                                                                                                                                                                                        
  |     | +-- pouchdb-upsert@1.1.3                                                                                                                                                                                     
  |     | | +-- es3ify@0.1.4                                                                                                                                                                                           
  |     | | | +-- esprima-fb@3001.1.0-dev-harmony-fb                                                                                                                                                                   
  |     | | | `-- jstransform@3.0.0                                                                                                                                                                                    
  |     | | |   +-- base62@0.1.1                                                                                                                                                                                       
  |     | | |   `-- source-map@0.1.31                                                                                                                                                                                  
  |     | | `-- lie@2.9.1                                                                                                                                                                                              
  |     | |   `-- unreachable-branch-transform@0.2.3                                                                                                                                                                   
  |     | `-- spark-md5@0.0.5                                                                                                                                                                                          
  |     +-- pouchdb-list@1.1.0                                                                                                                                                                                         
  |     | +-- couchdb-objects@1.0.7                                                                                                                                                                                    
  |     | | +-- extend@1.3.0                                                                                                                                                                                           
  |     | | `-- is-empty@0.0.1                                                                                                                                                                                         
  |     | `-- couchdb-render@1.0.1                                                                                                                                                                                     
  |     |   `-- extend@1.3.0                                                                                                                                                                                           
  |     +-- pouchdb-replicator@2.1.3                                                                                                                                                                                   
  |     | +-- equals@1.0.1                                                                                                                                                                                             
  |     | | `-- jkroso-type@1.1.1                                                                                                                                                                                      
  |     | +-- extend@1.3.0                                                                                                                                                                                             
  |     | `-- random-uuid-v4@0.0.4                                                                                                                                                                                     
  |     +-- pouchdb-rewrite@1.0.7                                                                                                                                                                                      
  |     | +-- extend@1.3.0                                                                                                                                                                                             
  |     | `-- pouchdb-route@1.0.3                                                                                                                                                                                      
  |     |   `-- extend@1.3.0                                                                                                                                                                                           
  |     +-- pouchdb-security@1.2.6                                                                                                                                                                                     
  |     | +-- extend@1.3.0                                                                                                                                                                                             
  |     | `-- pouchdb-changeslike-wrapper@1.0.1                                                                                                                                                                        
  |     +-- pouchdb-show@1.0.8                                                                                                                                                                                         
  |     +-- pouchdb-size@1.2.2                                                                                                                                                                                         
  |     | +-- bluebird@2.10.2                                                                                                                                                                                          
  |     | `-- get-folder-size@0.1.1                                                                                                                                                                                    
  |     |   +-- async@0.9.2                                                                                                                                                                                            
  |     |   `-- minimist@0.1.0                                                                                                                                                                                         
  |     +-- pouchdb-update@1.0.8                                                                                                                                                                                       
  |     | +-- couchdb-eval@1.0.6                                                                                                                                                                                       
  |     | | `-- extend@1.3.0                                                                                                                                                                                           
  |     | `-- couchdb-resp-completer@1.0.3                                                                                                                                                                             
  |     |   `-- extend@1.3.0                                                                                                                                                                                           
  |     +-- pouchdb-validation@1.2.1                                                                                                                                                                                   
  |     +-- pouchdb-vhost@1.0.2                                                                                                                                                                                        
  |     `-- raw-body@1.3.4                                                                                                                                                                                             
  |       +-- bytes@1.0.0                                                                                                                                                                                              
  |       `-- iconv-lite@0.4.8                                                                                                                                                                                         
  +-- async@1.5.2                                                                                                                                                                                                      
  +-- boom@3.1.3                                                                                                                                                                                                       
  | `-- hoek@4.0.0                                                                                                                                                                                                     
  +-- good@6.6.3                                                                                                                                                                                                       
  | +-- hoek@2.16.3                                                                                                                                                                                                    
  | +-- items@1.1.1                                                                                                                                                                                                    
  | +-- joi@6.10.1                                                                                                                                                                                                     
  | | +-- isemail@1.2.0                                                                                                                                                                                                
  | | `-- topo@1.1.0                                                                                                                                                                                                   
  | +-- traverse@0.6.6                                                                                                                                                                                                 
  | `-- wreck@6.3.0                                                                                                                                                                                                    
  |   `-- boom@2.10.1                                                                                                                                                                                                  
  +-- good-squeeze@3.0.1                                                                                                                                                                                               
  | +-- fast-safe-stringify@1.0.9                                                                                                                                                                                      
  | `-- hoek@3.0.4                                                                                                                                                                                                     
  +-- h2o2@5.1.0                                                                                                                                                                                                       
  | +-- hoek@3.0.4                                                                                                                                                                                                     
  | `-- wreck@7.2.1                                                                                                                                                                                                    
  |   `-- hoek@4.0.0                                                                                                                                                                                                   
  +-- hapi@13.4.0                                                                                                                                                                                                      
  | +-- accept@2.1.1                                                                                                                                                                                                   
  | +-- ammo@2.0.0                                                                                                                                                                                                     
  | | `-- hoek@3.0.4                                                                                                                                                                                                   
  | +-- boom@3.1.3                                                                                                                                                                                                     
  | +-- call@3.0.0                                                                                                                                                                                                     
  | | `-- hoek@3.0.4                                                                                                                                                                                                   
  | +-- catbox@7.1.0                                                                                                                                                                                                   
  | | +-- hoek@3.0.4                                                                                                                                                                                                   
  | | `-- joi@7.3.0                                                                                                                                                                                                    
  | +-- catbox-memory@2.0.1                                                                                                                                                                                            
  | | `-- hoek@3.0.4                                                                                                                                                                                                   
  | +-- cryptiles@3.0.0                                                                                                                                                                                                
  | +-- heavy@4.0.1                                                                                                                                                                                                    
  | +-- hoek@4.0.0                                                                                                                                                                                                     
  | +-- iron@4.0.0                                                                                                                                                                                                     
  | | `-- hoek@3.0.4                                                                                                                                                                                                   
  | +-- items@2.1.0                                                                                                                                                                                                    
  | +-- joi@8.1.0                                                                                                                                                                                                      
  | | +-- isemail@2.1.0                                                                                                                                                                                                
  | | `-- moment@2.13.0                                                                                                                                                                                                
  | +-- kilt@2.0.0                                                                                                                                                                                                     
  | | `-- hoek@3.0.4                                                                                                                                                                                                   
  | +-- mimos@3.0.0                                                                                                                                                                                                    
  | | +-- hoek@3.0.4                                                                                                                                                                                                   
  | | `-- mime-db@1.23.0                                                                                                                                                                                               
  | +-- peekaboo@2.0.0                                                                                                                                                                                                 
  | +-- shot@3.0.1                                                                                                                                                                                                     
  | +-- statehood@4.0.0                                                                                                                                                                                                
  | | +-- hoek@3.0.4                                                                                                                                                                                                   
  | | `-- joi@7.3.0                                                                                                                                                                                                    
  | +-- subtext@4.0.1                                                                                                                                                                                                  
  | | +-- content@3.0.1                                                                                                                                                                                                
  | | +-- hoek@3.0.4                                                                                                                                                                                                   
  | | +-- pez@2.1.0                                                                                                                                                                                                    
  | | | +-- b64@3.0.0                                                                                                                                                                                                  
  | | | `-- nigel@2.0.0                                                                                                                                                                                                
  | | |   `-- vise@2.0.1                                                                                                                                                                                               
  | | |     `-- hoek@4.0.0                                                                                                                                                                                             
  | | `-- wreck@7.2.0                                                                                                                                                                                                  
  | `-- topo@2.0.0                                                                                                                                                                                                     
  |   `-- hoek@3.0.4                                                                                                                                                                                                   
  +-- inert@4.0.0                                                                                                                                                                                                      
  | +-- ammo@2.0.0                                                                                                                                                                                                     
  | | `-- hoek@3.0.4                                                                                                                                                                                                   
  | +-- hoek@4.0.0                                                                                                                                                                                                     
  | +-- items@2.1.0                                                                                                                                                                                                    
  | `-- lru-cache@4.0.1                                                                                                                                                                                                
  |   +-- pseudomap@1.0.2                                                                                                                                                                                              
  |   `-- yallist@2.0.0                                                                                                                                                                                                
  +-- joi@8.1.0                                                                                                                                                                                                        
  | +-- hoek@4.0.0                                                                                                                                                                                                     
  | +-- isemail@2.1.0                                                                                                                                                                                                  
  | +-- moment@2.13.0                                                                                                                                                                                                  
  | `-- topo@2.0.0                                                                                                                                                                                                     
  |   `-- hoek@3.0.4                                                                                                                                                                                                   
  +-- jsonfile@2.3.1                                                                                                                                                                                                   
  +-- lodash@4.12.0                                                                                                                                                                                                    
  +-- lout@9.0.0                                                                                                                                                                                                       
  | +-- handlebars@4.0.5                                                                                                                                                                                               
  | | +-- optimist@0.6.1                                                                                                                                                                                               
  | | | `-- wordwrap@0.0.3                                                                                                                                                                                             
  | | +-- source-map@0.4.4                                                                                                                                                                                             
  | | | `-- amdefine@1.0.0                                                                                                                                                                                             
  | | `-- uglify-js@2.6.2                                                                                                                                                                                              
  | |   +-- async@0.2.10                                                                                                                                                                                               
  | |   +-- source-map@0.5.6                                                                                                                                                                                           
  | |   +-- uglify-to-browserify@1.0.2                                                                                                                                                                                 
  | |   `-- yargs@3.10.0                                                                                                                                                                                               
  | |     +-- camelcase@1.2.1                                                                                                                                                                                          
  | |     +-- cliui@2.1.0                                                                                                                                                                                              
  | |     | +-- center-align@0.1.3                                                                                                                                                                                     
  | |     | | +-- align-text@0.1.4                                                                                                                                                                                     
  | |     | | | +-- kind-of@3.0.3                                                                                                                                                                                      
  | |     | | | | `-- is-buffer@1.1.3                                                                                                                                                                                  
  | |     | | | +-- longest@1.0.1                                                                                                                                                                                      
  | |     | | | `-- repeat-string@1.5.4                                                                                                                                                                                
  | |     | | `-- lazy-cache@1.0.4                                                                                                                                                                                     
  | |     | +-- right-align@0.1.3                                                                                                                                                                                      
  | |     | `-- wordwrap@0.0.2                                                                                                                                                                                         
  | |     `-- window-size@0.1.0                                                                                                                                                                                        
  | `-- hoek@3.0.4                                                                                                                                                                                                     
  +-- memdown@1.1.2                                                                                                                                                                                                    
  | +-- abstract-leveldown@2.6.0                                                                                                                                                                                       
  | | `-- xtend@4.0.1                                                                                                                                                                                                  
  | +-- functional-red-black-tree@1.0.1                                                                                                                                                                                
  | +-- inherits@2.0.1                                                                                                                                                                                                 
  | `-- ltgt@1.0.2                                                                                                                                                                                                     
  +-- mkdirp@0.5.1                                                                                                                                                                                                     
  | `-- minimist@0.0.8                                                                                                                                                                                                 
  +-- node-emoji@1.3.0                                                                                                                                                                                                 
  | `-- string.prototype.codepointat@0.2.0                                                                                                                                                                             
  +-- npmlog@2.0.3                                                                                                                                                                                                     
  | +-- ansi@0.3.1                                                                                                                                                                                                     
  | +-- are-we-there-yet@1.1.2                                                                                                                                                                                         
  | | +-- delegates@1.0.0                                                                                                                                                                                              
  | | `-- readable-stream@2.1.3                                                                                                                                                                                        
  | |   +-- buffer-shims@1.0.0                                                                                                                                                                                         
  | |   +-- core-util-is@1.0.2                                                                                                                                                                                         
  | |   +-- isarray@1.0.0                                                                                                                                                                                              
  | |   +-- process-nextick-args@1.0.7                                                                                                                                                                                 
  | |   +-- string_decoder@0.10.31                                                                                                                                                                                     
  | |   `-- util-deprecate@1.0.2                                                                                                                                                                                       
  | `-- gauge@1.2.7                                                                                                                                                                                                    
  |   +-- has-unicode@2.0.0                                                                                                                                                                                            
  |   +-- lodash.pad@4.4.0                                                                                                                                                                                             
  |   | +-- lodash._baseslice@4.0.0                                                                                                                                                                                    
  |   | +-- lodash._basetostring@4.12.0                                                                                                                                                                                
  |   | `-- lodash.tostring@4.1.3                                                                                                                                                                                      
  |   +-- lodash.padend@4.5.0                                                                                                                                                                                          
  |   `-- lodash.padstart@4.5.0                                                                                                                                                                                        
  +-- pouchdb@5.3.2                                                                                                                                                                                                    
  | +-- argsarray@0.0.1                                                                                                                                                                                                
  | +-- debug@2.2.0                                                                                                                                                                                                    
  | | `-- ms@0.7.1                                                                                                                                                                                                     
  | +-- double-ended-queue@2.0.0-0                                                                                                                                                                                     
  | +-- es3ify@0.2.1                                                                                                                                                                                                   
  | | +-- esprima@2.7.2                                                                                                                                                                                                
  | | +-- jstransform@3.0.0                                                                                                                                                                                            
  | | | +-- base62@0.1.1                                                                                                                                                                                               
  | | | +-- esprima-fb@3001.1.0-dev-harmony-fb                                                                                                                                                                         
  | | | `-- source-map@0.1.31                                                                                                                                                                                          
  | | `-- through@2.3.8                                                                                                                                                                                                
  | +-- fruitdown@1.0.2                                                                                                                                                                                                
  | | +-- abstract-leveldown@0.12.3                                                                                                                                                                                    
  | | | `-- xtend@3.0.0                                                                                                                                                                                                
  | | +-- d64@1.0.0                                                                                                                                                                                                    
  | | `-- tiny-queue@0.2.0                                                                                                                                                                                             
  | +-- js-extend@1.0.1                                                                                                                                                                                                
  | +-- level-write-stream@1.0.0                                                                                                                                                                                       
  | | `-- end-stream@0.1.0                                                                                                                                                                                             
  | |   `-- write-stream@0.4.3                                                                                                                                                                                         
  | |     `-- readable-stream@0.0.4                                                                                                                                                                                    
  | +-- levelup@1.3.1                                                                                                                                                                                                  
  | | +-- deferred-leveldown@1.2.1                                                                                                                                                                                     
  | | | `-- abstract-leveldown@2.4.1                                                                                                                                                                                   
  | | +-- level-codec@6.1.0                                                                                                                                                                                            
  | | +-- level-errors@1.0.4                                                                                                                                                                                           
  | | +-- level-iterator-stream@1.3.1                                                                                                                                                                                  
  | | | `-- readable-stream@1.0.34                                                                                                                                                                                     
  | | `-- prr@1.0.1                                                                                                                                                                                                    
  | +-- lie@3.0.2                                                                                                                                                                                                      
  | | `-- es3ify@0.1.4                                                                                                                                                                                                 
  | +-- localstorage-down@0.6.6                                                                                                                                                                                        
  | +-- pouchdb-collate@1.2.0                                                                                                                                                                                          
  | +-- pouchdb-collections@1.0.1                                                                                                                                                                                      
  | +-- scope-eval@0.0.3                                                                                                                                                                                               
  | +-- spark-md5@2.0.2                                                                                                                                                                                                
  | +-- sublevel-pouchdb@1.0.0                                                                                                                                                                                         
  | | +-- errno@0.1.4                                                                                                                                                                                                  
  | | | `-- prr@0.0.0                                                                                                                                                                                                  
  | | +-- ltgt@2.1.2                                                                                                                                                                                                   
  | | +-- pull-stream@2.21.0                                                                                                                                                                                           
  | | | `-- pull-core@1.0.0                                                                                                                                                                                            
  | | `-- readable-stream@1.0.33                                                                                                                                                                                       
  | |   `-- isarray@0.0.1                                                                                                                                                                                              
  | +-- through2@2.0.1                                                                                                                                                                                                 
  | | `-- readable-stream@2.0.6                                                                                                                                                                                        
  | |   `-- isarray@1.0.0                                                                                                                                                                                              
  | +-- vuvuzela@1.0.2                                                                                                                                                                                                 
  | `-- websql@0.4.4                                                                                                                                                                                                   
  |   +-- immediate@3.2.2                                                                                                                                                                                              
  |   +-- noop-fn@1.0.0                                                                                                                                                                                                
  |   +-- sqlite3@3.1.4                                                                                                                                                                                                
  |   | +-- nan@2.3.3                                                                                                                                                                                                  
  |   | `-- node-pre-gyp@0.6.28                                                                                                                                                                                        
  |   |   +-- mkdirp@0.5.1                                                                                                                                                                                             
  |   |   | `-- minimist@0.0.8                                                                                                                                                                                         
  |   |   +-- nopt@3.0.6                                                                                                                                                                                               
  |   |   | `-- abbrev@1.0.7                                                                                                                                                                                           
  |   |   +-- npmlog@2.0.3                                                                                                                                                                                             
  |   |   | +-- ansi@0.3.1                                                                                                                                                                                             
  |   |   | +-- are-we-there-yet@1.1.2                                                                                                                                                                                 
  |   |   | | +-- delegates@1.0.0                                                                                                                                                                                      
  |   |   | | `-- readable-stream@2.1.2                                                                                                                                                                                
  |   |   | `-- gauge@1.2.7                                                                                                                                                                                            
  |   |   |   +-- has-unicode@2.0.0                                                                                                                                                                                    
  |   |   |   +-- lodash.pad@4.4.0                                                                                                                                                                                     
  |   |   |   | +-- lodash._baseslice@4.0.0                                                                                                                                                                            
  |   |   |   | +-- lodash._basetostring@4.12.0                                                                                                                                                                        
  |   |   |   | `-- lodash.tostring@4.1.3                                                                                                                                                                              
  |   |   |   +-- lodash.padend@4.5.0                                                                                                                                                                                  
  |   |   |   `-- lodash.padstart@4.5.0                                                                                                                                                                                
  |   |   +-- rc@1.1.6                                                                                                                                                                                                 
  |   |   | +-- deep-extend@0.4.1                                                                                                                                                                                      
  |   |   | +-- ini@1.3.4                                                                                                                                                                                              
  |   |   | +-- minimist@1.2.0                                                                                                                                                                                         
  |   |   | `-- strip-json-comments@1.0.4                                                                                                                                                                              
  |   |   +-- request@2.72.0                                                                                                                                                                                           
  |   |   | +-- aws-sign2@0.6.0                                                                                                                                                                                        
  |   |   | +-- aws4@1.4.1                                                                                                                                                                                             
  |   |   | +-- bl@1.1.2                                                                                                                                                                                               
  |   |   | | `-- readable-stream@2.0.6                                                                                                                                                                                
  |   |   | +-- caseless@0.11.0                                                                                                                                                                                        
  |   |   | +-- combined-stream@1.0.5                                                                                                                                                                                  
  |   |   | | `-- delayed-stream@1.0.0                                                                                                                                                                                 
  |   |   | +-- extend@3.0.0                                                                                                                                                                                           
  |   |   | +-- forever-agent@0.6.1                                                                                                                                                                                    
  |   |   | +-- form-data@1.0.0-rc4                                                                                                                                                                                    
  |   |   | | `-- async@1.5.2                                                                                                                                                                                          
  |   |   | +-- har-validator@2.0.6                                                                                                                                                                                    
  |   |   | | +-- chalk@1.1.3                                                                                                                                                                                          
  |   |   | | | +-- ansi-styles@2.2.1                                                                                                                                                                                  
  |   |   | | | +-- escape-string-regexp@1.0.5                                                                                                                                                                         
  |   |   | | | +-- has-ansi@2.0.0                                                                                                                                                                                     
  |   |   | | | | `-- ansi-regex@2.0.0                                                                                                                                                                                 
  |   |   | | | +-- strip-ansi@3.0.1                                                                                                                                                                                   
  |   |   | | | `-- supports-color@2.0.0                                                                                                                                                                               
  |   |   | | +-- commander@2.9.0                                                                                                                                                                                      
  |   |   | | | `-- graceful-readlink@1.0.1                                                                                                                                                                            
  |   |   | | +-- is-my-json-valid@2.13.1                                                                                                                                                                              
  |   |   | | | +-- generate-function@2.0.0                                                                                                                                                                            
  |   |   | | | +-- generate-object-property@1.2.0                                                                                                                                                                     
  |   |   | | | | `-- is-property@1.0.2                                                                                                                                                                                
  |   |   | | | +-- jsonpointer@2.0.0                                                                                                                                                                                  
  |   |   | | | `-- xtend@4.0.1                                                                                                                                                                                        
  |   |   | | `-- pinkie-promise@2.0.1                                                                                                                                                                                 
  |   |   | |   `-- pinkie@2.0.4                                                                                                                                                                                       
  |   |   | +-- hawk@3.1.3                                                                                                                                                                                             
  |   |   | | +-- boom@2.10.1                                                                                                                                                                                          
  |   |   | | +-- cryptiles@2.0.5                                                                                                                                                                                      
  |   |   | | +-- hoek@2.16.3                                                                                                                                                                                          
  |   |   | | `-- sntp@1.0.9                                                                                                                                                                                           
  |   |   | +-- http-signature@1.1.1                                                                                                                                                                                   
  |   |   | | +-- assert-plus@0.2.0                                                                                                                                                                                    
  |   |   | | +-- jsprim@1.2.2                                                                                                                                                                                         
  |   |   | | | +-- extsprintf@1.0.2                                                                                                                                                                                   
  |   |   | | | +-- json-schema@0.2.2                                                                                                                                                                                  
  |   |   | | | `-- verror@1.3.6                                                                                                                                                                                       
  |   |   | | `-- sshpk@1.8.3                                                                                                                                                                                          
  |   |   | |   +-- asn1@0.2.3                                                                                                                                                                                         
  |   |   | |   +-- assert-plus@1.0.0                                                                                                                                                                                  
  |   |   | |   +-- dashdash@1.13.1                                                                                                                                                                                    
  |   |   | |   | `-- assert-plus@1.0.0                                                                                                                                                                                
  |   |   | |   +-- ecc-jsbn@0.1.1                                                                                                                                                                                     
  |   |   | |   +-- getpass@0.1.6                                                                                                                                                                                      
  |   |   | |   | `-- assert-plus@1.0.0                                                                                                                                                                                
  |   |   | |   +-- jodid25519@1.0.2                                                                                                                                                                                   
  |   |   | |   +-- jsbn@0.1.0                                                                                                                                                                                         
  |   |   | |   `-- tweetnacl@0.13.3                                                                                                                                                                                   
  |   |   | +-- is-typedarray@1.0.0                                                                                                                                                                                    
  |   |   | +-- isstream@0.1.2                                                                                                                                                                                         
  |   |   | +-- json-stringify-safe@5.0.1                                                                                                                                                                              
  |   |   | +-- mime-types@2.1.11                                                                                                                                                                                      
  |   |   | | `-- mime-db@1.23.0                                                                                                                                                                                       
  |   |   | +-- node-uuid@1.4.7                                                                                                                                                                                        
  |   |   | +-- oauth-sign@0.8.2                                                                                                                                                                                       
  |   |   | +-- qs@6.1.0                                                                                                                                                                                               
  |   |   | +-- stringstream@0.0.5                                                                                                                                                                                     
  |   |   | +-- tough-cookie@2.2.2                                                                                                                                                                                     
  |   |   | `-- tunnel-agent@0.4.3                                                                                                                                                                                     
  |   |   +-- rimraf@2.5.2                                                                                                                                                                                             
  |   |   | `-- glob@7.0.3                                                                                                                                                                                             
  |   |   |   +-- inflight@1.0.4                                                                                                                                                                                       
  |   |   |   +-- minimatch@3.0.0                                                                                                                                                                                      
  |   |   |   | `-- brace-expansion@1.1.4                                                                                                                                                                              
  |   |   |   |   +-- balanced-match@0.4.1                                                                                                                                                                             
  |   |   |   |   `-- concat-map@0.0.1                                                                                                                                                                                 
  |   |   |   `-- path-is-absolute@1.0.0                                                                                                                                                                               
  |   |   +-- semver@5.1.0                                                                                                                                                                                             
  |   |   +-- tar@2.2.1                                                                                                                                                                                                
  |   |   | +-- block-stream@0.0.9                                                                                                                                                                                     
  |   |   | +-- fstream@1.0.9                                                                                                                                                                                          
  |   |   | | `-- graceful-fs@4.1.4                                                                                                                                                                                    
  |   |   | `-- inherits@2.0.1                                                                                                                                                                                         
  |   |   `-- tar-pack@3.1.3                                                                                                                                                                                           
  |   |     +-- debug@2.2.0                                                                                                                                                                                            
  |   |     | `-- ms@0.7.1                                                                                                                                                                                             
  |   |     +-- fstream-ignore@1.0.4                                                                                                                                                                                   
  |   |     +-- once@1.3.3                                                                                                                                                                                             
  |   |     | `-- wrappy@1.0.1                                                                                                                                                                                         
  |   |     +-- readable-stream@2.0.6                                                                                                                                                                                  
  |   |     | +-- core-util-is@1.0.2                                                                                                                                                                                   
  |   |     | +-- isarray@1.0.0                                                                                                                                                                                        
  |   |     | +-- process-nextick-args@1.0.7                                                                                                                                                                           
  |   |     | +-- string_decoder@0.10.31                                                                                                                                                                               
  |   |     | `-- util-deprecate@1.0.2                                                                                                                                                                                 
  |   |     `-- uid-number@0.0.6                                                                                                                                                                                       
  |   `-- tiny-queue@0.2.1                                                                                                                                                                                             
  +-- pouchdb-users@1.0.3                                                                                                                                                                                              
  | +-- pouchdb-bulkdocs-wrapper@1.0.2                                                                                                                                                                                 
  | | `-- pouchdb-promise@0.0.0                                                                                                                                                                                        
  | |   +-- bluebird@1.2.4                                                                                                                                                                                             
  | |   `-- lie@2.7.7                                                                                                                                                                                                  
  | +-- pouchdb-wrappers@1.3.6                                                                                                                                                                                         
  | | `-- promise-nodify@1.0.2                                                                                                                                                                                         
  | `-- secure-random@1.1.1                                                                                                                                                                                            
  +-- randomstring@1.1.5                                                                                                                                                                                               
  | `-- array-uniq@1.0.2                                                                                                                                                                                               
  +-- rc@1.1.6                                                                                                                                                                                                         
  | +-- deep-extend@0.4.1                                                                                                                                                                                              
  | +-- ini@1.3.4                                                                                                                                                                                                      
  | +-- minimist@1.2.0                                                                                                                                                                                                 
  | `-- strip-json-comments@1.0.4                                                                                                                                                                                      
  +-- request@2.72.0                                                                                                                                                                                                   
  | +-- aws-sign2@0.6.0                                                                                                                                                                                                
  | +-- aws4@1.4.1                                                                                                                                                                                                     
  | +-- bl@1.1.2                                                                                                                                                                                                       
  | | `-- readable-stream@2.0.6                                                                                                                                                                                        
  | |   `-- isarray@1.0.0                                                                                                                                                                                              
  | +-- caseless@0.11.0                                                                                                                                                                                                
  | +-- combined-stream@1.0.5                                                                                                                                                                                          
  | | `-- delayed-stream@1.0.0                                                                                                                                                                                         
  | +-- extend@3.0.0                                                                                                                                                                                                   
  | +-- forever-agent@0.6.1                                                                                                                                                                                            
  | +-- form-data@1.0.0-rc4                                                                                                                                                                                            
  | +-- har-validator@2.0.6                                                                                                                                                                                            
  | | +-- chalk@1.1.3                                                                                                                                                                                                  
  | | | +-- ansi-styles@2.2.1                                                                                                                                                                                          
  | | | +-- escape-string-regexp@1.0.5                                                                                                                                                                                 
  | | | +-- has-ansi@2.0.0                                                                                                                                                                                             
  | | | `-- supports-color@2.0.0                                                                                                                                                                                       
  | | +-- commander@2.9.0                                                                                                                                                                                              
  | | | `-- graceful-readlink@1.0.1                                                                                                                                                                                    
  | | +-- is-my-json-valid@2.13.1                                                                                                                                                                                      
  | | | +-- generate-function@2.0.0                                                                                                                                                                                    
  | | | +-- generate-object-property@1.2.0                                                                                                                                                                             
  | | | | `-- is-property@1.0.2                                                                                                                                                                                        
  | | | `-- jsonpointer@2.0.0                                                                                                                                                                                          
  | | `-- pinkie-promise@2.0.1                                                                                                                                                                                         
  | |   `-- pinkie@2.0.4                                                                                                                                                                                               
  | +-- hawk@3.1.3                                                                                                                                                                                                     
  | | +-- boom@2.10.1                                                                                                                                                                                                  
  | | +-- cryptiles@2.0.5                                                                                                                                                                                              
  | | | `-- boom@2.10.1                                                                                                                                                                                                
  | | `-- sntp@1.0.9                                                                                                                                                                                                   
  | +-- http-signature@1.1.1                                                                                                                                                                                           
  | | +-- assert-plus@0.2.0                                                                                                                                                                                            
  | | +-- jsprim@1.2.2                                                                                                                                                                                                 
  | | | +-- extsprintf@1.0.2                                                                                                                                                                                           
  | | | +-- json-schema@0.2.2                                                                                                                                                                                          
  | | | `-- verror@1.3.6                                                                                                                                                                                               
  | | `-- sshpk@1.8.3                                                                                                                                                                                                  
  | |   +-- asn1@0.2.3                                                                                                                                                                                                 
  | |   +-- assert-plus@1.0.0                                                                                                                                                                                          
  | |   +-- dashdash@1.13.1                                                                                                                                                                                            
  | |   | `-- assert-plus@1.0.0                                                                                                                                                                                        
  | |   +-- ecc-jsbn@0.1.1                                                                                                                                                                                             
  | |   +-- getpass@0.1.6                                                                                                                                                                                              
  | |   | `-- assert-plus@1.0.0                                                                                                                                                                                        
  | |   +-- jodid25519@1.0.2                                                                                                                                                                                           
  | |   +-- jsbn@0.1.0                                                                                                                                                                                                 
  | |   `-- tweetnacl@0.13.3                                                                                                                                                                                           
  | +-- is-typedarray@1.0.0                                                                                                                                                                                            
  | +-- isstream@0.1.2                                                                                                                                                                                                 
  | +-- json-stringify-safe@5.0.1                                                                                                                                                                                      
  | +-- mime-types@2.1.11                                                                                                                                                                                              
  | | `-- mime-db@1.23.0                                                                                                                                                                                               
  | +-- node-uuid@1.4.7                                                                                                                                                                                                
  | +-- oauth-sign@0.8.2                                                                                                                                                                                               
  | +-- qs@6.1.0                                                                                                                                                                                                       
  | +-- stringstream@0.0.5                                                                                                                                                                                             
  | +-- tough-cookie@2.2.2                                                                                                                                                                                             
  | `-- tunnel-agent@0.4.3                                                                                                                                                                                             
  +-- require-relative@0.8.7                                                                                                                                                                                           
  +-- semver@5.1.0                                                                                                                                                                                                     
  +-- vision@4.1.0                                                                                                                                                                                                     
  | +-- hoek@3.0.4                                                                                                                                                                                                     
  | `-- items@2.1.0                                                                                                                                                                                                    
  `-- yargs@4.7.1                                                                                                                                                                                                      
    +-- camelcase@3.0.0                                                                                                                                                                                                
    +-- cliui@3.2.0                                                                                                                                                                                                    
    | `-- wrap-ansi@2.0.0                                                                                                                                                                                              
    +-- decamelize@1.2.0                                                                                                                                                                                               
    +-- lodash.assign@4.0.9                                                                                                                                                                                            
    | +-- lodash.keys@4.0.7                                                                                                                                                                                            
    | `-- lodash.rest@4.0.3                                                                                                                                                                                            
    +-- os-locale@1.4.0                                                                                                                                                                                                
    | `-- lcid@1.0.0                                                                                                                                                                                                   
    |   `-- invert-kv@1.0.0                                                                                                                                                                                            
    +-- pkg-conf@1.1.2                                                                                                                                                                                                 
    | +-- find-up@1.1.2                                                                                                                                                                                                
    | | `-- path-exists@2.1.0                                                                                                                                                                                          
    | +-- load-json-file@1.1.0                                                                                                                                                                                         
    | | +-- graceful-fs@4.1.4                                                                                                                                                                                          
    | | +-- parse-json@2.2.0                                                                                                                                                                                           
    | | | `-- error-ex@1.3.0                                                                                                                                                                                           
    | | |   `-- is-arrayish@0.2.1                                                                                                                                                                                      
    | | +-- pify@2.3.0                                                                                                                                                                                                 
    | | `-- strip-bom@2.0.0                                                                                                                                                                                            
    | |   `-- is-utf8@0.2.1                                                                                                                                                                                            
    | +-- object-assign@4.1.0                                                                                                                                                                                          
    | `-- symbol@0.2.2                                                                                                                                                                                                 
    +-- read-pkg-up@1.0.1                                                                                                                                                                                              
    | `-- read-pkg@1.1.0                                                                                                                                                                                               
    |   +-- normalize-package-data@2.3.5                                                                                                                                                                               
    |   | +-- hosted-git-info@2.1.5                                                                                                                                                                                    
    |   | +-- is-builtin-module@1.0.0                                                                                                                                                                                  
    |   | | `-- builtin-modules@1.1.1                                                                                                                                                                                  
    |   | `-- validate-npm-package-license@3.0.1                                                                                                                                                                       
    |   |   +-- spdx-correct@1.0.2                                                                                                                                                                                     
    |   |   | `-- spdx-license-ids@1.2.1                                                                                                                                                                               
    |   |   `-- spdx-expression-parse@1.0.2                                                                                                                                                                            
    |   |     `-- spdx-exceptions@1.0.4                                                                                                                                                                                
    |   `-- path-type@1.1.0                                                                                                                                                                                            
    +-- require-main-filename@1.0.1                                                                                                                                                                                    
    +-- set-blocking@1.0.0                                                                                                                                                                                             
    +-- string-width@1.0.1                                                                                                                                                                                             
    | +-- code-point-at@1.0.0                                                                                                                                                                                          
    | | `-- number-is-nan@1.0.0                                                                                                                                                                                        
    | +-- is-fullwidth-code-point@1.0.0                                                                                                                                                                                
    | `-- strip-ansi@3.0.1                                                                                                                                                                                             
    |   `-- ansi-regex@2.0.0                                                                                                                                                                                           
    +-- window-size@0.2.0                                                                                                                                                                                              
    +-- y18n@3.2.1                                                                                                                                                                                                     
    `-- yargs-parser@2.4.0                                                                                                                                                                                             
      `-- camelcase@2.1.1                                                                                                                                                                                              

npm WARN HC1@1.0.0 No description                                                                                                                                                                                      
npm WARN HC1@1.0.0 No repository field. 
GRUBMEISTER commented 8 years ago

I tried several ways to setup the package.json file. Adding what you posted on your getting started screen to what was there produced errors. So I put ONLY what you have here in the file. Different errors. (this is the extent of it, I imagine this is with the correct package.json Only this in it:) ONLY:

{
  "name": "my-app",
  "version": "1.0.0",
  "scripts": {
    "start": "hoodie",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "dependencies": {
    "hoodie": "^22.0.2"
  }
} 

Got this error, non terminating.... just hangs (I will hit ctrl. c in a minute and head to work)

$ npm start                                                                                                                                                                                                          

> my-app@1.0.0 start D:\Hoodie\HC1                                                                                                                                                                                   
> hoodie                                                                                                                                                                                                             

Hoodie Err! app Error: the 'leveldown' package is not available. install it, or, specify another storage backend using the 'db' option                                                                               
Hoodie Err! app     at requireLeveldown (D:\Hoodie\HC1\node_modules\pouchdb\lib\index.js:6966:14)                                                                                                                    
Hoodie Err! app     at PouchAlt.LevelPouch (D:\Hoodie\HC1\node_modules\pouchdb\lib\index.js:7060:30)                                                                                                                 
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\pouchdb\lib\index.js:2379:36                                                                                                                                       
Hoodie Err! app     at PouchAlt.PouchDB (D:\Hoodie\HC1\node_modules\pouchdb\lib\index.js:2306:17)                                                                                                                    
Hoodie Err! app     at new PouchAlt (D:\Hoodie\HC1\node_modules\pouchdb\lib\index.js:2524:13)                                                                                                                        
Hoodie Err! app     at Object.getDatabase (D:\Hoodie\HC1\node_modules\hoodie\server\config\db\factory.js:11:12)                                                                                                      
Hoodie Err! app     at accountConfig (D:\Hoodie\HC1\node_modules\hoodie\server\config\account\index.js:6:23)                                                                                                         
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\async\lib\async.js:718:13                                                                                                                                          
Hoodie Err! app     at iterate (D:\Hoodie\HC1\node_modules\async\lib\async.js:262:13)                                                                                                                                
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\async\lib\async.js:274:29                                                                                                                                          
Hoodie Err! app  Failed to initialise:                                                                                                                                                                               
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\hoodie\server\index.js:36:16                                                                                                                                       
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\async\lib\async.js:726:13                                                                                                                                          
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\async\lib\async.js:52:16                                                                                                                                           
Hoodie Err! app     at done (D:\Hoodie\HC1\node_modules\async\lib\async.js:241:17)                                                                                                                                   
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\async\lib\async.js:44:16                                                                                                                                           
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\async\lib\async.js:723:17                                                                                                                                          
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\async\lib\async.js:167:37                                                                                                                                          
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\hoodie\server\plugins\index.js:39:14                                                                                                                               
Hoodie Err! app     at D:\Hoodie\HC1\node_modules\hapi\lib\plugin.js:323:16 [Error: the 'leveldown' package is not available. install it, or, specify another storage backend using the 'db' option]                 
GRUBMEISTER commented 8 years ago

I'll try the npm install --no-optional or the other in the morning when I get off of work, thank you. Monty On May 17, 2016 7:38 PM, "Gregor Martynus" notifications@github.com wrote:

Do you have a package.json file in the directory? If not, run npm init -y first

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/hoodiehq/hoodie/issues/488#issuecomment-219910264

gr2m commented 8 years ago

@GRUBMEISTER can you try to start the app with npm start -- --inMemory?

The problem is that leveldown cannot be built on your windows. Hoodie runs without leveldown if you

  1. run it in memory with npm start -- --inMemory which means that no data is persisted and when you stop the server it will be all lost. Good for testing and playing around.
  2. npm start -- --dbUrl=http://admin:secret@localhost:5984. This requires you to install CouchDB and create an admin account (click on "Admin Party! Fix This") with username "admin" and password "secret". You can make sure that CouchDB is running correctly before starting hoodie by opening http://localhost:5984 in your browser
GRUBMEISTER commented 8 years ago

While googling last night I found an issue on pouch.db's site about leveldown.

https://pouchdb.com/errors.html#windows_leveldown

PouchDB on Windows

It is known that building/compiling Node modules with native code on Windows can be frustrating, as there are lots of required dependencies to be installed, which may take many Gigabytes, as opossed to Unix platforms, where compiling is a breeze. Installing PouchDB on Node for Windows gave many headaches, specifically with the leveldown dep.

Since v3.2.1 leveldown was changed to be an optional dependency: this way, npm will not refuse installing PouchDB even when having compiling errors. That way, you can use PouchDB normally, and will get an error only when trying to use leveldown as the backend. To avoid that, you can specify any compatible adapter, as pointed in the Adapters section.

For example, if you want a SQLite backend, you can install:

npm install sqlite3 npm install sqldown and then use PouchDB with:

var db = new PouchDB('database', { db: require('sqldown') }); Also, you have the option to use leveldown(https://github.com/level/leveldown), which avoids native leveldown building when installing. Make sure the win32-x64.tar.gz is uploaded for your leveldown version. Then for use leveldown as backend, you can install:

npm install leveldown@1.2.2 and instance your PouchDB like this:

var db = new PouchDB('database', { db: require('leveldown') });

GRUBMEISTER commented 8 years ago

The npm install --no-optional --save hoodie Installed with no errors. Thanks, this gives me an install that I can work with. Hope the feedback helps some how.

GRUBMEISTER commented 8 years ago

Monty@MONTY-PC D:\Hoodie\HC1\test11
$ npm start --inMemory

test11@3.2.1 start D:\Hoodie\HC1\test11
node node_modules/hoodie-server/bin/start

(node) sys is deprecated. Use util instead.
Initializing...
CouchDB started: http://127.0.0.1:6033
Error: spawn C:\Program Files\Apache Software Foundation\CouchDB\bin\bin\erl.exe ENOENT
at exports._errnoException (util.js:870:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickDomainCallback (node.js:397:17)

Stopping CouchDB...
Error: ENOENT: no such file or directory, open 'D:\Hoodie\HC1\test11\data\couch.pid'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at MultiCouch.stop (D:\Hoodie\HC1\test11\node_modules\hoodie-server\node_modules\multicouch\lib\multicouch.js:114:23)
at Object.exports.stop (D:\Hoodie\HC1\test11\node_modules\hoodie-server\lib\couchdb\index.js:181:11)
at process. (D:\Hoodie\HC1\test11\node_modules\hoodie-server\lib\couchdb\index.js:76:13)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process.exit (node.js:750:17)
at Domain. (D:\Hoodie\HC1\test11\node_modules\hoodie-server\lib\index.js:64:13)

npm ERR! Windows_NT 6.0.6002
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Monty\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "start" "--inMemory"
npm ERR! node v4.4.0
npm ERR! npm v3.9.0
npm ERR! code ELIFECYCLE
npm ERR! test11@3.2.1 start: node node_modules/hoodie-server/bin/start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the test11@3.2.1 start script 'node node_modules/hoodie-server/bin/start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the test11 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node node_modules/hoodie-server/bin/start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs test11
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls test11
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\Hoodie\HC1\test11\npm-debug.log

Monty@MONTY-PC D:\Hoodie\HC1\test11
$

GRUBMEISTER commented 8 years ago

Well, it looks like maybe I'm getting somewhere. It just created a new testapp with no errors. I'm hoping I'm doing this right and its the current version. 0.6.3

Well, I then ran it, and got errors. I'm thinking the same fix that I had to do for multicouch before?

Maybe I'm not accessing the correct version somehow. It seems exactly like the earlier version, and the multicouch fix isn't in it. Once I added those two files it worked as it did before. ???? What version number should I be seeing?

Monty@MONTY-PC D:\Hoodie\HC1\test2\test3
$ hoodie start

.d$b. .d$b. .d$$$$$$b. .d$$$$$$b. .d$$$$$$b. .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b.
'Q$P' 'Q$P' 'Q$$$$$$P' 'Q$$$$$$P' 'Q$$$$$$$P 'Q$P''Q$$$$$$$$P'

Version: 0.6.3 (node v4.4.0, npm 2.15.1, platform: win32)

(node) sys is deprecated. Use util instead.
Initializing...
CouchDB started: http://127.0.0.1:6036
Error: spawn C:\Program Files\Apache Software Foundation\CouchDB\bin\bin\erl.exe ENOENT
at exports._errnoException (util.js:870:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickDomainCallback (node.js:397:17)

Stopping CouchDB...
Error: ENOENT: no such file or directory, open 'D:\Hoodie\HC1\test2\test3\data\couch.pid'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.readFileSync (fs.js:397:15)
at MultiCouch.stop (D:\Hoodie\HC1\test2\test3\node_modules\hoodie-server\node_modules\multicouch\lib\multicouch.js:114:23)
at Object.exports.stop (D:\Hoodie\HC1\test2\test3\node_modules\hoodie-server\lib\couchdb\index.js:181:11)
at process. (D:\Hoodie\HC1\test2\test3\node_modules\hoodie-server\lib\couchdb\index.js:76:13)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process.exit (node.js:750:17)
at Domain. (D:\Hoodie\HC1\test2\test3\node_modules\hoodie-server\lib\index.js:64:13)

Monty@MONTY-PC D:\Hoodie\HC1\test2\test3
$

GRUBMEISTER commented 8 years ago

Tried installing prebuilt binaries, but they are only up to 1.44 for windows. Required is 1.46. So I give up. I'll continue with linux and give up on Windows for now.

Well, I suppose I can use it for my learning project. It installs but the multi-couch problem still hasn't been fixed yet. I still have to replace multicouch.js with these for it to work.

find-executable-win.js and

multicouch.js from an earlier conversation.

gr2m commented 8 years ago

It somehow starts the old hoodie. Try

npm uninstall --global hoodie

Then make sure that you cannot run hoodie in the terminal anymore. Hoodie is no longer starting couchdb, if you see that in the logs, it's doing the wrong thing

GRUBMEISTER commented 8 years ago

Yes, that didn't get rid of it.

I received the remainder of my test server parts so now I can do it all on Linux. I think I'll be leaving this alone unless you folks want me to do any more testing. Vista isn't supported in a lot of ways anymore, so I'm wondering if its worth your time.... unless these things were happening on a windows 8.1 or 10 system.

Microsoft Windows [Version 6.0.6002]

Monty@MONTY-PC C:\Users\Monty
$ npm uninstall --global hoodie

Monty@MONTY-PC C:\Users\Monty
$ d:

Monty@MONTY-PC D:\
$ cd hoodie

Monty@MONTY-PC D:\Hoodie
$ cd hc1

Monty@MONTY-PC D:\Hoodie\HC1
$ dir
 Volume in drive D is HALFGIG
 Volume Serial Number is 2CE0-F465

 Directory of D:\Hoodie\HC1

05/19/2016  12:17 PM    <DIR>          .
05/19/2016  12:17 PM    <DIR>          ..
05/19/2016  12:16 PM    <DIR>          app3
05/19/2016  11:56 AM           193,461 leveldown-v1.4.4-node-v14-win32-x64.tar.gz
05/19/2016  12:05 PM    <DIR>          node_modules
05/19/2016  11:57 AM           762,889 npm-debug.log
05/19/2016  10:49 AM               458 package.json
               3 File(s)        956,808 bytes
               4 Dir(s)  398,048,841,728 bytes free

Monty@MONTY-PC D:\Hoodie\HC1
$ hoodie new app4

.d$b.  .d$b.  .d$$$$$$b.    .d$$$$$$b.  .d$$$$$$b.  .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b.
'Q$P'  'Q$P'  'Q$$$$$$P'    'Q$$$$$$P'  'Q$$$$$$$P  'Q$P''Q$$$$$$$$P'

Version: 0.6.3 (node v4.4.0, npm 2.15.1, platform: win32)

[hoodie] The npm registry is available
[hoodie] Installing from the npm cache
[hoodie] This may take some time.
my-first-hoodie@3.2.1 node_modules\my-first-hoodie
[hoodie] Preparing: app4 ...
[hoodie] Updated package.json
[hoodie] Created project at D:\Hoodie\HC1\app4
[hoodie] You can now start using your hoodie app

  cd app4
  hoodie start

Monty@MONTY-PC D:\Hoodie\HC1
$ cd app4

Monty@MONTY-PC D:\Hoodie\HC1\app4
$ hoodie start

.d$b.  .d$b.  .d$$$$$$b.    .d$$$$$$b.  .d$$$$$$b.  .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b.
'Q$P'  'Q$P'  'Q$$$$$$P'    'Q$$$$$$P'  'Q$$$$$$$P  'Q$P''Q$$$$$$$$P'

Version: 0.6.3 (node v4.4.0, npm 2.15.1, platform: win32)

(node) sys is deprecated. Use util instead.
Initializing...
CouchDB started: http://127.0.0.1:6042
Error: spawn C:\Program Files\Apache Software Foundation\CouchDB\bin\bin\erl.exe ENOENT
    at exports._errnoException (util.js:870:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickDomainCallback (node.js:397:17)

Stopping CouchDB...
Error: ENOENT: no such file or directory, open 'D:\Hoodie\HC1\app4\data\couch.pid'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.fs.readFileSync (fs.js:397:15)
    at MultiCouch.stop (D:\Hoodie\HC1\app4\node_modules\hoodie-server\node_modules\multicouch\lib\multicouch.js:114:23)
    at Object.exports.stop (D:\Hoodie\HC1\app4\node_modules\hoodie-server\lib\couchdb\index.js:181:11)
    at process.<anonymous> (D:\Hoodie\HC1\app4\node_modules\hoodie-server\lib\couchdb\index.js:76:13)
    at emitOne (events.js:77:13)
    at process.emit (events.js:169:7)
    at process.exit (node.js:750:17)
    at Domain.<anonymous> (D:\Hoodie\HC1\app4\node_modules\hoodie-server\lib\index.js:64:13)
gr2m commented 8 years ago

can we close this?