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

Run Azurite within NodeJS code #2366

Closed
doronyaary opened this issue Feb 17, 2024 · 2 comments
Closed

Run Azurite within NodeJS code #2366

doronyaary opened this issue Feb 17, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@doronyaary
Copy link

This question is globally for all services

Version 3.29.0

I go azurite using NPM

node version version 21.6.2

No problem - just a question

Steps to reproduce the issue - None for this question

My question is: Can I start azurite-blob within a nodejs script Im writing? not just from the command line.

Thanks,

Doron.

@blueww blueww self-assigned this Feb 19, 2024
@blueww blueww added the question Further information is requested label Feb 19, 2024
@blueww
Copy link
Member

blueww commented Feb 19, 2024

@doronyaary

Azurite still not export the main() function, see link , so you can't import Azurite main() function in your script directly.

You might can run the azurite-blob.cmd directly in your script to start azurite-blob. On my machine, the file in is location %appdata%\npm\azurite-blob.cmd

@doronyaary
Copy link
Author

Hi,

Many thanks for your clarification. Much Appreciated.

Doron.

@blueww blueww closed this as completed Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants