-
Notifications
You must be signed in to change notification settings - Fork 281
Closed
Labels
Description
Hi,
I got an issue when running coverage in windows:
truffle run coverage --network coverage
The coverage report shows 0% coverage for all contracts .sol file:
Error: Error: Could not find artifacts for LLibrary from any sources
at Object.run (C:\Users\abc\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\migrate\index.js?abc3:92:1)
at process._tickCallback (internal/process/next_tick.js:68:7)
Truffle v5.1.0 (core: 5.1.0)
Node v10.16.3
All smart contracts under root/contracts/*.sol are annotated by the instrumentation except interfaces, and a coverage report within the root/migration/coverage folder.
I think this is caused by the truffle test not able to be executed.
However, if I just run:
truffle test
All the tests went through successfully.
Are there any configurations I should apply in .solcover.js?
I tried with just
module.exports = {
norpc: true
};
But doesn't help.