microsoft / microsoft/tslib

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.

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

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

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.