`embark blockchain` crashes on a new installation (Cannot read property '1' of null)
See original GitHub issueOS: Win10 Embark version: 2.4.2
Just installed embark and ran embark blockchain
Got
===============================================================================
===============================================================================
Embark Blockchain Using: Go-Ethereum (https://github.com/ethereum/go-ethereum)
===============================================================================
===============================================================================
running: geth --networkid 12301 --datadir=".embark/development/datadir" --password config/development/password account list
WARN [05-24|13:54:45] No etherbase set and no accounts found as default
already initialized
C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\lib\cmds\blockchain\blockchain.js:79
address = result.output.match(/{(\w+)}/)[1];
^
TypeError: Cannot read property '1' of null
at Blockchain.initChainAndGetAddress (C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\lib\cmds\blockchain\blockchain.js:79:45)
at Blockchain.run (C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\lib\cmds\blockchain\blockchain.js:50:22)
at Object.blockchain (C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\lib\index.js:46:16)
at Command.<anonymous> (C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\lib\cmd.js:97:17)
at Command.listener (C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\node_modules\commander\index.js:301:8)
at emitTwo (events.js:106:13)
at Command.emit (events.js:192:7)
at Command.parseArgs (C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\node_modules\commander\index.js:615:12)
at Command.parse (C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\node_modules\commander\index.js:458:21)
at Cmd.process (C:\Users\User\AppData\Roaming\nvm\v7.5.0\node_modules\embark\lib\cmd.js:26:11)
Issue Analytics
- State:
- Created 6 years ago
- Comments:17
Top Results From Across the Web
`embark blockchain` crashes on a new installation (Cannot ...
embark blockchain crashes on a new installation (Cannot read property '1' of null) #272. Closed. ripper234 opened this issue on May 24, ...
Read more >embark-framework/Lobby - Gitter
So if your project was initialized with v4 but you then installed v5, ... You mean a freshly created one with latest embark...
Read more >embark demo not working - Stack Overflow
The error is due to Blockchain.initChainAndGetAddress (/usr/local/lib/node_modules/embark/lib/blockchain.js:69:45) as shown in your error ...
Read more >RStudio crashes with error: Cannot read property 'L' of null
RStudio is crashing every now and then. This is the rsession from Diagnostics. I'm seeing Cannot read property 'L' of null; frew times....
Read more >Error with QABS crashing, TypeError - RPG Maker Forums
... the game crashes with a "TypeError: Cannot read property 'naturalWidth' of null" Could anyone help me find and possibly fix the issue?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Similar to @TortuePatate, I solved it by running:
geth --datadir=".embark/development/datadir" --password config/development/password account new
Embark should probably run this beforeaccount list
Hi there, I’ve got exactly the same problem but I’m running on Mac OS X. I tried to tweak the config/blockchain.json file on lines 13, 24 and 35 (“account”) but to no avail.
I’ve got an account properly set up on geth but it is not recognised when using embark.