main.js:1 Uncaught Error: Cannot find module 'tslib'
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
**While running angular 12 version getting the below runtime error , in and around googled not getting correct solution
Having typescript "typescript": "4.2", "tslib": "^2.3.1"**
========= below are errors are runtime error unable to run ====================
main.js:1 Uncaught Error: Cannot find module 'tslib'
at Y (main.js:1)
at main.js:1
at main.js:1
at Object.66458 (main.js:1)
at r (runtime.js:1)
at Object.50124 (main.js:1)
at r (runtime.js:1)
at Y (main.js:1)
at main.js:1
at t (runtime.js:1)
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
Start by reproducing the Angular 12 runtime failure and inspect the generated main.js and runtime.js entry points alongside the stated TypeScript and tslib versions. Determine why the bundled application cannot resolve tslib; done means the application starts without the reported module error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100