Skip to content

Instantly share code, notes, and snippets.

@makoto
Created May 31, 2018 15:07
Show Gist options
  • Save makoto/4531f2b0bd656be8d8ee6056e8200e0c to your computer and use it in GitHub Desktop.
Save makoto/4531f2b0bd656be8d8ee6056e8200e0c to your computer and use it in GitHub Desktop.
makoto@Makotos-MacBook-Air: [~/work/ens/dnsprove-js - (dnsprove)] $ ls node_modules/@ensdomains/dnssec-oracle/contracts/RSASHA1Algorithm.sol
node_modules/@ensdomains/dnssec-oracle/contracts/RSASHA1Algorithm.sol
makoto@Makotos-MacBook-Air: [~/work/ens/dnsprove-js - (dnsprove)] $ ls node_modules/dnssec-oracle/contracts/RSASHA1Algorithm.sol
node_modules/dnssec-oracle/contracts/RSASHA1Algorithm.sol
makoto@Makotos-MacBook-Air: [~/work/ens/dnsprove-js - (dnsprove)] $ node inspect node_modules/.bin/truffle migrate
< Debugger listening on ws://127.0.0.1:9229/12a647df-fb0d-45da-a906-0db3172da72b
< For help see https://nodejs.org/en/docs/inspector
< Debugger attached.
debug> c
Break on start in node_modules/truffle/build/cli.bundled.js:1
> 1 (function (exports, require, module, __filename, __dirname) {
2
3 /******/ (function(modules) { // webpackBootstrap
< Using network 'development'.
< Running migration: 2_deploy_contracts.js
break in migrations/2_deploy_contracts.js:1
> 1 debugger
2 var rsasha1 = artifacts.require("@ensdomains/dnssec-oracle/contracts/RSASHA1Algorithm");
3 var rsasha256 = artifacts.require("@ensdomains/dnssec-oracle/contracts/RSASHA256Algorithm.sol");
debug> repl
Press Ctrl + C to leave debug repl
> artifacts.require("@ensdomains/dnssec-oracle/contracts/RSASHA1Algorithm")
Error: Could not find artifacts for @ensdomains/dnssec-oracle/contracts/RSASHA1Algorithm from any sources
at Resolver.require (/Users/makoto/work/ens/dnsprove-js/node_modules/truffle/build/cli.bundled.js:63317:9)
at Object.require (/Users/makoto/work/ens/dnsprove-js/node_modules/truffle/build/cli.bundled.js:75276:36)
at ResolverIntercept.require (/Users/makoto/work/ens/dnsprove-js/node_modules/truffle/build/cli.bundled.js:218313:32)
at eval (eval at <anonymous> (/Users/makoto/work/ens/dnsprove-js/migrations/2_deploy_contracts.js:1:1), <anonymous>:1:11)
at /Users/makoto/work/ens/dnsprove-js/migrations/2_deploy_contracts.js:1:1
at ContextifyScript.Script.runInContext (vm.js:59:29)
at ContextifyScript.Script.runInNewContext (vm.js:65:15)
at /Users/makoto/work/ens/dnsprove-js/node_modules/truffle/build/cli.bundled.js:121314:14
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
> artifacts.require("dnssec-oracle/contracts/RSASHA1Algorithm")
[Function: TruffleContract]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment