Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

export '__spreadArray' (imported as '__spreadArray') was not found in 'tslib'

Open
#149 3 comments 19 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
build-system

Research direction

No source files or tests are named. Reproduce the export error with tslib 2.2.0, TypeScript 4.2.4, and ts-loader 8.1.0, then compare the behavior with the older pinned versions. Done means the reported dependency combination no longer produces the missing __spreadArray export error.

Written by the indexing model from the issue text.

Description

Getting this error on a project with:

  • tslib 2.2.0
  • typescript 4.2.4
  • ts-loader 8.1.0

The error goes away on pinning the versions which I was using earlier: tslib 2.0.3, typescript 4.1.2, ts-loader 8.0.13

Dominant language
TypeScript
Stars
1.3k
Forks
145
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/tslib

All issues in microsoft/tslib

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.