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

SyntaxError: Unexpected token '??=' #28920

Closed
6 tasks
AmitHBhagat opened this issue Mar 14, 2024 · 2 comments
Closed
6 tasks

SyntaxError: Unexpected token '??=' #28920

AmitHBhagat opened this issue Mar 14, 2024 · 2 comments
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@AmitHBhagat
Copy link

  • Package Name: @azure/core-rest-pipeline
  • Package Version: 1.10.3
  • Operating system:
  • nodejs
    • version: node:14-slim
  • browser
    • name/version: Chrome Version 121.0.6167.185
  • typescript
    • version: NA
  • Is the bug related to documentation in

Describe the bug
A clear and concise description of what the bug is.
/root/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/multipartPolicy.js:99
2024-03-14T13:27:42.202950024Z boundary ??= parsedBoundary;
2024-03-14T13:27:42.202956424Z ^^^
2024-03-14T13:27:42.202960024Z
2024-03-14T13:27:42.202963924Z SyntaxError: Unexpected token '??='
2024-03-14T13:27:42.202972625Z at wrapSafe (internal/modules/cjs/loader.js:1029:16)
2024-03-14T13:27:42.202976925Z at Module._compile (internal/modules/cjs/loader.js:1078:27)
2024-03-14T13:27:42.202981825Z at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
2024-03-14T13:27:42.202985625Z at Module.load (internal/modules/cjs/loader.js:979:32)
2024-03-14T13:27:42.202989425Z at Function.Module._load (internal/modules/cjs/loader.js:819:12)
2024-03-14T13:27:42.202993525Z at Module.require (internal/modules/cjs/loader.js:1003:19)
2024-03-14T13:27:42.202997625Z at require (internal/modules/cjs/helpers.js:107:18)
2024-03-14T13:27:42.203001625Z at Object. (/root/node_modules/@azure/core-rest-pipeline/dist/commonjs/createPipelineFromOptions.js:10:30)
2024-03-14T13:27:42.203006125Z at Module._compile (internal/modules/cjs/loader.js:1114:14)
2024-03-14T13:27:42.203010325Z at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)

To Reproduce
Steps to reproduce the behavior:

  1. source of issue could be, const { BlobServiceClient } = require("@azure/storage-blob")
  2. try installing "@azure/storage-blob": "^12.14.0"

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
Issue has started to occur since the latest build a few hours ago.

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 14, 2024
@maorleger
Copy link
Member

Hiya @AmitHBhagat, thanks for reaching out. In order to keep conversations in a single place we will be consolidating these Node 14 issues under #28918 - please subscribe to that issue for updates. Much appreciated!

Duplicates #28918

@maorleger maorleger closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
@AmitHBhagat
Copy link
Author

Hiya @AmitHBhagat, thanks for reaching out. In order to keep conversations in a single place we will be consolidating these Node 14 issues under #28918 - please subscribe to that issue for updates. Much appreciated!

Duplicates #28918

Ok thanks @maorleger.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants