Coder Social home page Coder Social logo

命令行无法执行 about fastd HOT 7 OPEN

Batman0506 avatar Batman0506 commented on May 26, 2024
命令行无法执行

from fastd.

Comments (7)

viliy avatar viliy commented on May 26, 2024

先执行 ls bin/ 看输出内容,尝试执行 composer update -vvv

from fastd.

Batman0506 avatar Batman0506 commented on May 26, 2024

先执行 ls bin/ 看输出内容,尝试执行 composer update -vvv

还是不行。ls bin/就直接输出原有的那几个文件。composer update -vvv 之后reading一堆cache。最后返回generating autoload files 。然后我再次执行php bin/server start 依然没有变化。还是输出那些文件里面的内容。貌似没有识别

from fastd.

viliy avatar viliy commented on May 26, 2024

执行下: vendor/fastd/fastd/server status

from fastd.

Batman0506 avatar Batman0506 commented on May 26, 2024

执行下: vendor/fastd/fastd/server status

你应该是想执行vendor/fastd/fastd/bin/server status 吧。因为你发的这条命令说不存在,然后我执行了bin里面的server status 之后,还是报未找到命令

from fastd.

viliy avatar viliy commented on May 26, 2024

./vendor/fastd/fastd/server status

from fastd.

Batman0506 avatar Batman0506 commented on May 26, 2024

./vendor/fastd/fastd/server status

这条命令还是说没有那个文件或目录 我改成 ./vendor/fastd/fastd/bin/server status之后报错了。以下是报错信息
PHP Fatal error: Uncaught ErrorException: The "Symfony\Component\Debug\Exception\FatalThrowableError" class is deprecated since Symfony 4.4. in /www/wwwroot/export.api.com/vendor/symfony/debug/Exception/FatalThrowableError.php:14
Stack trace:
#0 [internal function]: FastD\Application->FastD{closure}(16384, 'The "Symfony\Co...', '/www/wwwroot/ex...', 14, Array)
#1 /www/wwwroot/export.api.com/vendor/symfony/debug/Exception/FatalThrowableError.php(14): trigger_error('The "Symfony\Co...', 16384)
#2 /www/wwwroot/export.api.com/vendor/composer/ClassLoader.php(444): include('/www/wwwroot/ex...')
#3 /www/wwwroot/export.api.com/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/www/wwwroot/ex...')
#4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Symfony\Compone...')
#5 /www/wwwroot/export.api.com/vendor/fastd/fastd/src/Application.php(201): spl_autoload_call('Symfony\Compone...')
#6 [internal function]: FastD\Application->handleException(Object(Error))
#7 {main}
thrown in /www/wwwroot/export.api.com/vendor/symfony/debug/Exception/FatalThrowableError.php on line 14

Fatal error: Uncaught ErrorException: The "Symfony\Component\Debug\Exception\FatalThrowableError" class is deprecated since Symfony 4.4. in /www/wwwroot/export.api.com/vendor/symfony/debug/Exception/FatalThrowableError.php:14
Stack trace:
#0 [internal function]: FastD\Application->FastD{closure}(16384, 'The "Symfony\Co...', '/www/wwwroot/ex...', 14, Array)
#1 /www/wwwroot/export.api.com/vendor/symfony/debug/Exception/FatalThrowableError.php(14): trigger_error('The "Symfony\Co...', 16384)
#2 /www/wwwroot/export.api.com/vendor/composer/ClassLoader.php(444): include('/www/wwwroot/ex...')
#3 /www/wwwroot/export.api.com/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/www/wwwroot/ex...')
#4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Symfony\Compone...')
#5 /www/wwwroot/export.api.com/vendor/fastd/fastd/src/Application.php(201): spl_autoload_call('Symfony\Compone...')
#6 [internal function]: FastD\Application->handleException(Object(Error))
#7 {main}
thrown in /www/wwwroot/export.api.com/vendor/symfony/debug/Exception/FatalThrowableError.php on line 14

from fastd.

viliy avatar viliy commented on May 26, 2024

贴下代码目录结构和composer.json文件吧

from fastd.

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.