Open abitrolly opened 5 years ago
I noticed that developers forgot to commit an infura config:
$ docker run -ti --rm node bash
...
# root@ccb3bb37ee9c:/workspace/cyberc0n# node_modules/.bin/truffle compile
Error: Cannot find module './infura_rinkeby_deploy.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:659:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/workspace/cyberc0n/truffle.js:4:29)
at Module._compile (internal/modules/cjs/loader.js:723:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Module.require (internal/modules/cjs/loader.js:659:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Function.Config.load (/workspace/cyberc0n/node_modules/truffle/build/webpack:/packages/truffle-config/index.js:324:1)
at Function.Config.detect (/workspace/cyberc0n/node_modules/truffle/build/webpack:/packages/truffle-config/index.js:313:1)
at Object.run (/workspace/cyberc0n/node_modules/truffle/build/webpack:/packages/truffle-core/lib/commands/compile.js:47:1)
at Command.run (/workspace/cyberc0n/node_modules/truffle/build/webpack:/packages/truffle-core/lib/command.js:103:1)
at Object.<anonymous> (/workspace/cyberc0n/node_modules/truffle/build/webpack:/packages/truffle-core/cli.js:37:1)
at __webpack_require__ (/workspace/cyberc0n/node_modules/truffle/build/webpack:/webpack/bootstrap 56a96bb050199dd9ea24:19:1)
at /workspace/cyberc0n/node_modules/truffle/build/webpack:/webpack/bootstrap 56a96bb050199dd9ea24:65:1
at Object.<anonymous> (/workspace/cyberc0n/node_modules/truffle/build/cli.bundled.js:71:10)
at Module._compile (internal/modules/cjs/loader.js:723:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:776:12)
at executeUserCode (internal/bootstrap/node.js:342:17)
at startExecution (internal/bootstrap/node.js:276:5)
at startup (internal/bootstrap/node.js:227:5)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
root@ccb3bb37ee9c:/workspace/cyberc0n# find . -name infura_rinkeby_deploy.json
root@ccb3bb37ee9c:/workspace/cyberc0n#
How to fix that?
npm install
passed well, but getting ABI withsolc
fails.