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
amazon-cognito-identity-js: TypeError: /workspace/amplify-js/packages/amazon-cognito-identity-js/src/AuthenticationDetails.js: isTopicReference is not a function
Code Snippet
// Put your code below this line.
Log output
Actual outcome from "yarn build":
yarn run v1.22.18
$ lerna run build --stream
lerna notice cli v3.22.1
lerna info versioning independent
lerna info Executing command in 27 packages: "yarn run build"
@aws-amplify/ui: $ npm run clean && webpack && copyfiles -u 1 ./src/*.css.d.ts ./lib
aws-amplify-vue: $ vue-cli-service build --target lib --name aws-amplify-vue ./src/Amplify.vue
aws-amplify-react-native: $ npm run lint && npm run clean && babel src --out-dir dist --extensions '.ts,.tsx,.js,.jsx' --copy-files
amazon-cognito-identity-js: $ npm run clean && npm run build:cjs && npm run build:esm && npm run build:umd
@aws-amplify/core: $ npm run clean && npm run generate-version && npm run build:esm && npm run build:cjs
@aws-amplify/ui: > @aws-amplify/ui@2.0.5 clean
@aws-amplify/ui: > rimraf dist lib
amazon-cognito-identity-js: > amazon-cognito-identity-js@5.2.8 clean
amazon-cognito-identity-js: > rimraf lib es
@aws-amplify/core: > @aws-amplify/core@4.5.2 clean
@aws-amplify/core: > rimraf lib-esm lib dist
aws-amplify-react-native: > aws-amplify-react-native@6.0.4 lint
aws-amplify-react-native: > eslint src
aws-amplify-vue: - Building for production as library (commonjs,umd,umd-min)...
amazon-cognito-identity-js: > amazon-cognito-identity-js@5.2.8 build:cjs
amazon-cognito-identity-js: > cross-env BABEL_ENV=commonjs babel src --out-dir lib
@aws-amplify/core: > @aws-amplify/core@4.5.2 generate-version
@aws-amplify/core: > genversion src/Platform/version.ts --es6 --semi
@aws-amplify/core: > @aws-amplify/core@4.5.2 build:esm
@aws-amplify/core: > rimraf lib-esm && node ./build es6
amazon-cognito-identity-js: TypeError: /workspace/amplify-js/packages/amazon-cognito-identity-js/src/AuthenticationDetails.js: isTopicReference is not a function
amazon-cognito-identity-js: at Scope.isStatic (/workspace/amplify-js/node_modules/@babel/traverse/lib/scope/index.js:439:52)
amazon-cognito-identity-js: at Scope.maybeGenerateMemoised (/workspace/amplify-js/node_modules/@babel/traverse/lib/scope/index.js:457:14)
amazon-cognito-identity-js: at DestructuringTransformer.init (/workspace/amplify-js/node_modules/@babel/plugin-transform-destructuring/lib/index.js:298:31)
amazon-cognito-identity-js: at convertVariableDeclaration (/workspace/amplify-js/node_modules/@babel/plugin-transform-destructuring/lib/index.js:385:21)
amazon-cognito-identity-js: at PluginPass.VariableDeclaration (/workspace/amplify-js/node_modules/@babel/plugin-transform-destructuring/lib/index.js:591:9)
amazon-cognito-identity-js: at newFn (/workspace/amplify-js/node_modules/@babel/traverse/lib/visitors.js:177:21)
amazon-cognito-identity-js: at NodePath._call (/workspace/amplify-js/node_modules/@babel/traverse/lib/path/context.js:53:20)
amazon-cognito-identity-js: at NodePath.call (/workspace/amplify-js/node_modules/@babel/traverse/lib/path/context.js:40:17)
amazon-cognito-identity-js: at NodePath.visit (/workspace/amplify-js/node_modules/@babel/traverse/lib/path/context.js:100:31)
amazon-cognito-identity-js: at TraversalContext.visitQueue (/workspace/amplify-js/node_modules/@babel/traverse/lib/context.js:103:16) {
amazon-cognito-identity-js: code: 'BABEL_TRANSFORM_ERROR'
amazon-cognito-identity-js: }
amazon-cognito-identity-js: npm ERR! Lifecycle script `build:cjs` failed with error:
amazon-cognito-identity-js: npm ERR! Error: command failed
amazon-cognito-identity-js: npm ERR! in workspace: amazon-cognito-identity-js@5.2.8
amazon-cognito-identity-js: npm ERR! at location: /workspace/amplify-js/packages/amazon-cognito-identity-js
amazon-cognito-identity-js: error Command failed with exit code 1.
amazon-cognito-identity-js: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run build exited 1 in 'amazon-cognito-identity-js'
lerna WARN complete Waiting for 4 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command```
</details>
### aws-exports.js
_No response_
### Manual configuration
_No response_
### Additional configuration
_No response_
### Mobile Device
_No response_
### Mobile Operating System
_No response_
### Mobile Browser
_No response_
### Mobile Browser Version
_No response_
### Additional information and screenshots
_No response_
The text was updated successfully, but these errors were encountered:
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
Not applicable
Amplify Categories
Not applicable
Environment information
Describe the bug
Following the instructions in CONTRIBUTING.md, the main branch at (949d17b) is not building.
I have tried building on my local machine (Windows) and GitPod environment too.
Expected behavior
Following the instructions in CONTRIBUTING.md should build the codebase with no errors.
Reproduction steps
Error reported:
Code Snippet
// Put your code below this line.
Log output
Actual outcome from "yarn build":
The text was updated successfully, but these errors were encountered: