current position:Home>Error entering truss control

Error entering truss control

2022-02-03 22:46:34 Q & A of Denglian community

[email protected]:~/ebay_dapp$ truffle developError: Cannot find module 'babel-register'at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)at Function.Module._load (internal/modules/cjs/loader.js:497:25)at Module.require (internal/modules/cjs/loader.js:626:17)at require (internal/modules/cjs/helpers.js:20:18)at Object.<anonymous> (/home/ubuntu/ebay_dapp/truffle.js:2:1)at Module._compile (internal/modules/cjs/loader.js:678:30)at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)at Module.load (internal/modules/cjs/loader.js:589:32)at tryModuleLoad (internal/modules/cjs/loader.js:528:12)at Function.Module._load (internal/modules/cjs/loader.js:520:3)




Take the answer 1:

The project does not have a dependency library installed . At the root of the project npm instal You can solve the problem by installing the dependency .




copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032246329698.html

Random recommended