NanoDevs / NanoLightWallet

RaiBlocks Light Wallet written in NodeJS
MIT License
53 stars 15 forks source link

erro when try start wallet #6

Closed Mokiller closed 6 years ago

Mokiller commented 6 years ago
/home/ubuntu/workspace/main.js:15
const {BrowserWindow} = remote;
                        ^

TypeError: Cannot match against 'undefined' or 'null'.
    at Object.<anonymous> (/home/ubuntu/workspace/main.js:15:25)
    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)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:504:3
augustresende commented 6 years ago

You are using electron?

Mokiller commented 6 years ago

@AugustoResende yep

augustresende commented 6 years ago

You run npm install? Are trying start using npm start?

Mokiller commented 6 years ago

@AugustoResende yeah i try do it but don't work

augustresende commented 6 years ago

You need start using npm start...

index.js is default file to start.. not main.js

augustresende commented 6 years ago

And.. is not node main, is npm start