No information in stack trace about which dependency can't be resolved
See original GitHub issueI’m submitting a…
[ ] Regression
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
I try to testing e2e using provided example in documentation, ( I have mongoose module also for database integration) but I got error, and can’t figure out, where I have mistake due to no detailed information about dependency which can’t be resolved.
"before all" hook:
Error: Nest can't resolve dependencies of the useFactory (?). Please verify whether [0] argument is available in the current context.
at Injector.lookupComponentInExports (node_modules/@nestjs/core/injector/injector.js:129:19)
Expected behavior
Good to have detailed info in stack trace about which dependency can’t be resolved. (Angular provide detailed info about which dependency can’t be resolved)
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
Nest version: 5.0.0
For Tooling issues:
- Node version: 10.1
- Platform: Mac
Others:
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Maven Could not resolve dependencies, artifacts could not be ...
Doing mvn dependency:tree, dependency:list, or the usual build package, will result in the same error. The error from running the 'package' ...
Read more >Failure with Add API Dependency in Studio 7.4.1. An error ...
I'm unable to add any API dependency. I'm getting the following stack trace. I can't for the life of me figure out what's...
Read more >Setting up Jenkins to run automated tests against expression ...
Could not resolve all dependencies for configuration ':classpath'. ... running with the --stacktrace option to get more information as to what went wrong....
Read more >Gradle build error. Build failed with an exception - Help/Discuss
Could not resolve all task dependencies for configuration ... Run with --stacktrace option to get the stack trace. Run with --info or ...
Read more >Cannot resolve dependencies... - Optimizely World
Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In
v5.0.1
you should receive a more descriptive error. Let me know if you still face any issueThis thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.