-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERR_ASSERTION]: Constructor already exists! ([email protected] + [email protected]) #847
Comments
Hi @remojansen I saw you closed the issue #703 (similar to the one I just opened) by suggesting to upgrade to Any idea of how |
The I manually changed the version of |
I'm also blocked upgrading to the most recent versions of Inversify and Restify by this. Could a new version be published to npm? That would be incredibly helpful. |
I resolved this problem in current version
From restify version 6 I have same problem, when I do not install the restify-errors module. |
@hlibco |
Similar to the closed issue #703 (but with a newer version of restify)
Expected Behavior
It should start the
restify
server without problems.Current Behavior
As soon as
restify
is imported an error is thrown:[ERR_ASSERTION]: Constructor already exists!
Possible Solution
To use
[email protected]
I had to downgrade Restify to[email protected]
Steps to Reproduce (for bugs)
Clone the following repo: https://github.com/hlibco/restify-inversify-constructor-error
yarn install
ornpm install
yarn start
ornpm start
Your Environment
Stack trace
The text was updated successfully, but these errors were encountered: