Getting a CLI error when trying to compileBlank Magento Category pagesFatal error: Class 'Locale' not found magento 2.0.2Getting Allowed memory size error on sample data deployment magento2Adding an attribute programmatically in Magento 2.1Fatal error: Uncaught Error: Class 'Cli' not foundMagento 2 Sending emails triggered by observerNo line number in error?Magento 2 - bin/magento No commands working - Class 'Cli' not found ErrorM2.2 PHP7 CLI silent failsWhen I run CLI commands in magento 2.2

Should I warn a new PhD Student?

Why the "ls" command is showing the permissions of files in a FAT32 partition?

Review your own paper in Mathematics

Identifying "long and narrow" polygons in with Postgis

Possible Eco thriller, man invents a device to remove rain from glass

Proving a complicated language is not a CFL

How to Disable and Drop all Temporal Tables from a database

I'm just a whisper. Who am I?

Has the laser at Magurele, Romania reached a tenth of the Sun's power?

Showing mass murder in a kid's book

Quoting Keynes in a lecture

How to write Quadratic equation with negative coefficient

Pre-Employment Background Check With Consent For Future Checks

Is there a distance limit for minecart tracks?

Do people actually use the word "kaputt" in conversation?

Ways of geometrical multiplication

How would a solely written language work mechanically

Is stochastic gradient descent pseudo-stochastic?

Do I have to know the General Relativity theory to understand the concept of inertial frame?

Unable to disable Microsoft Store in domain environment

Air travel with refrigerated insulin

Why is the principal energy of an electron lower for excited electrons in a higher energy state?

Overlapping circles covering polygon

Cumulative Sum using Java 8 stream API



Getting a CLI error when trying to compile


Blank Magento Category pagesFatal error: Class 'Locale' not found magento 2.0.2Getting Allowed memory size error on sample data deployment magento2Adding an attribute programmatically in Magento 2.1Fatal error: Uncaught Error: Class 'Cli' not foundMagento 2 Sending emails triggered by observerNo line number in error?Magento 2 - bin/magento No commands working - Class 'Cli' not found ErrorM2.2 PHP7 CLI silent failsWhen I run CLI commands in magento 2.2













0















I am getting this error on terminal:



PHP Fatal error: Class 'Cli' not found in /opt/bitnami/apache2/htdocs/bin/magento on line 31


when trying to run these commands:



sudo php bin/magento setup:upgrade
sudo php bin/magento setup:di:compile


Can anyone help?










share|improve this question







New contributor




DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    0















    I am getting this error on terminal:



    PHP Fatal error: Class 'Cli' not found in /opt/bitnami/apache2/htdocs/bin/magento on line 31


    when trying to run these commands:



    sudo php bin/magento setup:upgrade
    sudo php bin/magento setup:di:compile


    Can anyone help?










    share|improve this question







    New contributor




    DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      I am getting this error on terminal:



      PHP Fatal error: Class 'Cli' not found in /opt/bitnami/apache2/htdocs/bin/magento on line 31


      when trying to run these commands:



      sudo php bin/magento setup:upgrade
      sudo php bin/magento setup:di:compile


      Can anyone help?










      share|improve this question







      New contributor




      DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am getting this error on terminal:



      PHP Fatal error: Class 'Cli' not found in /opt/bitnami/apache2/htdocs/bin/magento on line 31


      when trying to run these commands:



      sudo php bin/magento setup:upgrade
      sudo php bin/magento setup:di:compile


      Can anyone help?







      magento2 magento-2.1 php cli






      share|improve this question







      New contributor




      DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 11 mins ago









      DEVDUDEDEVDUDE

      1




      1




      New contributor




      DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      DEVDUDE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try running it in the htdocs directory?





          share






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            DEVDUDE is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266755%2fgetting-a-cli-error-when-trying-to-compile%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try running it in the htdocs directory?





            share



























              0














              Try running it in the htdocs directory?





              share

























                0












                0








                0







                Try running it in the htdocs directory?





                share













                Try running it in the htdocs directory?






                share











                share


                share










                answered just now









                brackfostbrackfost

                344217




                344217




















                    DEVDUDE is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    DEVDUDE is a new contributor. Be nice, and check out our Code of Conduct.












                    DEVDUDE is a new contributor. Be nice, and check out our Code of Conduct.











                    DEVDUDE is a new contributor. Be nice, and check out our Code of Conduct.














                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266755%2fgetting-a-cli-error-when-trying-to-compile%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

                    Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

                    Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»