@azure/core-rest-pipeline broken for Node.js 14 #28950
Labels
Azure.Core
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
Attempting to import SDK results in an exception caused by syntax that's not supported in node 14:
SyntaxError: Unexpected token '??='
To Reproduce
Steps to reproduce the behavior:
npm i @azure/core-rest-pipeline
To get the following error
Expected behavior
Since previous version of the package did support node 14, the new version should either stay backwards compatible or be published as a major release.
Additional context
I ended up here by debugging a problem with @azure/web-pubsub which used to work for me until yesterday and now it suddenly broke because of the reason explained above
A possible solution for this would be to publish a patch for @azure/core-rest-pipeline with the syntax reverted to a more compatible version.
The text was updated successfully, but these errors were encountered: