ikhvost / truffle-nest-box Goto Github PK
View Code? Open in Web Editor NEWA truffle box to serve as the foundation of any Truffle and Nest.js dApp.
License: MIT License
A truffle box to serve as the foundation of any Truffle and Nest.js dApp.
License: MIT License
Hi. I tried to run your truffle box, but i failed and some error was shown.
After `unbox', i ran ganache-cli and truffle migrate instructions.
But when i start node server, error was shown.
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [NestFactory] Starting Nest application...
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [InstanceLoader] AppModule dependencies initialized +13ms
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [InstanceLoader] ConnectionModule dependencies initialized +0ms
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [InstanceLoader] ConfigHostModule dependencies initialized +0ms
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [InstanceLoader] ConfigModule dependencies initialized +1ms
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [InstanceLoader] ConfigModule dependencies initialized +0ms
ERROR: Cannot find Contract - undefined
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [InstanceLoader] MetacoinModule dependencies initialized +3ms
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [RoutesResolver] MetacoinController {/metacoin}: +13ms
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [RouterExplorer] Mapped {/metacoin/balance/:address, GET} route +1ms
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [RouterExplorer] Mapped {/metacoin/send-coin, POST} route +1ms
[Nest] 51594 - 2021. 05. 22. 오후 3:28:02 [NestApplication] Nest application successfully started +1ms
(node:51594) UnhandledPromiseRejectionWarning: Error: invalid ENS name (argument="name", value=undefined, code=INVALID_ARGUMENT, version=providers/5.0.9)
at Logger.makeError (/Users/keonhokim/Documents/work/truffle/truffle-nest-box/node_modules/@ethersproject/logger/lib/index.js:179:21)
at Logger.throwError (/Users/keonhokim/Documents/work/truffle/truffle-nest-box/node_modules/@ethersproject/logger/lib/index.js:188:20)
at Logger.throwArgumentError (/Users/keonhokim/Documents/work/truffle/truffle-nest-box/node_modules/@ethersproject/logger/lib/index.js:191:21)
at JsonRpcProvider. (/Users/keonhokim/Documents/work/truffle/truffle-nest-box/node_modules/@ethersproject/providers/lib/base-provider.js:1561:36)
at step (/Users/keonhokim/Documents/work/truffle/truffle-nest-box/node_modules/@ethersproject/providers/lib/base-provider.js:46:23)
at Object.next (/Users/keonhokim/Documents/work/truffle/truffle-nest-box/node_modules/@ethersproject/providers/lib/base-provider.js:27:53)
at fulfilled (/Users/keonhokim/Documents/work/truffle/truffle-nest-box/node_modules/@ethersproject/providers/lib/base-provider.js:18:58)
(Use node --trace-warnings ...
to show where the warning was created)
(node:51594) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:51594) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Can i get some advice?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.