Giter VIP home page Giter VIP logo

desktopia's People

Contributors

synw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

egaros

desktopia's Issues

Create config file on windows not working

hello !

I wrote a desktop app on linux and used ConfigManager.auto to create a json with data but when i wanted to try the app on windows 10 things didn't go as expected.

what i wrote:
ConfigManager conf = ConfigManager.auto("janjee_conf")..read();

what i get:

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following FileSystemException was thrown building LoginFormWidget(dirty, state: _LoginFormWidgetState#40953):
Home directory not found, path = ''

The relevant error-causing widget was: 
  LoginFormWidget file:///C:/Users/LENOVO/IdeaProjects/first_test_app/lib/features/monimed/presentation/pages/login_page.dart:24:18
When the exception was thrown, this was the stack: 
#0      ConfigManager._setHomeDir (package:desktopia/src/components/config_manager.dart:148:7)
#1      ConfigManager._setAppConfigDirectory (package:desktopia/src/components/config_manager.dart:115:7)
#2      new ConfigManager.auto (package:desktopia/src/components/config_manager.dart:44:5)
#3      _LoginFormWidgetState.build (package:first_test_app/features/monimed/presentation/widgets/login_form_widget.dart:28:40)
#4      StatefulElement.build (package:flutter/src/widgets/framework.dart:4792:27)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

thanks for your help !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.