Comments (3)
ok, i fixed it by:
- AbstractComponent.php
change15: use Phalcon\Config;
touse Phalcon\Config\Config;
- ProjectBuilder.php
change15: use Phalcon\Config;
touse Phalcon\Config\Config;
- BuilderException.php
change15: use Phalcon\Exception;
touse Phalcon\Config\Exception;
And project was created. But i dont check another commands. May be, there are still some bugs
from phalcon-devtools.
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.
Hi friends,
For Phalcon 5.x you can use this version.
from phalcon-devtools.
Related Issues (20)
- Move phar release generation to GA
- In phalcon3.3.2 composer updatephpunit/phpunit 4.5.0 requires phpunit/php-file-iterator ~1.3.2 -> no matching package found. HOT 1
- "Option namespace hasn't been defined" on generating model HOT 2
- Phalcon Devtools error: generate controllers, models and scaffold not working (404 not found page) HOT 4
- Debugbar on Multi Module Phalcon Project Not Working HOT 2
- DevTools cannot create controllers HOT 4
- v4 shows phalcon version instead of devtools version HOT 1
- [BUG]: Class 'Phalcon\Version' not found in C:\wamp64\www\phal\vendor\phalcon\devtools\bootstrap\autoload.php:134 HOT 8
- ncaught TypeError: Argument 1 passed to Phalcon\Flash\AbstractFlash::error() must be of the type string, object given
- Error when working DevTools HOT 1
- [NFR] Custom commands feature
- devtools for alpha version HOT 1
- webtools missing project name in URL HOT 1
- Scan the whole Database before generate one model HOT 1
- PHP Fatal error: Uncaught Error: Class "Phalcon\Config" HOT 3
- Fatal error: Uncaught Error: Class 'Phalcon\Config' not found HOT 1
- PHP Fatal error: Uncaught Error: Class "Phalcon\Config" not found in C:\Users\....\AppData\Roaming\Composer\vendor\phalcon\devtools\src\Builder\Component\AbstractComponent.php:48 HOT 9
- Phalcon 5.2 and PHP 8.2 support HOT 4
- Class "Phalcon\Exception" not found in phalcon.phar/src/Commands/CommandsException.php on line 20 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phalcon-devtools.