-
Notifications
You must be signed in to change notification settings - Fork 21
Description
I keep getting this error despite following your tutorials correctly, I also get this error for every other tron example dapp.
(node:7128) UnhandledPromiseRejectionWarning: Error: Invalid URL provided to HttpProvider
at new e (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/tronwrap/tronweb/dist/TronWeb.node.js:1:16497)
at Object.create (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-provider/index.js:70:1)
at Config.get [as provider] (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-config/index.js:278:1)
at provision (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-provisioner/index.js:4:1)
at Resolver.require (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-resolver/index.js:34:1)
at Object.lastCompletedMigration (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-migrate/index.js:266:1)
at Object.needsMigrating (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-migrate/index.js:295:1)
at runMigrations (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-core/lib/commands/migrate.js:94:1)
at /home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-core/lib/commands/migrate.js:125:1
at /home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/truffle-core/lib/environment.js:65:1
at cb (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/tronwrap/index.js:146:1)
at axios.get.then.catch.err (/home/ljr/.npm-global/lib/node_modules/tronbox/build/webpack:/packages/tronwrap/index.js:174:1)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:7128) 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(). (rejection id: 1)
(node:7128) [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.