dat-ecosystem-archive / datproject-discussions

a repo for discussions and other non-code organizing stuff [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
65 stars 6 forks source link

Try Dat: Error: Cannot find module 'subcommand' #76

Closed ilyaigpetrov closed 7 years ago

ilyaigpetrov commented 7 years ago
[try-dat] ~ $ npm install -g dat # finishes fine
[try-dat] ~ $ dat share                                                                              
module.js:471                                                                                        
    throw err;                                                                                       
    ^                                                                                                

Error: Cannot find module 'subcommand'                                                               
    at Function.Module._resolveFilename (module.js:469:15)                                           
    at Function.Module._load (module.js:417:25)                                                      
    at Module.require (module.js:497:17)                                                             
    at require (internal/module.js:20:19)                                                            
    at Object.<anonymous> (/usr/local/lib/node_modules/dat/bin/cli.js:3:18)                          
    at Module._compile (module.js:570:32)                                                            
    at Object.Module._extensions..js (module.js:579:10)                                              
    at Module.load (module.js:487:32)                                                                
    at tryModuleLoad (module.js:446:12)                                                              
    at Function.Module._load (module.js:438:3)
ilyaigpetrov commented 7 years ago

sudo npm install -g dat