-
Notifications
You must be signed in to change notification settings - Fork 57
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
ProcessException: The system cannot find the file specified during tool/get
#60
Comments
This is because the tool which builds the timezone database relies on an application called Here's what I did to work around the issue. On Windows 10, install / fire up Ubuntu on Windows Subsystem for Linux (WSL). Then in the ubuntu shell window: Install Dart and add to PATH
Close the Ubuntu / WSL window, and open it up again, so the PATH changes are applied. Clone the timezone repo and run the tool
Copy files to Windows file systemThe timezone databases are generated and stored in lib/data in the timezone folder on WSL, so copy them from the WSL filesystem to your flutter project on your Windows file system. I chose to put them in a folder called
Include the database as an assetAdd the database asset in
Initialise the databaseThe rest should work as per the instructions for the timezone package. For example, initialise the library:
|
A link to this guide should be totally added to the documentation. |
tool/get
Hello, i encounter this error when running
flutter pub run tool/get -s 2019c
The text was updated successfully, but these errors were encountered: