Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nuxt.js Installation Errors

I've tried to install a nuxt-app app a few times now. I've run it in my terminal with npm and yarn and as an administrator in the powershell. I continue to encounter errors in creating the app.

I've included the error log below for reference. I think that the problem is with this throw error: throw new SAOError(Failed to install ${packageName} in ${cwd})

But I'm not sure. For reference, the system I'm using is Windows 7.

I've included photos of the error logs below:

  • Log1 The errors start about halfway through the log.

  • Log2

  • Log3

Please and thank you.

like image 530
JamesMichael Avatar asked Dec 30 '19 15:12

JamesMichael


1 Answers

Okey dokey. What ended up working for me was running the following code:

npm install --global --production windows-build-tools

as an administrator in the PowerShell.

This installed both Microsoft visual studio and Python 2.7. After executing the previously mentioned code, I ceased receiving errors for my nuxt.js app.

like image 69
JamesMichael Avatar answered Sep 18 '22 09:09

JamesMichael