Hello Deepakkumar Subramaniam,
Thank you for posting your query here!
It looks like you’re encountering an issue with the @azure/storage-blob
package in your Node.js app. The error message you’re seeing, “Cannot find module ‘node:os’”, suggests that there might be a problem with the Node.js environment or the way dependencies are being resolved.
· You might want to consider upgrading to a more recent Node.js LTS version to see if that resolves the issue.
· Sometimes, dependencies can become corrupted or mismatched. Try removing the node_modules folder and reinstalling your dependencies:
rm -rf node_modules
npm install
After reinstalling, check if the issue persists.
· Also, review your project's dependencies and ensure that there are no conflicts or outdated packages that could be causing compatibility issues. And cross check your network connection and firewall settings to make sure they allow the app to communicate with the Azure Blob Storage service.
Do let us know if you have any further queries. I’m happy to assist you further.