question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Cannot set property stack of JSONError which has only a getter

See original GitHub issue

Expected Behavior

lerna clean should run without errors

Current Behavior

The following error happens with any lerna command (it’s been working before today; trying to figure out what has changed.) TypeError: Cannot set property stack of JSONError which has only a getter

Steps to Reproduce (for bugs)

No idea.

lerna.json

{
  "lerna": "2.0.0-rc.4",
  "packages": [
    "sub/*"
  ],
  "npmClient": "yarn",
  "version": "0.0.0"
}

No lerna-debug.log

Executable Version
lerna --version 2.0.0-rc.5
npm --version 4.6.1
yarn --version 0.24.5
node --version v7.10.0
OS Version
macOS Sierra 10.12.5

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

5reactions
richburdoncommented, May 29, 2017

Happens if any of the sub package.json files are invalid (e.g., hanging ,).

4reactions
iyobocommented, Jun 1, 2017

Verified. Not a very helpful error message

Read more comments on GitHub >

github_iconTop Results From Across the Web

'Uncaught TypeError: Cannot set property stack of [object ...
Hi, I observed this error when migrating to Angular RC6 with zone.js 0.6.17. Error: long-stack-trace-zone.js:135 Uncaught TypeError: Cannot ...
Read more >
Cannot set property stack of [object Object] which has only a ...
I am getting the following error in the following plunker. Cannot set property stack of [object Object] ...
Read more >
TypeError: Cannot set Property which has only a Getter in JS
The "Cannot set property which has only a getter" error occurs when trying to set a new value to a property, for which...
Read more >
script.js:73 Uncaught TypeError: Cannot set properties of null ...
this.el = document.getElementById("veiculos");
Read more >
Button Error on Pavlovia - TypeError: Cannot set property ...
Button Error on Pavlovia - TypeError: Cannot set property numClicks of [object Object] which has only a getter · OS · What are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found