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

Can not run azure sdk in nodev12.22.12, node:os issue etc #28986

Closed
3 of 6 tasks
TahmidChowdhury opened this issue Mar 20, 2024 · 1 comment
Closed
3 of 6 tasks

Can not run azure sdk in nodev12.22.12, node:os issue etc #28986

TahmidChowdhury opened this issue Mar 20, 2024 · 1 comment
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

@TahmidChowdhury
Copy link

TahmidChowdhury commented Mar 20, 2024

  • Package Name: @Azure\core-util\dist\commonjs\delay.js, @Azure\logger
  • Package Version: @azure/logger@1.0.0,
  • Operating system:
  • nodejs
    • version: 12.22.12
  • browser
    • name/version: Not relevant, backend
  • typescript
    • version: 4.6.4
  • Is the bug related to documentation in

Describe the bug
While I try to ng serve my backend, I was facing issues initially with can't resolve node:os for my @azure/logger@1.0.0, the fix for this was the update my package.json to 1.0.0 from ^1.0.0. Once I resolved that I am now facing another issue that is a nodev14+ issue which is the coalescence operator. in the package I listed above:
const { abortSignal, abortErrorMsg } = options ?? {}; SyntaxError: Unexpected token '?'
To Reproduce
Steps to reproduce the behavior:

  1. have nodev12.22.12
  2. npm install @azure/storage-blob@12.1.0
  3. ng serve the api

Expected behavior
Code was working two weeks or less ago. Now it will not run with this module.

Screenshots
image
image

@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 20, 2024
@timovv
Copy link
Member

timovv commented Mar 20, 2024

This appears to be the same issue as #28918. Please see there for mitigations and discussion. Per our support policy, our SDKs do not support Node versions that have reached end of life; Node 12 reached end of life almost 2 years ago on 30 April 2022. We recommend upgrading to an in-support version of Node.

@timovv timovv closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 18, 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