Giter Club home page Giter Club logo

Comments (3)

sollosollo4 avatar sollosollo4 commented on June 3, 2024 3

ok, i fixed it by:

  1. AbstractComponent.php
    change 15: use Phalcon\Config; to use Phalcon\Config\Config;
  2. ProjectBuilder.php
    change 15: use Phalcon\Config; to use Phalcon\Config\Config;
  3. BuilderException.php
    change 15: use Phalcon\Exception; to use Phalcon\Config\Exception;

And project was created. But i dont check another commands. May be, there are still some bugs

from phalcon-devtools.

sollosollo4 avatar sollosollo4 commented on June 3, 2024

And i also have issue on php 8.0.5 when try to exec command phalcon project test

PHP Fatal error: Uncaught Error: Class "Phalcon\Config" not found in D:\domains\phalcon-project\vendor\phalcon\devtools\src\Builder\Component\AbstractComponent.php:48
Stack trace:
#0 D:\domains\phalcon-project\vendor\phalcon\devtools\src\Commands\Builtin\Project.php(74): Phalcon\DevTools\Builder\Component\AbstractComponent->__construct()
#1 D:\domains\phalcon-project\vendor\phalcon\devtools\src\Script.php(109): Phalcon\DevTools\Commands\Builtin\Project->run()
#2 D:\domains\phalcon-project\vendor\phalcon\devtools\src\Script.php(148): Phalcon\DevTools\Script->dispatch()
#3 D:\domains\phalcon-project\vendor\phalcon\devtools\phalcon(65): Phalcon\DevTools\Script->run()
#4 {main}
thrown in D:\domains\phalcon-project\vendor\phalcon\devtools\src\Builder\Component\AbstractComponent.php on line 48
Script phalcon handling the __exec_command event returned with error code 255

Environment:
OS: Windows NT DESKTOP-6O57L8K 10.0 build 19044 (Windows 10) AMD64
PHP Version: 8.0.5
PHP SAPI: cli
PHP Bin: C:\Program Files (x86)\php8\php.exe
PHP Extension Dir: C:\php\ext
PHP Bin Dir: C:\php
Loaded PHP config: C:\Program Files (x86)\php8\php.ini
Versions:
Phalcon DevTools Version: 4.2.0
Phalcon Version: 5.1.4
AdminLTE Version: 3.0.1

from phalcon-devtools.

daleffe avatar daleffe commented on June 3, 2024

Hi friends,

For Phalcon 5.x you can use this version.

from phalcon-devtools.

Related Issues (20)

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.