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.

Failed to install packages

See original GitHub issue

Wanted to try nuxt. Ran yarn create nuxt-app nuxt-test.

It did some stuff, and actually created the directory with some stuff in there, but then spit out the following error:

C:\Users\martixy\AppData\Local\Yarn\Data\global\node_modules\sao\lib\installPackages.js:108
        throw new SAOError(`Failed to install ${packageName} in ${cwd}`)
        ^

SAOError: Failed to install packages in C:\Web\Projects\nuxt-test
    at ChildProcess.<anonymous> (C:\Users\martixy\AppData\Local\Yarn\Data\global\node_modules\sao\lib\installPackages.js:108:15)
    at ChildProcess.emit (events.js:321:20)
    at ChildProcess.cp.emit (C:\Users\martixy\AppData\Local\Yarn\Data\global\node_modules\sao\node_modules\cross-spawn\lib\enoent.js:34:29)
    at maybeClose (internal/child_process.js:1026:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) {
  __sao: true
}
error Command failed.
Exit code: 1

Environment: Win10
Node v13.8.0
yarn v1.22.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:53 (10 by maintainers)

github_iconTop GitHub Comments

14reactions
EunChan0817commented, Mar 12, 2020

The same problem.

8reactions
overbidcommented, Mar 16, 2020

sudo apt-get install g++ build-essential Before create project is work for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pycharm Install packages failed - error occurred. error
If an error occurs while installing a package in PyCharm, it may be due to a new version of the “pip” package on...
Read more >
Orchestrato Failed to install package - UiPath Community Forum
hey~~ suddenly, the orchestrator failed to run process, with an exception “Execution error : System.Exception: Failed to install package”.
Read more >
Problem Installing Packages in the RStudio IDE - Posit Support
If you are unable to install packages in the RStudio IDE, some common problems are outlined below: Are you able to install packages...
Read more >
unable to install package in R Studio - Warning
I am unable to install any package from my R Studio. Please find below errors while installing the package. install.packages("ggplot2") Warning in ...
Read more >
Error in install.packages: unable to install packages
The function you're using is trying to use an 'annotation' package describing a microarray chip. The package is currently not installed, so it...
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