question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Invalid entropy

See original GitHub issue

Hello, I just installed solidity-solr but I can’t run it, I keep getting this message:

$ solr
C:\Users\davux\AppData\Roaming\npm\node_modules\solidity-repl\node_modules\solc\soljson.js:1
(function (exports, require, module, __filename, __dirname) { var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath["normalize"](filename);var ret

TypeError: Invalid entropy
    at Object.entropyToMnemonic (C:\Users\davux\AppData\Roaming\npm\node_modules\solidity-repl\node_modules\bip39\index.js:94:37)
    at new StateManager (C:\Users\davux\AppData\Roaming\npm\node_modules\solidity-repl\node_modules\ethereumjs-testrpc\lib\statemanager.js:45:45)
    at new GethApiDouble (C:\Users\davux\AppData\Roaming\npm\node_modules\solidity-repl\node_modules\ethereumjs-testrpc\lib\subproviders\geth_api_double.js:17:33)
    at Object.provider (C:\Users\davux\AppData\Roaming\npm\node_modules\solidity-repl\node_modules\ethereumjs-testrpc\lib\interface.js:161:25)
    at Object.provider (C:\Users\davux\AppData\Roaming\npm\node_modules\solidity-repl\node_modules\ethereumjs-testrpc\index.js:9:22)
    at Object.<anonymous> (C:\Users\davux\AppData\Roaming\npm\node_modules\solidity-repl\index.js:26:31)
    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.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\davux\AppData\Roaming\npm\node_modules\solidity-repl\bin.js:4:14)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
$ node --version
v6.10.2

FWIW, I’m running Windows 7.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
findcoocommented, Jun 21, 2017

ethereumjs-testrpc conflict wtih bip39. please fix correct library version.

0reactions
raineorshinecommented, Aug 9, 2017

Thanks @rojotek! I must have missed the previous message. Published in v0.3.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Invalid Entropy" when using Mnemonic password derived ...
It seems that mnemonicToSeed() returns a Buffer that contains "too much" entropy?
Read more >
python - InvalidArgumentError: 2 root error(s) found. (0) Invalid ...
I am facing below error when trying to train a multi-class classification model ( 4 classes) for Image dataset. Even though my output...
Read more >
How to use the bitcoinjs-lib.ECPair function in bitcoinjs-lib - Snyk
isInfinity(childPoint)) { throw new TypeError('Entropy is resulting in an invalid child public key') } return new ECPair(null, childPoint, {}) }.
Read more >
Invalid argument error: logits and labels must be broadcastable
Whenever I try to execute this vgg16 code I get an error like this: Node: 'categorical_crossentropy/softmax_cross_entropy_with_logits' ...
Read more >
The Sharp Bits — JAX documentation
TypeError : sum requires ndarray or scalar arguments, got <class 'list'> at position ... JAX instead implements an explicit PRNG where entropy production...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found