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.

The 「object-treeify」causes @vue/cli installation to fail

See original GitHub issue

Version

@vue/cli 4.5.11 @vue/cli-ui 4.5.11

Environment info


Steps to reproduce

just run yarn add @vue/cli in any project


What is expected?

Hope @vue/cli works in node@10.x

https://github.com/vuejs/vue-cli/blob/cf7b46adc4c5f181d9e3eb03decbeb4cfb792bc8/packages/%40vue/cli-ui/package.json#L116-L118


What is actually happening?

1.dependency tree

  1. @vue/cli => @vue/cli-ui => vue-cli-plugin-apollo => apollo => cli-ux => object-treeify@^1.1.4
  2. @vue/cli => @vue/cli-ui=> vue-cli-plugin-apollo => apollo => @oclif/plugin-not-found + @oclif/plugin-plugins +@oclif/plugin-autocomplete => cli-ux => object-treeify@^1.1.4
  3. object-treeify@1.1.32 published 12 hours ago by simlu

2.error info

object-treeify

"engines": {
  "node": ">= 12"
},

image

error object-treeify@1.1.32: The engine "node" is incompatible with this module. Expected version ">= 12". Got "10.15.3"



@sodatea

help look at it, because our tools rely on @vue/cli at the bottom; this has a big impact on us

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
simlucommented, Mar 9, 2021

Everything should be working as expected now.

My sincere apologies - I’ve accidentally released the deprecation as a fix version. Corrected now.

PS: Talk about timing. I just went to sleep as this issue came up, that’s why my response here is a bit delayed…

1reaction
sodateacommented, Mar 9, 2021

🤔Actually vue-cli-plugin-apollo should be considered a dev dependency. I should release a patch tonight or tomorrow to fix this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Vue CLI
This document covers some common Vue CLI issues and how to resolve them. You should always follow these steps before opening a new...
Read more >
How to fix the error when installing vue-cli - Stack Overflow
The error seems to be cause by permission, you could run powershell with admin then run the command npm i -g @vue/cli.
Read more >
teambit/changelog | npm - Open Source Insights
arrow_right @babel/runtime. 7.12.18 Notes Relation Licenses Version 7.12.18 Published February 18, 2021 Description arrow_right @teambit/harmony. 0.2.11 Notes Relation Licenses Version 0.2.11 Published January 7, 2021 Description...
Read more >
@yarnpkg/core | Yarn - Package Manager
@yarnpkg/sdks is a CLI tool to generate the PnP Editor SDKs. @yarnpkg/shell is a portable bash-like shell interpreter. Yarn packages. The following packages...
Read more >
Central Repository: org/webjars/npm
... aws-sdk__service-error-classification/ ... babel-plugin-transform-es2015-object-super/ ... babel-plugin-transform-vue-jsx/ ...
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