decentraland / bronzeage-node

DEPRECATED: This codebase will not be mantained anymore, and formats are going to change when we move to the Decentraland Iron Age
https://decentraland.org
Other
104 stars 22 forks source link

Secp256k1 bindings are not compiled. Pure JS implementation will be used. - Windows 10 #80

Open diogofgr opened 7 years ago

diogofgr commented 7 years ago

I am trying to run a node on windows 10 home, using Docker Toolbox.

Installed nvm-windows 1.1.5, node 8.2.1 and npm 5.3.0.

I've put the key on the bin/start file.

I have done this - https://github.com/decentraland/bronzeage-node/issues/1

But the node doesn't start! When I do ./bin/start I get the following:

$ ./bin/start
Starting Decentraland web dashboard!. The node will start shortly
Secp256k1 bindings are not compiled. Pure JS implementation will be used.                                               
Running server on port 5000. Visit http://localhost:5000 to see it
Error: listen EADDRINUSE :::5000 
               at Object.exports._errnoException (util.js:1024:11)
               at exports._exceptionWithHostPort (util.js:1047:20)
               at Server.setupListenHandle [as _listen2] (net.js:1319:14)
               at listenInCluster (net.js:1367:12)                                                  
               at Server.listen (net.js:1467:7)                                                                                        
               at C:\Users\diogo\bronzeage-node\lib\http\base.js:424:17                                                   
               at Promise (<anonymous>)  
               at HTTPBase.listen (C:\Users\diogo\bronzeage-node\lib\http\base.js:421:10)               
               at Object.<anonymous> (C:\Users\diogo\bronzeage-node\browser\server.js:133:8)    
               at Module._compile (module.js:569:30)     
Starting node                                                                                                          
Secp256k1 bindings are not compiled. Pure JS implementation will be used.                                               C:\Users\diogo\bronzeage-node\lib\db\backends.js:17                          
               throw new Error(`Database backend "${name}" could not be loaded:\n${e}`);               
               ^   
                                                                                                                                                                                                                                        Error: Database backend "leveldown" could not be loaded:                                                                
Error: Cannot find module 'leveldown'                                                                                       
              at Object.get (C:\Users\diogo\bronzeage-node\lib\db\backends.js:17:11)                 
              at Function.getTarget (C:\Users\diogo\bronzeage-node\lib\db\ldb.js:121:21)                
              at LDB (C:\Users\diogo\bronzeage-node\lib\db\ldb.js:32:20)                                                              
              at new ChainDB (C:\Users\diogo\bronzeage-node\lib\blockchain\chaindb.js:66:13)          
              at new Chain (C:\Users\diogo\bronzeage-node\lib\blockchain\chain.js:85:13)                   
              at new FullNode (C:\Users\diogo\bronzeage-node\lib\node\fullnode.js:64:16)                 
              at Object.<anonymous> (C:\Users\diogo\bronzeage-node\bin\node:26:12)                   
              at Module._compile (module.js:569:30)                                                                                  
              at Object.Module._extensions..js (module.js:580:10)                                                                    
              at Module.load (module.js:503:32)

I've tried googling Secp256k1 bindings are not compiled. Pure JS implementation will be used. but I didn't find any helpful results.

I'm new to this blockchain, bitcoin thing. Can anyone help please...