Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
siddharthvp opened this issue Apr 17, 2021 · 3 comments

Comments

@siddharthvp
Copy link

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

siddharthvp added a commit to wikimedia-gadgets/twinkle-starter that referenced this issue Apr 17, 2021
The dependencies typescript, ts-loader and tslib affect the build, so pinning their versions for reproducible builds to avoid errors such as microsoft/tslib#149.

Upgrade rest of the dependencies.
siddharthvp added a commit to wikimedia-gadgets/twinkle-enwiki that referenced this issue Apr 17, 2021
The dependencies typescript, ts-loader and tslib affect the build, so pinning their versions for reproducible builds to avoid errors such as microsoft/tslib#149.

Upgrade rest of the dependencies.
@Kr0san89
Copy link

Facing the same issue with different Versions
"TypeError: tslib_1.__spreadArray is not a function"
Version: 2.3.0 is okay but 2.3.1 gives the error

@vincent-thomas
Copy link

Same for me

@rwilliams3088
Copy link

rwilliams3088 commented Aug 15, 2023

+1 Seeing this with tslib@npm:2.5.0 (via the @ant-design/charts package)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants