You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running npm run truffle-migrate inside the contracts directory. But I'm getting:
Error: Cannot find module 'babel-register'
Require stack:
- /Users/prikshetsharma/Desktop/audius-protocol-master/contracts/truffle-config.js
- /Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/original-require/index.js
- /Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/cli.bundled.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/Users/prikshetsharma/Desktop/audius-protocol-master/contracts/truffle-config.js:8:1)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at Object.require (internal/modules/cjs/helpers.js:88:18)
at Function.load (/Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/webpack:/packages/config/dist/index.js:145:1)
at Function.detect (/Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/webpack:/packages/config/dist/index.js:134:1)
at Object.run (/Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/webpack:/packages/core/lib/commands/compile.js:53:1)
at Command.run (/Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/webpack:/packages/core/lib/command.js:136:1)
at Object.<anonymous> (/Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/webpack:/packages/core/cli.js:52:1)
at __webpack_require__ (/Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/webpack:/webpack/bootstrap d3abaec0ba5c4953076d:19:1)
at /Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/webpack:/webpack/bootstrap d3abaec0ba5c4953076d:65:1
at Object.<anonymous> (/Users/prikshetsharma/Desktop/audius-protocol-master/contracts/node_modules/truffle/build/cli.bundled.js:71:10)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
How to fix this?
The text was updated successfully, but these errors were encountered:
I'm running npm run truffle-migrate inside the contracts directory. But I'm getting:
How to fix this?
The text was updated successfully, but these errors were encountered: