loopbackio / loopbackio/loopback.io
Binding.on getting issue
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 276
- Forks
- 382
- Avg merge
- 6h 17m
- Merged PRs (30d)
- 18
Description
URL of the page
If applicable.
Nature of the issue
TypeError: binding.on is not a function
node_modules/@loopback/core/node_modules/@loopback/context/src/context-tag-indexer.ts:50:17)
Expected behavior
What did you expect to happen?this.comonent(Compoent) in Application.ts
when i tried to bind component it should work like
Actual behavior
What actually happenend, with steps to reproduce (if applicable).
Create an application
Create a component and bind in Apllications.ts
Suggested resolution
How do you think this should be resolved (optional).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the component-binding example in Application.ts and reproduce the reported TypeError by creating an application, creating a component, and binding it. Compare the documented usage with the expected this.component(Component) behavior; done means the binding works without the binding.on is not a function error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100