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

Exception has occurred: Error: Cannot find module 'node:os' in nodeJS application #28947

Closed
2 tasks
sadhikary-zy opened this issue Mar 16, 2024 · 6 comments
Closed
2 tasks
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-author-feedback Workflow: More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@sadhikary-zy
Copy link

  • Package Name: "@azure/service-bus"
  • Package Version: "7.7.3", "7.9.4"
  • Operating system:
  • nodejs
    • version: v18.18.0, "14.15.5"
  • typescript
    • version:^4.8.4
    • target:es2016

Additional context

Exception has occurred: Error: Cannot find module 'node:os'
Require stack:
- ...\node_modules\@azure\logger\dist\commonjs\log.js
- ...\node_modules\@azure\logger\dist\commonjs\debug.js
- ...\node_modules\@azure\logger\dist\commonjs\index.js
- ...\node_modules\@azure\core-amqp\dist\index.js
- ...\node_modules\@azure\service-bus\dist\index.js
@sadhikary-zy sadhikary-zy changed the title Exception has occurred: Error: Cannot find module 'node:os' in node application Exception has occurred: Error: Cannot find module 'node:os' in nodeJS application Mar 16, 2024
@github-actions github-actions bot added 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 Service Attention Workflow: This issue is responsible by Azure service team. Service Bus labels Mar 16, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @EldertGrootenboer.

@timovv
Copy link
Member

timovv commented Mar 18, 2024

Hi, thanks for the report. Are you using Node 14 or Node 18 here (you list 2 Node versions)? If Node 14, this appears to be a duplicate of #28918 -- see that issue for further discussion and possible mitigations.

@timovv timovv added Azure.Core needs-author-feedback Workflow: More information is needed from author to address the issue. and removed Service Bus Service Attention Workflow: This issue is responsible by Azure service team. labels Mar 18, 2024
@github-actions github-actions bot removed the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Mar 18, 2024
Copy link

Hi @sadhikary-zy. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

@github-actions github-actions bot added the needs-team-triage Workflow: This issue needs the team to triage. label Mar 18, 2024
@xirzec xirzec removed the needs-team-triage Workflow: This issue needs the team to triage. label Mar 18, 2024
@sadhikary-zy
Copy link
Author

Thanks! upgraded node version for production VMs, issue got resolved.

@iswarrawat
Copy link

Thanks! upgraded node version for production VMs, issue got resolved.

what is your current node vresion

@suchitrajena25
Copy link

Thanks! upgraded node version for production VMs, issue got resolved.

what is ur fix and which version node you upgraded..thanks in advance

@github-actions github-actions bot locked and limited conversation to collaborators Aug 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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-author-feedback Workflow: More information is needed from author to address the issue. 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

5 participants