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.

V8.5.0 has serious bugs,

See original GitHub issue

Yesterday’s update 8.5.0 has a serious problem

import { Component } from 'vue-property-decorator'

The above code will report an error:

Component is not defined

Issue Analytics

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

github_iconTop GitHub Comments

8reactions
kaorun343commented, Jun 18, 2020

I published v8.5.1 and v9.0.0.

  • v8.5.1 : vue-class-component is in dependencies
  • v9.0.0 : vue-class-component is in peerDependencies

I apologize you to the breaking change caused by v8.5.0.

6reactions
ldawkescommented, Jun 15, 2020

@WangJiangJiaoZi, this should solve your issue: yarn add vue-class-component -D or npm i vue-class-component -D It’s just a missing dependency nothing really serious.

I have to admit I was confused as well:

* [Release 8.5.0 is not being listed under releases](https://github.com/kaorun343/vue-property-decorator/releases)

* [Changelog is only listing 8.5.0](https://github.com/kaorun343/vue-property-decorator/blob/master/CHANGELOG.md) mentioning that `vue-class-component` was moved to peerDependencies. Would this justify a breaking-change maybe to make people aware that their builds might fail?

Anyways, thx for your work @kaorun343 heart

I’d consider builds failing after a minor version update a breaking change, what was the reason for moving it to peerDependencies?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Go Big? Common Problems With the Ford F-150 5.0L V8
The 5.0-liter V8 "Coyote" engine in the Ford F-150 is a great truck engine. But it has common problems associated with it.
Read more >
Ford F150 5.0 Engine Problems — What to Lookout For
The Ford F150 5.0 engine is one of the most proven V8s in Ford's current offer. However, this engine is not without its...
Read more >
Ford 5.0 Coyote Engine Problems: Explained - VehicleHistory
Every vehicle has problems, even the Ford 5.0 Coyote engine. What are the main owner complaints? Here's a few from Vehicle History.
Read more >
REVIEW: Everything Wrong With A 5.0 Coyote Engine
What could possibly be wrong with the Ford "Modular" 5.0 Coyote engine?Subscribe to @DGHD | Merch: https://debossgarage.com/merchFollow up ...
Read more >
Ford F-150 5.0 Engine Problems - CoPilot
Looking for a used F-150? Here are the most common problems with Ford F-150 5.0L engines, costs to fix, and how to avoid...
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