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

envPath param in MiniflareOptions does not exist #790

Closed
KyGuy2002 opened this issue Dec 7, 2024 · 3 comments
Closed

envPath param in MiniflareOptions does not exist #790

KyGuy2002 opened this issue Dec 7, 2024 · 3 comments

Comments

@KyGuy2002
Copy link

In various parts of the docs including the D1 page it references an envPath option:
image

Intellisense is not recognizing this option. I see mention of it in the 2.0.0 changelog, but I am on the latest 3.20241205.0 and it seems to be gone.

Is this just an issue with the docs, and this option is no longer needed?

Just wanted to bring this up as it is causing some confusion.
Sorry if I am misunderstanding the note. Thanks!

@CarmenPopoviciu
Copy link

hi @KyGuy2002,

envPath is no longer supported in Miniflare 3, though it used to be supported in Miniflare 2, so what you're seeing is def a docs thing. Can you please point me at which docs you are looking specifically, just to make sure we're looking at the same thing?

🙏

@KyGuy2002
Copy link
Author

This screenshot was found on this page:

https://miniflare.dev/get-started#usage

I think the other mention was in the changlog when it was introduced so that should stay.

@emily-shen
Copy link

Hiya, thanks so much for flagging this! We've moved the miniflare docs to the main cloudflare docs now to reduce confusion, and updated it a bit including removing references to envPath. You can find those here https://developers.cloudflare.com/workers/testing/miniflare/ (miniflare.dev should also redirect). Thanks again :))

@github-project-automation github-project-automation bot moved this from Untriaged to Done in workers-sdk Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants