Skip to content

Error: Cannot find module 'web3/src' #2

@hotam-singh

Description

@hotam-singh

I am not able to start order matching engine with command: node index.js inside /order-matching-engine/

NodeJS Version: 8.12.0
MongoDB Version: 3.6.3

getting below error:

Error: Cannot find module 'web3/src'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.module.exports.Object.defineProperty.value (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/external "web3/src":1:1)
at e (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/webpack/bootstrap 2f485c0669857424f464:19:1)
at Object. (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/src/eth/eth-engine.ts:1:1)
at e (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/webpack/bootstrap 2f485c0669857424f464:19:1)
at Object. (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/src/eth/eth-atomic-swap.ts:13:1)
at e (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/webpack/bootstrap 2f485c0669857424f464:19:1)
at Object.module.exports.r.__assign.Object.assign.n (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/src/eth/eth-wallet.ts:2:1)
at e (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/webpack/bootstrap 2f485c0669857424f464:19:1)
at Object.module.exports.r.__extends.Object.setPrototypeOf.proto (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/src/eth/index.ts:1:1)
at e (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/webpack/bootstrap 2f485c0669857424f464:19:1)
at Object.module.exports.Object.defineProperty.value (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/src/index.ts:3:1)
at e (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/webpack/bootstrap 2f485c0669857424f464:19:1)
at module.exports.r.__extends.Object.setPrototypeOf.proto (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/webpack/bootstrap 2f485c0669857424f464:62:1)
at Object. (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/altcoinio-wallet/dist/webpack:/webpack/bootstrap 2f485c0669857424f464:62:1)
at Module._compile (module.js:653:30)
at Module._extensions..js (module.js:664:10)
at Object.require.extensions.(anonymous function) [as .js] (/root/new-core/altcoin-exchange/order-matching-engine/node_modules/ts-node/src/index.ts:384:14)
at Module.load (module.js:566:32)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions