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 $loading of #<Vue> which has only a getter

See original GitHub issue
[nuxt] Error while initializing app TypeError: Cannot set property $loading of #<Vue> which has only a getter
     at _callee5$ (C:\Users\Maxence\Documents\Projects\projet1\.nuxt\client.js:421)
     at tryCatch (C:\Users\Maxence\Documents\Projects\projet1\node_modules\babel-runtime\node_modules\regenerator-runtime\runtime.js:62)
     at Generator.invoke [as _invoke] (C:\Users\Maxence\Documents\Projects\projet1\node_modules\babel-runtime\node_modules\regenerator-runtime\runtime.js:296)
     at Generator.prototype.(anonymous function) [as next] (http://127.0.0.1:3333/_nuxt/vendor.js:2120:21)
     at step (C:\Users\Maxence\Documents\Projects\projet1\node_modules\babel-runtime\helpers\asyncToGenerator.js:17)
     at C:\Users\Maxence\Documents\Projects\projet1\node_modules\babel-runtime\helpers\asyncToGenerator.js:28

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ankurk91commented, Jun 16, 2018

It seems like some other script is trying to assign Vue.$loading value

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Getter_only

0reactions
pirmaxcommented, Jun 18, 2018

It works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue.js : "TypeError: Cannot set property props of #<Object ...
As you are using CommonJS modules, try to require your Vue component that way : const draggableList = require(".
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 >
Cannot set property "loaded" of #<Emitter> which has only a ...
Hello, i'm trying to set up assets-loader and I want to show my #app when loading is complete. ps: in my div its...
Read more >
TypeError: setting getter-only property "x" - JavaScript | MDN
There is an attempt to set a new value to a property for which only a getter is specified. While this will be...
Read more >
Cannot set property $notify of #&#38;lt;Vue&#38;gt; which ha
Notify.js?4b36:28 Uncaught TypeError: Cannot set property $notify of # which has only a getter at Object.install (Notify.js?4b36:28) at Function.Vue.use ...
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