TypeError: Cannot read properties of undefined (reading 'stats') #159
Unanswered
codedog1229
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
May I ask what version of truffle I can use with? I encountered an error when using the latest version of truffle. Here are the errors I encountered =====
Coverage: ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0% | Remaining budget: 100%Trace: Error: Cous
at Resolver.require (/usr/local/lib/node_modules/@syntest/solidity/node_modules/truffle/bui)
at Object.require (/usr/local/lib/node_modules/@syntest/solidity/node_modules/truffle/build)
at Object. (/home/job/desktop/dapp/.syntest/tests/tempTest.js:1:26)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Function.Module._load (node:internal/modules/cjs/loader:922:12)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at require (node:internal/modules/cjs/helpers:103:18)
at /usr/local/lib/node_modules/@syntest/solidity/node_modules/truffle/node_modules/mocha/li6
at Array.forEach ()
at Mocha.loadFiles (/usr/local/lib/node_modules/@syntest/solidity/node_modules/truffle/node)
at Mocha.run (/usr/local/lib/node_modules/@syntest/solidity/node_modules/truffle/node_modul)
at /usr/local/lib/node_modules/@syntest/solidity/node_modules/truffle/build/webpack:/packag1
at new Promise ()
at Object.run (/usr/local/lib/node_modules/@syntest/solidity/node_modules/truffle/build/web{
level: 'error',
[Symbol(level)]: 'error',
[Symbol(message)]: '{"level":"error"}'
}
at SolidityRunner. (/usr/local/lib/node_modules/@syntest/solidity/src/testcase/e)
at Generator.throw ()
at rejected (/usr/local/lib/node_modules/@syntest/solidity/dist/testcase/execution/Solidity)
Trace: TypeError: Cannot read properties of undefined (reading 'stats')
at SolidityRunner. (/usr/local/lib/node_modules/@syntest/solidity/src/testcase/e)
at Generator.throw ()
at rejected (/usr/local/lib/node_modules/@syntest/solidity/dist/testcase/execution/Solidity)
at SolidityLauncher. (/usr/local/lib/node_modules/@syntest/solidity/src/Solidity)
at Generator.throw ()
at rejected (/usr/local/lib/node_modules/@syntest/solidity/dist/SolidityLauncher.js:23:65)
Beta Was this translation helpful? Give feedback.
All reactions