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
Error: No matching bindings found for serviceIdentifier: Symbol() #25
Comments
Hello probably this will help https://github.com/CKGrafico/inversify-props#how-to-configure-uglify-or-terser |
Good idea! I didn't think about that the class names would be changed during productive construction. Thanks for the hint. |
Sorry probably is not well documented, I accept suggestions |
I am having this problem after upgrading to 2.2.6 from 1.4.9. It seems to only happen if I inject more than one dependency into a vue component. If I down grade to 1.4.9 everything works as expected. |
Are you decorating your classes with @Injectable? because is not required anymore |
I was initially but I saw the other issue about that so I removed injectable from all of my classes and still was getting the same error. |
Can you share a sandbox to reproduce? |
In production build I get the following error with injecting a service in a Vue component
vue.runtime.esm.js:1888 Error: No matching bindings found for serviceIdentifier: Symbol(TestService)
.In dev build everything works.
Production build with:
vue-cli-service build
Dev build with:
vue-cli-service serve
orvue-cli-service build --mode development
I made a simple project to show my issue:
TestVueProject.zip
The text was updated successfully, but these errors were encountered: