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

Object is not iterable when uploading source maps #1375

Open
RobbieZhaoPayPal opened this issue Jul 12, 2024 · 1 comment
Open

Object is not iterable when uploading source maps #1375

RobbieZhaoPayPal opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working rum Related to [dsyms, flutter-symbols, unity-symbols, react-native, sourcemaps]

Comments

@RobbieZhaoPayPal
Copy link

RobbieZhaoPayPal commented Jul 12, 2024

Bug description

When I use this command to upload the source maps

npx datadog-ci sourcemaps upload <my-folder> \
  --service=<my-service> \
  --release-version=<my-version> \
  --minified-path-prefix=<my-path-prefix>

It's erroring out with the following error

Starting upload with concurrency 20. 
Will look for sourcemaps in <a path>
Will match JS files for errors on files starting with <a path>
version: <a version> service: <my-service> project path: 
Uploading sourcemap <source-map-file> for JS file available at <js-file>
Uploading sourcemap <source-map-file> for JS file available at <js-file>
Type Error: Object is not iterable.
    at __values (<my-path>/node_modules/tslib/tslib.js:226:15)
    at __asyncValues (<my-path>/node_modules/@datadog/datadog-ci/dist/helpers/concurrency.js:14:66)
    at <my-path>/node_modules/@datadog/datadog-ci/dist/helpers/concurrency.js:28:34
    at Generator.next (<anonymous>)
    at <my-path>/node_modules/@datadog/datadog-ci/dist/helpers/concurrency.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (<my-path>/node_modules/@datadog/datadog-ci/dist/helpers/concurrency.js:4:12)
    at doWithMaxConcurrency (<my-path>/node_modules/@datadog/datadog-ci/dist/helpers/concurrency.js:24:64)
    at UploadCommand.<anonymous> (<my-path>/node_modules/@datadog/datadog-ci/dist/commands/sourcemaps/upload.js:179:78)
    at Generator.next (<anonymous>)

For context, I am using "@datadog/datadog-ci": "^2.39.0".

Describe what you expected

No response

Steps to reproduce the issue

No response

Additional context

  • MacOS: Ventura 13.6.7
  • Node: v18.19.0

Command

None

@RobbieZhaoPayPal RobbieZhaoPayPal added the bug Something isn't working label Jul 12, 2024
@Drarig29 Drarig29 added the rum Related to [dsyms, flutter-symbols, unity-symbols, react-native, sourcemaps] label Jul 15, 2024
@Drarig29
Copy link
Contributor

Hi @RobbieZhaoPayPal! Did this happen multiple times? Can you reproduce it or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rum Related to [dsyms, flutter-symbols, unity-symbols, react-native, sourcemaps]
Projects
None yet
Development

No branches or pull requests

2 participants