Saturday 18 March 2017

wasted lot of time fixing starting ethereum test network

 not compiled. Pure JS implementation will be used.
E:\ethtestnetwork\testrpc\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=nodeFS["readFileSync"](filename);if(!r

Error: Could not locate the bindings file. Tried:
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\build\leveldown.node
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\build\Debug\leveldown.node
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\build\Release\leveldown.node
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\out\Debug\leveldown.node
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\Debug\leveldown.node
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\out\Release\leveldown.node
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\Release\leveldown.node
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\build\default\leveldown.node
 → E:\ethtestnetwork\testrpc\node_modules\leveldown\compiled\6.9.5\win32\x64\leveldown.node
    at bindings (E:\ethtestnetwork\testrpc\node_modules\bindings\bindings.js:88:9)
    at Object.<anonymous> (E:\ethtestnetwork\testrpc\node_modules\leveldown\leveldown.js:4:46)
    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> (E:\ethtestnetwork\testrpc\node_modules\level-browserify\level.js:1:106)

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! ethereumjs-testrpc@3.0.3 start: `node ./bin/testrpc`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the ethereumjs-testrpc@3.0.3 start script 'node ./bin/testrpc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ethereumjs-testrpc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/testrpc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ethereumjs-testrpc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ethereumjs-testrpc
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     E:\ethtestnetwork\testrpc\npm-debug.log

its a solidity error fixed it

just by npm install leveldown



No comments:

Post a Comment