You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
tslib dependencies in package.json seems to be incorrect.
Packages declare that they use Typescript@~3.8.3 and tslib@^1.8.0.
And some packages uses array spread operator, it is transpiled to code that uses __spreadArrays function of tslib by using typescript@~3.8.3.
But __spreadArrays function is instroduced tslib@1.10.0release note
Therefore build of the packages is failed in some enviroment.
SDK version number
@aws-sdk/signature-v4@1.0.0-beta.4
Is the issue in the browser/Node.js?
Node.js
Details of the browser/Node.js version
Paste output of npx envinfo --browsers or node -v
v12.16.0
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code or minimal repo)
I cannot prepare minimal code to reproduce this issue, because this issue is related to environment.
So I create a repository which contains this issue to use aws-amplify-react. yarn && yarn build may produce this issue.
Additional context
Add any other context about the problem here.
I have encountered this issue when I introduced ams-amplify-react to some old project which lockfile uses tslib@1.9.3 as tslib@^1.8.0.
I think tslib version should be upgraded to match typescript version.
Should I create PR for this issue?
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Describe the bug
A clear and concise description of what the bug is.
tslib
dependencies in package.json seems to be incorrect.Packages declare that they use
Typescript@~3.8.3
andtslib@^1.8.0
.And some packages uses array spread operator, it is transpiled to code that uses
__spreadArrays
function oftslib
by usingtypescript@~3.8.3
.But
__spreadArrays
function is instroducedtslib@1.10.0
release noteTherefore build of the packages is failed in some enviroment.
SDK version number
@aws-sdk/signature-v4@1.0.0-beta.4
Is the issue in the browser/Node.js?
Node.js
Details of the browser/Node.js version
Paste output of
npx envinfo --browsers
ornode -v
v12.16.0
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code or minimal repo)
I cannot prepare minimal code to reproduce this issue, because this issue is related to environment.
So I create a repository which contains this issue to use aws-amplify-react.
yarn && yarn build
may produce this issue.Additional context
Add any other context about the problem here.
I have encountered this issue when I introduced
ams-amplify-react
to some old project which lockfile uses tslib@1.9.3 astslib@^1.8.0
.I think tslib version should be upgraded to match typescript version.
Should I create PR for this issue?
The text was updated successfully, but these errors were encountered: