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

Missing tslib module #42

Closed
alxdrg opened this issue Apr 8, 2020 · 1 comment
Closed

Missing tslib module #42

alxdrg opened this issue Apr 8, 2020 · 1 comment

Comments

@alxdrg
Copy link

alxdrg commented Apr 8, 2020

The tslib module was removed in version 1.8 but is required by typescript in the transpiled code. See the importHelpers flag set in tsconfig.json.

From typescript documentation:

--importHelpers | boolean | false | Import emit helpers (e.g. __extends, __rest, etc..) from tslib

This issue makes all the applications, that doesn't have the tslib module installed as its dependencies or by other modules, to break with the following error:

Error: Cannot find module 'tslib'
Require stack:
- /app/node_modules/routing-controllers-openapi/build/index.js
@epiphone
Copy link
Owner

Restored tslib in 1.8.1, thanks for notifying!

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

2 participants