-
Notifications
You must be signed in to change notification settings - Fork 280
Closed
Description
The location of testrpc-sc
is hardcoded as:
const npm = './node_modules/.bin/testrpc-sc';
const yarn = './node_modules/ethereumjs-testrpc-sc/build/cli.node.js';
Can the output of npm bin
be used instead?
$ pwd
/home/ravi/repo/erc20/zeppelin-hitchhiker-guide
$ npm bin
/home/ravi/repo/erc20/node_modules/.bin
Here is the error I get:
$ $(npm bin)/solidity-coverage
Generating coverage environment
Instrumenting ./coverageEnv/contracts/ConvertLib.sol
Instrumenting ./coverageEnv/contracts/MetaCoin.sol
Skipping instrumentation of ./coverageEnv/contracts/Migrations.sol
Instrumenting ./coverageEnv/contracts/ProofOfExistence1.sol
testRpc stderr:
/bin/sh: ./node_modules/.bin/testrpc-sc: No such file or directory
Cleaning up...
testRpc errored after launching as a childprocess.
Exiting without generating coverage...
$