truffle-box / metacoin-box

MetaCoin smart contracts example box
MIT License
123 stars 93 forks source link

Error in testing #2

Open plash29 opened 6 years ago

plash29 commented 6 years ago

when i run truffle test then it give error

truffle(develop)> truffle test Error: ENOENT: no such file or directory, stat 'C:\Users\PANKAJ~1.THA\AppData\Local\Temp\test-118012-4848-1su7qri.7joq\ConvertLib.json' truffle(develop)> $ truffle test Using network 'develop'. 0 passing (0ms)

wbt commented 5 years ago

In what directory are you running this? Does it work when you're not using a temp directory?

AjiteshBD commented 5 years ago

you need cd into project directory where truffle-config.js is located and then run $truffle test. hope this help