How to resolve SAOError when using create-nuxt-app
When:
js
throw new SAOError(`Failed to install ${packageName} in ${cwd}`)
Then:
bash
sudo apt-get install g++ build-essential
Next:
create-nuxt-app v3.4.0
✨ Generating Nuxt.js project in ???
? Project name: ???
? Programming language: JavaScript
? Package manager: Yarn
? UI framework: Vuetify.js
? Nuxt.js modules: None
? Linting tools: None
? Testing framework: None
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Server (Node.js hosting)
? Development tools: None
? What is your GitHub username? gander
? Version control system: None
🎉 Successfully created project ???