LiskArchive / lisk-dapps-sdk

:octocat: Prototype SDK for the Lisk blockchain application platform
https://lisk.io/
MIT License
43 stars 27 forks source link

dapp cannot be loaded #7

Closed TheGoldenEye closed 8 years ago

TheGoldenEye commented 8 years ago

FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope

The error can be reproduced with a newly created dapp (lisk-cli dapps -a) Lisk version 0.3.1, private testnet

info 2016-06-06 21:57:28 Forging enabled on account: 15434105908147528073L 
info 2016-06-06 21:57:28 Forged new block id: 1501722308861472731 height: 2 round: 1 slot: 114104 reward: 0 
error 2016-06-06 21:57:29 Application not found 
Failed to launch application 10113539455696385153: Dapp not found
Launched application 12119915503893025515 successfully
Debug /home/jens/src/coins/lisk/lisk/dapps/12119915503893025515/index.js: 

Dapp loading process pid 13637

Debug /home/jens/src/coins/lisk/lisk/dapps/12119915503893025515/index.js: 

Dapp loaded process pid 13637

Debug /home/jens/src/coins/lisk/lisk/dapps/12119915503893025515/index.js: 

FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope

error 2016-06-06 21:57:30 DApps#onNewBlock error: Application not ready
TheGoldenEye commented 8 years ago

The error is related to nodejs/node V0.12.14 After replacing the node binary with v0.12.9 it is gone. Duplicate to https://github.com/LiskHQ/lisk-node/issues/2