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.

Auto-Install fails on some OS/node combinations

See original GitHub issue

The problem:

For the original bug report, see https://github.com/vuejs/vue-cli/issues/681

Immediate solutions/workarounds.

One thing we can immediately improve is the error handling. This error is not “fatal” - all people have to do is run npm install themselves. So I will add a nice error message explaining that to users.

so what’s the Problem, really?

As to the original source of the problem, I’m a bit dumbfounded for the moment.

When you then elect to have scaffolding restore your packages (whether through npm or yarn), you are not in the project directory, but above it, so the package install/restore command fails

That would be weird - being in the wrong directory should lead to an error on OSX as well, but doesn’t (for me).

I also think I set the cwd for the npm call to the right directory here:

https://github.com/vuejs-templates/webpack/blob/develop/meta.js#L155-L158

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
xiejiamiaocommented, Dec 15, 2017

default

it work fine on windows 10 by using vue init webpack THX

1reaction
LinusBorgcommented, Dec 15, 2017

The fix is now available though the normal command as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu 20.04 autoinstall fails when I try to set the storage
It sounds like, either your storage medium or installation medium is corrupted. Try these things. Reboot your PC (you never know, ...
Read more >
Please test autoinstalls for 20.04! - Server - Ubuntu Discourse
networking configuration never worked: I tried combinations of removing the nested networking: stanza and different interface names without ever having a ...
Read more >
20.63. kb-00062: Ubunto 20.04 Autoinstall Fails - Digital Rebar
Ubuntu 20.04 introduces yet another different installer to deploy Linux on to your systems. This solution is a combination of autoinstall , cloud-init ......
Read more >
Autoinstalling ubuntu-server 20.04.3 from the live-iso - Tutorials
The user-data is the combination of new provisioning template and the new ... but this results in some issues, so I'm now making...
Read more >
Understanding the Ubuntu 20.04 LTS Server Autoinstaller
I run a few HP Microservers that boot from a SATA SSD in an USB drive enclosure ... Automated installs for Ubuntu 18.04...
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