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

@BanzaiMan I’ve restarted the build of a previously passing build and it now fails with the same error:

 FAIL  src/App.test.js
  ● Test suite failed to run
    TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'
    at exports.default (node_modules/jest-util/build/create_process_object.js:15:34)

I’ve updated my .travis.yml file to target NodeJS 10.15.3 instead of just using “node” as the version:

language: node_js
node_js:
  - "10.15.3"

And this seems to solve the previous issue with the TypeError that was occurring. (of course, my tests are still failing… but at least now they are failing for different reasons).

Thanks for your help!

2 Likes