XEN-crypto icon indicating copy to clipboard operation
XEN-crypto copied to clipboard

Repo does not compile for some reason in Math.sol

Open mastergaurang94 opened this issue 3 years ago • 0 comments

gaurangpatel@:~/Desktop/dev/XEN-crypto$ npm run test

@faircrypto/[email protected] test truffle test

TypeError: Error parsing /Users/gaurangpatel/Desktop/dev/XEN-crypto/contracts/Math.sol: Cannot read properties of undefined (reading 'addFunction') at runWithReadCallback (/usr/local/lib/node_modules/truffle/build/webpack:/~/solc/wrapper.js:37:1) at compileStandard (/usr/local/lib/node_modules/truffle/build/webpack:/~/solc/wrapper.js:78:1) at Object.compileStandardWrapper (/usr/local/lib/node_modules/truffle/build/webpack:/~/solc/wrapper.js:85:1) at Object.parseImports (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/parser.js:47:1) at Object.getImports (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/profiler.js:374:1) at /usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/profiler.js:346:1 Truffle v5.0.5 (core: 5.0.5) Node v16.14.0

mastergaurang94 avatar Oct 08 '22 17:10 mastergaurang94