Closed hectoritr closed 1 year ago
@emirchus how can I run the app on web? Can you write here the process please
@emirchus how can I run the app on web? Can you write here the process please
Leave me to push some changes, and then it will available to run!
It is necessary to run in port 3000 cause it is authorized on Firebase
flutter run -d {explorer} --web-port 3000
In my case, I use google chrome so I run:
flutter run -d chrome --web-port 3000 ```
My changes are all ready @hectoritr @Da-PC
git fetch origin
git checkout feat/220-feat-web-version
@emirchus what's missing to close this issue? Let's close it
@asimjawad the app should be available on dev.ottaaproject.com Can you check what's happening and make it work?
ok
@emirchus
I am listing down some errors, which I am founding, can you take a look at them.
rors.dart:299 Uncaught (in promise) Error: Assertion failed: file:///Users/asimjawad/.pub-cache/hosted/pub.dev/get_it-7.2.0/lib/get_it_impl.dart:372:7
instanceFactory != null
"Object/factory with type AboutRepository is not registered inside GetIt. \n(Did you accidentally do GetIt sl=GetIt.instance(); instead of GetIt sl=GetIt.instance;\nDid you forget to register it?)"
packages/riverpod/src/stack_trace.dart 9:11
rors.dart:299 Uncaught (in promise) Error: Assertion failed: file:///Users/asimjawad/.pub-cache/hosted/pub.dev/get_it-7.2.0/lib/get_it_impl.dart:372:7
instanceFactory != null
"Object/factory with type AboutRepository is not registered inside GetIt. \n(Did you accidentally do GetIt sl=GetIt.instance(); instead of GetIt sl=GetIt.instance;\nDid you forget to register it?)"
packages/riverpod/src/stack_trace.dart 9:11
Error while trying to load an asset: Failed to load asset at "assets/assets/i18n/en_GB.json" (404) Error: Exception: Language not found
packages/ottaa_project_flutter/application/router/app_router.dart 68:25
these 2 occurs when I tried to login from the app
and this one too
caught (in promise) Error: Assertion failed: file:///Users/asimjawad/.pub-cache/hosted/pub.dev/riverpod-2.3.2/lib/src/framework/element.dart:676:7
didChangeDependency == false
"Cannot use ref functions after the dependency of a provider changed but before the provider rebuilt"
at Object.throw [as throw] (errors.dart:266:49)
at Object.assertFailed (errors.dart:29:3)
at [_assertNotOutdated] (element.dart:676:31)
at ProviderElement.__.watch (element.dart:700:5)
at app_router.dart:68:25
at Generator.next (
Contact Details
No response
What is this about?
As a user I want to use OTTAA in a Web Browser
Where do you want to see this implemented?
Chrome
Code of Conduct