Giter Site home page Giter Site logo

universal-code-generator's People

Contributors

audef1 avatar jalogut avatar piotrkwiecinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

universal-code-generator's Issues

Failed to open stream warning generated when default-properties.yml doesn't exist

Running mg2-codegen config:display before mg2-codegen config:set generates a warning below:

Display Configuration
PHP Warning:  file_get_contents(/home/xx/.mg2-codegen/config/default-properties.yml): failed to open stream: No such file or directory in /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Tasks/PropertiesTask.php on line 145
PHP Stack trace:
PHP   1. {main}() /home/xx/.composer/vendor/staempfli/magento2-code-generator/bin/mg2-codegen:0
PHP   2. Staempfli\UniversalGenerator\Application->run() /home/xx/.composer/vendor/staempfli/magento2-code-generator/bin/mg2-codegen:31
PHP   3. Staempfli\UniversalGenerator\Application->run() /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Application.php:69
PHP   4. Staempfli\UniversalGenerator\Application->doRun() /home/xx/.composer/vendor/symfony/console/Application.php:148
PHP   5. Staempfli\UniversalGenerator\Application->doRunCommand() /home/xx/.composer/vendor/symfony/console/Application.php:248
PHP   6. Staempfli\UniversalGenerator\Command\Config\ConfigDisplayCommand->run() /home/xx/.composer/vendor/symfony/console/Application.php:953
PHP   7. Staempfli\UniversalGenerator\Command\Config\ConfigDisplayCommand->run() /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Command/AbstractCommand.php:32
PHP   8. Staempfli\UniversalGenerator\Command\Config\ConfigDisplayCommand->execute() /home/xx/.composer/vendor/symfony/console/Command/Command.php:255
PHP   9. Staempfli\UniversalGenerator\Tasks\PropertiesTask->loadDefaultProperties() /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Command/Config/ConfigDisplayCommand.php:30
PHP  10. file_get_contents() /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Tasks/PropertiesTask.php:145
PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Staempfli\UniversalGenerator\Tasks\PropertiesTask::addProperties() must be of the type array, null given, called in /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Tasks/PropertiesTask.php on line 146 and defined in /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Tasks/PropertiesTask.php:75
Stack trace:
#0 /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Tasks/PropertiesTask.php(146): Staempfli\UniversalGenerator\Tasks\PropertiesTask->addProperties(NULL)
#1 /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Command/Config/ConfigDisplayCommand.php(30): Staempfli\UniversalGenerator\Tasks\PropertiesTask->loadDefaultProperties()
#2 /home/xx/.composer/vendor/symfony/console/Command/Command.php(255): Staempfli\UniversalGenerator\Command\Config\ConfigDisplayCommand->execute(Object(Sym in /home/xx/.composer/vendor/staempfli/universal-code-generator/src/Staempfli/UniversalGenerator/Tasks/PropertiesTask.php on line 75

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.