Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

version mismatch of emittery in truffle/events and truffle/ganache #6045

Open
1 task
MJT444 opened this issue May 13, 2023 · 0 comments
Open
1 task

version mismatch of emittery in truffle/events and truffle/ganache #6045

MJT444 opened this issue May 13, 2023 · 0 comments

Comments

@MJT444
Copy link

MJT444 commented May 13, 2023


Issue

I am getting an error which I have pasted in the below section when running truffle migrate.

I am getting this issue probably due to the version mismatch of emittery between truffle/events and truffle/ganache if not please guide about the real issue. Please solve the issue or enlighten me about the steps to solve the issue.

Steps to Reproduce

Please provide the shortest amount of steps to reproduce your issue.

Expected Behavior

I expect the above error to not occur

Actual Results

const mixin = emittery_1.default.mixin.bind(emittery_1.default);
^
TypeError: Cannot read properties of undefined (reading 'bind')

at Object.call (C:\Users\xyz\AppData\Roaming\npm\node_modules\truffle\node_modules\ganache\dist\node\webpack:\Ganache\utils\lib\src\things\promievent.js:23:40)

Environment

  • Operating System: windows 10
  • Ethereum client: ganache
  • Truffle version (truffle 5.8.4):
  • node version (node --18.13):
  • npm version (npm --7.6.0):
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant