hex7c0/mongodb-backup

Can't install on Meteor package?

Closed this issue · 0 comments

I try to create Meteor package

Package.describe({
  name: 'theara:app-dump',
  version: '0.0.2',
  // Brief, one-line summary of the package.
  summary: 'Dump',
  // URL to the Git repository containing the source code for this package.
  git: '',
  // By default, Meteor will default to using README.md for documentation.
  // To avoid submitting documentation, set this field to null.
  documentation: 'README.md'
});

Package.onUse(function(api) {
  api.versionsFrom('METEOR@1.0');
  api.use('ecmascript');
  api.addFiles('app-dump.js');
});

Package.onTest(function(api) {
  api.use('ecmascript');
  api.use('tinytest');
  api.use('theara:app-dump');
  api.addFiles('app-dump-tests.js');
});

Npm.depends({
  "mongodb-backup": "1.4.1"
});

And then install it meteor add theara:app-dump, but show:

$ meteor add theara:app-dump                                                                                                                         
theara:app-dump: updating npm dependencies -- mongodb-backup...                                                                               
 => Errors while adding packages:                                                                                                                    

While building package theara:app-dump:                                                                                                              
error: couldn't install npm package mongodb-backup@1.4.1: Command failed: npm http GET https://registry.npmjs.org/mongodb-backup                     
npm http 304 https://registry.npmjs.org/mongodb-backup                                                                                               
npm http GET https://registry.npmjs.org/bson                                                                                                         
npm http GET https://registry.npmjs.org/fstream                                                                                                      
npm http GET https://registry.npmjs.org/mongodb                                                                                                      
npm http GET https://registry.npmjs.org/tar                                                                                                          
npm http GET https://registry.npmjs.org/logger-request                                                                                               
npm http 304 https://registry.npmjs.org/mongodb                                                                                                      
npm http 304 https://registry.npmjs.org/fstream                                                                                                      
npm http 304 https://registry.npmjs.org/bson                                                                                                         
npm http 304 https://registry.npmjs.org/logger-request                                                                                               
npm http 304 https://registry.npmjs.org/tar                                                                                                          
npm ERR! Error: version not found: bson@0.4.11                                                                                                       
npm ERR!     at                                                                                                                                      
C:\Users\Theara\AppData\Local\.meteor\packages\meteor-tool\1.1.9\mt-os.windows.x86_32\dev_bundle\bin\node_modules\npm\lib\cache.js:846:12            
npm ERR!     at saved                                                                                                                                
(C:\Users\Theara\AppData\Local\.meteor\packages\meteor-tool\1.1.9\mt-os.windows.x86_32\dev_bundle\bin\node_modules\npm\node_modules\npm-registry-clie
nt\lib\get.js:148:7)                                                                                                                                 
npm ERR!     at                                                                                                                                      
C:\Users\Theara\AppData\Local\.meteor\packages\meteor-tool\1.1.9\mt-os.windows.x86_32\dev_bundle\bin\node_modules\npm\node_modules\graceful-fs\polyfi
lls.js:133:7                                                                                                                                         
npm ERR!     at Object.oncomplete (fs.js:108:15)                                                                                                     
npm ERR! If you need help, you may report this *entire* log,                                                                                         
npm ERR! including the npm and node versions, at:                                                                                                    
npm ERR!     <http://github.com/npm/npm/issues>                                                                                                      

npm ERR! System Windows_NT 6.1.7600                                                                                                                  
npm ERR! command "C:\\Users\\Theara\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.9\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe"       
"C:\\Users\\Theara\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.9\\mt-os.windows.x86_32\\dev_bundle\\bin\\node_modules\\npm\\bin\\npm-cli.js"

"install" "mongodb-backup@1.4.1"                                                                                                                     
npm ERR! cwd D:\meteor-app\dump_1.2\packages\app-dump\.npm\package-new-ycs0cr                                                                        
npm ERR! node -v v0.10.40                                                                                                                            
npm ERR! npm -v 1.4.9                                                                                                                                
npmnpm http GET https://registry.npmjs.org/mongodb-backup                                                                                            
npm http 304 https://registry.npmjs.org/mongodb-backup                                                                                               
npm http GET https://registry.npmjs.org/bson                                                                                                         
npm http GET https://registry.npmjs.org/fstream                                                                                                      
npm http GET https://registry.npmjs.org/mongodb                                                                                                      
npm http GET https://registry.npmjs.org/tar                                                                                                          
npm http GET https://registry.npmjs.org/logger-request                                                                                               
npm http 304 https://registry.npmjs.org/mongodb                                                                                                      
npm http 304 https://registry.npmjs.org/fstream                                                                                                      
npm http 304 https://registry.npmjs.org/bson                                                                                                         
npm http 304 https://registry.npmjs.org/logger-request                                                                                               
npm http 304 https://registry.npmjs.org/tar                                                                                                          
npm ERR! Error: version not found: bson@0.4.11                                                                                                       
npm ERR!     at                                                                                                                                      
C:\Users\Theara\AppData\Local\.meteor\packages\meteor-tool\1.1.9\mt-os.windows.x86_32\dev_bundle\bin\node_modules\npm\lib\cache.js:846:12            
npm ERR!     at saved                                                                                                                                
(C:\Users\Theara\AppData\Local\.meteor\packages\meteor-tool\1.1.9\mt-os.windows.x86_32\dev_bundle\bin\node_modules\npm\node_modules\npm-registry-clie
nt\lib\get.js:148:7)                                                                                                                                 
npm ERR!     at                                                                                                                                      
C:\Users\Theara\AppData\Local\.meteor\packages\meteor-tool\1.1.9\mt-os.windows.x86_32\dev_bundle\bin\node_modules\npm\node_modules\graceful-fs\polyfi
lls.js:133:7                                                                                                                                         
npm ERR!     at Object.oncomplete (fs.js:108:15)                                                                                                     
npm ERR! If you need help, you may report this *entire* log,                                                                                         
npm ERR! including the npm and node versions, at:                                                                                                    
npm ERR!     <http://github.com/npm/npm/issues>                                                                                                      

npm ERR! System Windows_NT 6.1.7600                                                                                                                  
npm ERR! command "C:\\Users\\Theara\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.9\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe"       
"C:\\Users\\Theara\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.1.9\\mt-os.windows.x86_32\\dev_bundle\\bin\\node_modules\\npm\\bin\\npm-cli.js"

"install" "mongodb-backup@1.4.1"                                                                                                                     
npm ERR! cwd D:\meteor-app\dump_1.2\packages\app-dump\.npm\package-new-ycs0cr                                                                        
npm ERR! node -v v0.10.40                                                                                                                            
npm ERR! npm -v 1.4.9                                                                                                                                
npm