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

ERROR Failed to compile with 3 errors 12:26:41 AM These dependencies were not found: * node:os in ./node_modules/@azure/logger/dist/commonjs/log.js * node:process in ./node_modules/@azure/logger/dist/commonjs/log.js * node:util in ./node_modules/@azure/logger/dist/commonjs/log.js #28956

Closed
tao-devops opened this issue Mar 18, 2024 · 4 comments
Assignees
Labels
Azure.Core bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. needs-author-feedback Workflow: More information is needed from author to address the issue.

Comments

@tao-devops
Copy link

Package Name

ERROR Failed to compile with 3 errors 12:26:41 AM These dependencies were not found: * node:os in ./node_modules/@azure/logger/dist/commonjs/log.js * node:process in ./node_modules/@azure/logger/dist/commonjs/log.js * node:util in ./node_modules/@azure/logger/dist/commonjs/log.js

Deprecated Versions

ERROR Failed to compile with 3 errors 12:26:41 AM These dependencies were not found: * node:os in ./node_modules/@azure/logger/dist/commonjs/log.js * node:process in ./node_modules/@azure/logger/dist/commonjs/log.js * node:util in ./node_modules/@azure/logger/dist/commonjs/log.js

Deprecation Message

ERROR Failed to compile with 3 errors 12:26:41 AM These dependencies were not found: * node:os in ./node_modules/@azure/logger/dist/commonjs/log.js * node:process in ./node_modules/@azure/logger/dist/commonjs/log.js * node:util in ./node_modules/@azure/logger/dist/commonjs/log.js

Why is deprecation necessary?

ERROR Failed to compile with 3 errors 12:26:41 AM These dependencies were not found: * node:os in ./node_modules/@azure/logger/dist/commonjs/log.js * node:process in ./node_modules/@azure/logger/dist/commonjs/log.js * node:util in ./node_modules/@azure/logger/dist/commonjs/log.js

@tao-devops tao-devops added bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Mar 18, 2024
@github-actions github-actions bot removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 18, 2024
@timovv
Copy link
Member

timovv commented Mar 18, 2024

Hi, thanks for the report. Would you be able to provide us some more detail about what environment you are seeing this issue in so that we can assist further? Are you using a bundler, and if so, which one and what version? What Node version are you using?

This could be related to either #28940 or #28918 depending on what environment you're seeing this issue in.

@timovv timovv added Client This issue points to a problem in the data-plane of the library. Azure.Core needs-author-feedback Workflow: More information is needed from author to address the issue. labels Mar 18, 2024
Copy link

Hi @tao-devops. 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.

@sohaibminhaas
Copy link

sohaibminhaas commented Mar 19, 2024

Screenshot from 2024-03-19 10-45-25

Hi @timovv, I am also facing the same issue for couple of days.
I am using docker to build my image. I am able to successfully build the image, but I get this error while starting the container. My Node version is 16. locally it is working fine but I am getting this issue inside the container.

@timovv
Copy link
Member

timovv commented Mar 20, 2024

To confirm, this is a Node backend application and you are not using a bundler? This would suggest to me that the Node version in your Docker image is in fact below 16, since node:-prefixed imports are supported in both ESM and CJS since Node 16.0.0.

Regardless, I would note that our current minimum supported Node version is Node 18, as per our support policy. We cannot provide any guarantee of support for any Node version that has reached end-of-life, including Node 16.

@xirzec xirzec closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Core bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. needs-author-feedback Workflow: More information is needed from author to address the issue.
Projects
None yet
Development

No branches or pull requests

4 participants