Travis/Jest: TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#'2019...

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

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

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

Can a space-faring robot still function over a billion years?

How do we objectively assess if a dialogue sounds unnatural or cringy?

Travis/Jest: TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'

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

Detemine the unit digit of a number

Increase the space between numerator and denominator

First time traveler, what plane ticket?

What does "rhumatis" mean?

Under what conditions would I NOT add my Proficiency Bonus to a Spell Attack Roll (or Saving Throw DC)?

Is "cogitate" an appropriate word for this?

What can I do if someone tampers with my SSH public key?

The (Easy) Road to Code

Book where society has been split into 2 with a wall down the middle where one side embraced high tech whereas other side were totally against tech

How does learning spells work when leveling a multiclass character?

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

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

Precision notation for voltmeters

How to negotiate a patent idea for a raise?

Was it really inappropriate to write a pull request for the company I interviewed with?

What happens when you cast a spell on yourself with spell turning on?

Help! My Character is too much for her story!



Travis/Jest: TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#'



2019 Community Moderator ElectionUsing Object.defineProperty with Angular throws TypeError: Cannot assign to read only property (property) of #<Object>Cannot read property of an undefined object in a IF statement in JESTTypeScript error Cannot read property 'REPOSITORY' of undefinedJEST Test Failed - TypeError: Cannot read property 'fetch' of undefined in CRNA Expo AppTypeError: Cannot assign to read only property 'x' of object '#<Object>' React/JESTJest test rendering fails due to TypeError: Cannot read property 'messages' of undefinedTypescript and jest - Cannot convert undefined or null to object when mocking “fs”Testing with Jest - TypeError: cannot read property 'forEach' of undefinedCannot read property 'acequire' of undefinedTypeError: Cannot read property 'SHORT' of undefined












11















All my jest typescript tests fail in my travis pipeline throwing the following error:



TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'


This happened suddenly without me changing anything particular in the code. And locally everything works fine.



Any ideas what could be happening ?










share|improve this question




















  • 3





    I just got the exact same error out of the blue in all of my builds.

    – JSeven
    5 hours ago
















11















All my jest typescript tests fail in my travis pipeline throwing the following error:



TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'


This happened suddenly without me changing anything particular in the code. And locally everything works fine.



Any ideas what could be happening ?










share|improve this question




















  • 3





    I just got the exact same error out of the blue in all of my builds.

    – JSeven
    5 hours ago














11












11








11


3






All my jest typescript tests fail in my travis pipeline throwing the following error:



TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'


This happened suddenly without me changing anything particular in the code. And locally everything works fine.



Any ideas what could be happening ?










share|improve this question
















All my jest typescript tests fail in my travis pipeline throwing the following error:



TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'


This happened suddenly without me changing anything particular in the code. And locally everything works fine.



Any ideas what could be happening ?







javascript reactjs typescript jestjs travis-ci






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 44 mins ago









Şivā SankĂr

1,1221922




1,1221922










asked 6 hours ago









FabulousCoFabulousCo

333310




333310








  • 3





    I just got the exact same error out of the blue in all of my builds.

    – JSeven
    5 hours ago














  • 3





    I just got the exact same error out of the blue in all of my builds.

    – JSeven
    5 hours ago








3




3





I just got the exact same error out of the blue in all of my builds.

– JSeven
5 hours ago





I just got the exact same error out of the blue in all of my builds.

– JSeven
5 hours ago












2 Answers
2






active

oldest

votes


















7














That is a bug that came with node v11.11. You can downgrade to v11.10 or wait for the fix which facebook has already pushed https://github.com/facebook/create-react-app/issues/6591



If your problem is TravisCI related then you can set a fixed version which works:



node_js:
- "11.10.1"





share|improve this answer


























  • the node_js: 11.10.1 worked, thanks !

    – FabulousCo
    1 hour ago





















0














You can also upgrade your version of jest to 24.3.0 which has this issue fixed. I believe this is a more future proof solution than downgrading your node.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55059748%2ftravis-jest-typeerror-cannot-assign-to-read-only-property-symbolsymbol-tostr%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    That is a bug that came with node v11.11. You can downgrade to v11.10 or wait for the fix which facebook has already pushed https://github.com/facebook/create-react-app/issues/6591



    If your problem is TravisCI related then you can set a fixed version which works:



    node_js:
    - "11.10.1"





    share|improve this answer


























    • the node_js: 11.10.1 worked, thanks !

      – FabulousCo
      1 hour ago


















    7














    That is a bug that came with node v11.11. You can downgrade to v11.10 or wait for the fix which facebook has already pushed https://github.com/facebook/create-react-app/issues/6591



    If your problem is TravisCI related then you can set a fixed version which works:



    node_js:
    - "11.10.1"





    share|improve this answer


























    • the node_js: 11.10.1 worked, thanks !

      – FabulousCo
      1 hour ago
















    7












    7








    7







    That is a bug that came with node v11.11. You can downgrade to v11.10 or wait for the fix which facebook has already pushed https://github.com/facebook/create-react-app/issues/6591



    If your problem is TravisCI related then you can set a fixed version which works:



    node_js:
    - "11.10.1"





    share|improve this answer















    That is a bug that came with node v11.11. You can downgrade to v11.10 or wait for the fix which facebook has already pushed https://github.com/facebook/create-react-app/issues/6591



    If your problem is TravisCI related then you can set a fixed version which works:



    node_js:
    - "11.10.1"






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 3 hours ago

























    answered 5 hours ago









    alknowsalknows

    73111019




    73111019













    • the node_js: 11.10.1 worked, thanks !

      – FabulousCo
      1 hour ago





















    • the node_js: 11.10.1 worked, thanks !

      – FabulousCo
      1 hour ago



















    the node_js: 11.10.1 worked, thanks !

    – FabulousCo
    1 hour ago







    the node_js: 11.10.1 worked, thanks !

    – FabulousCo
    1 hour ago















    0














    You can also upgrade your version of jest to 24.3.0 which has this issue fixed. I believe this is a more future proof solution than downgrading your node.






    share|improve this answer




























      0














      You can also upgrade your version of jest to 24.3.0 which has this issue fixed. I believe this is a more future proof solution than downgrading your node.






      share|improve this answer


























        0












        0








        0







        You can also upgrade your version of jest to 24.3.0 which has this issue fixed. I believe this is a more future proof solution than downgrading your node.






        share|improve this answer













        You can also upgrade your version of jest to 24.3.0 which has this issue fixed. I believe this is a more future proof solution than downgrading your node.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 15 mins ago









        Miroslav JonasMiroslav Jonas

        1,9081227




        1,9081227






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • 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%2fstackoverflow.com%2fquestions%2f55059748%2ftravis-jest-typeerror-cannot-assign-to-read-only-property-symbolsymbol-tostr%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

            El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

            Castillo d'Acher Características Menú de navegación

            Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...