The value you set has already been locked. To change the value, use the --lock-env optionHow to set the additional_attribute column value in Magento2 during importMagento 2: How to set the radio option value programatically (by variable) in admin panelEmpty cart by adding product to cart /magento 2Error when running bin/magento setup:upgrade after creating Module on Magento 2update custom option value of products from the cart page magento 2What does the error “Uncaught TypeError: mixin is not a function” mean?Static Deploy gives errorMagento 2: How to set multiple session value in an array?Missing permission in /var folders after enable moduleHow to change the cart subtotal value using observer in magento 2?

Practical reasons to have both a large police force and bounty hunting network?

Is there a way to find out the age of climbing ropes?

ESPP--any reason not to go all in?

Is being socially reclusive okay for a graduate student?

PTiJ: How should animals pray?

Iron deposits mined from under the city

What is the purpose of a disclaimer like "this is not legal advice"?

How to make sure I'm assertive enough in contact with subordinates?

Are Wave equations equivalent to Maxwell equations in free space?

Professor forcing me to attend a conference

Python 3.6+ function to ask for a multiple-choice answer

“I had a flat in the centre of town, but I didn’t like living there, so …”

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

I can't die. Who am I?

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value

Why is the electrolytic capacitor not polarity sensitive?

Convert an array of objects to array of the objects' values

The (Easy) Road to Code

What's the best tool for cutting holes into duct work?

Why can't we use freedom of speech and expression to incite people to rebel against government in India?

Should we avoid writing fiction about historical events without extensive research?

Paper published similar to PhD thesis

Why is there an extra space when I type "ls" on the Desktop?

How can I be pwned if I'm not registered on the compromised site?



The value you set has already been locked. To change the value, use the --lock-env option


How to set the additional_attribute column value in Magento2 during importMagento 2: How to set the radio option value programatically (by variable) in admin panelEmpty cart by adding product to cart /magento 2Error when running bin/magento setup:upgrade after creating Module on Magento 2update custom option value of products from the cart page magento 2What does the error “Uncaught TypeError: mixin is not a function” mean?Static Deploy gives errorMagento 2: How to set multiple session value in an array?Missing permission in /var folders after enable moduleHow to change the cart subtotal value using observer in magento 2?













1















I'm trying to do



php -f bin/magento config:set dev/js/enable_js_bundling 1


But I get:




The value you set has already been locked. To change the value, use the --lock-env option.




What does this mean and how can I achieve what I want?










share|improve this question









New contributor




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
























    1















    I'm trying to do



    php -f bin/magento config:set dev/js/enable_js_bundling 1


    But I get:




    The value you set has already been locked. To change the value, use the --lock-env option.




    What does this mean and how can I achieve what I want?










    share|improve this question









    New contributor




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






















      1












      1








      1








      I'm trying to do



      php -f bin/magento config:set dev/js/enable_js_bundling 1


      But I get:




      The value you set has already been locked. To change the value, use the --lock-env option.




      What does this mean and how can I achieve what I want?










      share|improve this question









      New contributor




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












      I'm trying to do



      php -f bin/magento config:set dev/js/enable_js_bundling 1


      But I get:




      The value you set has already been locked. To change the value, use the --lock-env option.




      What does this mean and how can I achieve what I want?







      magento2 javascript bin-magento






      share|improve this question









      New contributor




      guaka 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




      guaka 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








      edited 4 hours ago









      Naveed Asim

      2,6392317




      2,6392317






      New contributor




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









      asked 6 hours ago









      guakaguaka

      1166




      1166




      New contributor




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





      New contributor





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






      guaka 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














          It seems you have locked the admin / configuration changes using app:config:set command. now only option you have is make necessary changes in your config.php



          entries would be like :



           'js' => [
          'merge_files' => '0',
          'minify_files' => '0',
          'minify_exclude' => '
          /tiny_mce/',
          'session_storage_logging' => '0',
          'translate_strategy' => 'dictionary',
          'enable_js_bundling' => '0',
          ],
          'css' => [
          'minify_files' => '0',
          'minify_exclude' => '
          /tiny_mce/
          ',
          'merge_css_files' => '0',
          ],


          Set values to 1 where you want to enable minification / merging and save this file. after saving run php bin/magento app:config:dump command.






          share|improve this answer






















            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
            );



            );






            guaka 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%2f264932%2fthe-value-you-set-has-already-been-locked-to-change-the-value-use-the-lock-e%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














            It seems you have locked the admin / configuration changes using app:config:set command. now only option you have is make necessary changes in your config.php



            entries would be like :



             'js' => [
            'merge_files' => '0',
            'minify_files' => '0',
            'minify_exclude' => '
            /tiny_mce/',
            'session_storage_logging' => '0',
            'translate_strategy' => 'dictionary',
            'enable_js_bundling' => '0',
            ],
            'css' => [
            'minify_files' => '0',
            'minify_exclude' => '
            /tiny_mce/
            ',
            'merge_css_files' => '0',
            ],


            Set values to 1 where you want to enable minification / merging and save this file. after saving run php bin/magento app:config:dump command.






            share|improve this answer



























              0














              It seems you have locked the admin / configuration changes using app:config:set command. now only option you have is make necessary changes in your config.php



              entries would be like :



               'js' => [
              'merge_files' => '0',
              'minify_files' => '0',
              'minify_exclude' => '
              /tiny_mce/',
              'session_storage_logging' => '0',
              'translate_strategy' => 'dictionary',
              'enable_js_bundling' => '0',
              ],
              'css' => [
              'minify_files' => '0',
              'minify_exclude' => '
              /tiny_mce/
              ',
              'merge_css_files' => '0',
              ],


              Set values to 1 where you want to enable minification / merging and save this file. after saving run php bin/magento app:config:dump command.






              share|improve this answer

























                0












                0








                0







                It seems you have locked the admin / configuration changes using app:config:set command. now only option you have is make necessary changes in your config.php



                entries would be like :



                 'js' => [
                'merge_files' => '0',
                'minify_files' => '0',
                'minify_exclude' => '
                /tiny_mce/',
                'session_storage_logging' => '0',
                'translate_strategy' => 'dictionary',
                'enable_js_bundling' => '0',
                ],
                'css' => [
                'minify_files' => '0',
                'minify_exclude' => '
                /tiny_mce/
                ',
                'merge_css_files' => '0',
                ],


                Set values to 1 where you want to enable minification / merging and save this file. after saving run php bin/magento app:config:dump command.






                share|improve this answer













                It seems you have locked the admin / configuration changes using app:config:set command. now only option you have is make necessary changes in your config.php



                entries would be like :



                 'js' => [
                'merge_files' => '0',
                'minify_files' => '0',
                'minify_exclude' => '
                /tiny_mce/',
                'session_storage_logging' => '0',
                'translate_strategy' => 'dictionary',
                'enable_js_bundling' => '0',
                ],
                'css' => [
                'minify_files' => '0',
                'minify_exclude' => '
                /tiny_mce/
                ',
                'merge_css_files' => '0',
                ],


                Set values to 1 where you want to enable minification / merging and save this file. after saving run php bin/magento app:config:dump command.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 4 hours ago









                Naveed AsimNaveed Asim

                2,6392317




                2,6392317




















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









                    draft saved

                    draft discarded


















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












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











                    guaka 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%2f264932%2fthe-value-you-set-has-already-been-locked-to-change-the-value-use-the-lock-e%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

                    Nidaros erkebispedøme

                    Birsay

                    Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...