Closed martixy closed 4 years ago
The same problem.
@martixy @EunChan0817 Can you please provide the choices of your installing ?
What the heck? Why close and then ask for information?
Package manager: Yarn
UI Framework: Vuetify
Server framework: None
Nuxt modules: PWA support
Linting tools: ESLint
Test framework: Jest
Rendering mode: SSR
Dev tools: JS Config
I closed the duplicate issue and track it in one. Is there any problem as you’ve mentioned they’re same problem?
Ah. My bad. It looked like you closed this issue for a bit. Sorry.
No worries, I’ll prioritize and look into the issue, thanks for the reporting
sudo apt-get install g++ build-essential
Before create project is work for me.
I have the same issue here. @overbid what is sudo apt-get install g++ build-essential going to do?
Cheers, S
Install package builder for font in vuetify. I use yarn.
On Thu, Mar 19, 2020, 17:53 Sean Corcoran notifications@github.com wrote:
I have the same issue here. @overbid https://github.com/overbid what is sudo apt-get install g++ build-essential going to do?
Cheers, S
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nuxt/create-nuxt-app/issues/441#issuecomment-601114396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEBJV7FK5ZV2JGFPPG3IETRIH2SZANCNFSM4LA6X72A .
Ah sorry I use tailwind myself im not sure if this is the issue.
My setup is slightly different but error is the same.
Is this a sudo thing maybe?
my error:
/Users/prowl/.npm/_npx/42099/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108
throw new SAOError(Failed to install ${packageName} in ${cwd}
)
^
Error: Failed to install packages in /Users/prowl/Documents/Dev/nuxt/blog at ChildProcess.ps.on.code (/Users/prowl/.npm/_npx/42099/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108:15) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:925:16) at Socket.stream.socket.on (internal/child_process.js:346:11) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at Pipe._handle.close [as _onclose] (net.js:557:12)
I have same error when use create-nuxt-app but if using yarn it's ok.
On Thu, Mar 19, 2020, 18:06 Sean Corcoran notifications@github.com wrote:
Ah sorry I use tailwind myself im not sure if this is the issue.
My setup is slightly different but error is the same.
Is this a sudo thing maybe?
my error:
/Users/prowl/.npm/_npx/42099/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108 throw new SAOError(Failed to install ${packageName} in ${cwd}) ^
Error: Failed to install packages in /Users/prowl/Documents/Dev/nuxt/blog at ChildProcess.ps.on.code (/Users/prowl/.npm/_npx/42099/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108:15) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:925:16) at Socket.stream.socket.on (internal/child_process.js:346:11) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at Pipe._handle.close [as _onclose] (net.js:557:12)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nuxt/create-nuxt-app/issues/441#issuecomment-601119737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEBJV4JRU37MK62TPKN77TRIH4DJANCNFSM4LA6X72A .
I have heard
npm install --global --production windows-build-tools works on windows
also someone saying you need to install python but I am not sure yet.
I am using yarn, I will try a few other configs to troubleshoot cheers.
S
i used npx to create-nuxt-app actually
I'm already install python3 too.
On Thu, Mar 19, 2020, 18:09 Sean Corcoran notifications@github.com wrote:
I have heard
npm install --global --production windows-build-tools works on windows
also someone saying you need to install python but I am not sure yet.
I am using yarn, I will try a few other configs to troubleshoot cheers.
S
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nuxt/create-nuxt-app/issues/441#issuecomment-601121032, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEBJVZB3EZGTY2FGTICDULRIH4PHANCNFSM4LA6X72A .
same error
any update here? I am facing the same error as well.
@chavyleung @shivgarg5676 Could you provide the steps you reproduce this issue ? It would be very helpful for us to locate the root casue, thanks in advance.
upgrade node and yarn to latest versions
yarn create nuxt-app
Simple but worked for me :)
yarn create nuxt-app [your-project-name]
@ProwlElement I'm using node 13 and yarn 1.22, the error doesn't happen to me, is there anything else I need to be aware ?
I tested using the latest versions of node. node v12.16.1 and v13.12.0. The command I used was npx create-nuxt-app nuxt-css
this is the error log
@egoist From the stacktrace, it seems to be related to saojs, do you have any idea ?
Yea, it seems like related to Sao js, but nuxt should take care of this thing as well. At least it should make sure if a user is using everything latest things should work smoothly.
@shivgarg5676 I understood you point, since I can't reproduce in my local, so the issue may be related to some local os or lib installations, I'm just asking if @egoist has any idea or experience about this issue.
BTW, @nuxt/core-team could you try to reproduce this issue in your env ?
@shivgarg5676 I understood you point, since I can't reproduce in my local, so the issue may be related to some local os or lib installations, I'm just asking if @egoist has any idea or experience about this issue.
UI Framework: Vuetify
Vuetify,Vuetify,Vuetify only Vuetify
After your comment, I deleted my npm cache using npm cache clean --force
. Then things worked. Thanks a lot!!. Sorry for wasting your time on my machine specific issue.
@chavyleung Still can't reproduce and @shivgarg5676 is not installing vuetify as well.
@shivgarg5676 If you can reproduce it steadily again, please just let me know, I appreciate you very much about all the helpful info you provided, I hope we can find root cause and fix it.
@shivgarg5676 If you can reproduce it steadily again, please just let me know, I appreciate you very much about all the helpful info you provided, I hope we can find root cause and fix it.
withoutnpm cache clean --force
chavy-mbp:vscode chavy$ yarn create nuxt-app team
yarn create v1.22.4
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
success Installed "create-nuxt-app@2.15.0" with binaries:
- create-nuxt-app
[#####################################################################] 342/342
create-nuxt-app v2.15.0
✨ Generating Nuxt.js project in team
? Project name nuxt-test
? Project description My grand Nuxt.js project
? Author name Chavy
? Choose programming language JavaScript
? Choose the package manager Yarn
? Choose UI framework Vuetify.js
? Choose custom server framework None (Recommended)
? Choose Nuxt.js modules Axios
? Choose linting tools ESLint, Prettier
? Choose test framework None
? Choose rendering mode Universal (SSR)
? Choose development tools jsconfig.json (Recommended for VS Code)
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > postcss-url > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdir
p 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-dev-middleware > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upda
te to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > postcss-url > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdir
p 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-dev-middleware > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upda
te to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > postcss-url > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdir
p 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-dev-middleware > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upda
te to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-bundle-analyzer > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upd
ate to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.
x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Pl
ease update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer sup
ported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > @nuxt/babel-preset-app > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for u
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > postcss-url > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdir
p 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-dev-middleware > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upda
te to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-bundle-analyzer > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upd
ate to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.
x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Pl
ease update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer sup
ported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > @nuxt/babel-preset-app > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for u
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > postcss-url > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdir
p 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-dev-middleware > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upda
te to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-bundle-analyzer > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upd
ate to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.
x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Pl
ease update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer sup
ported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > @nuxt/babel-preset-app > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for u
sage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > move-concurrently > mkdirp@0.5.4: Legacy versions of mkdirp are no
longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > watchpack > chokidar > fsevents > node-pre-gyp > mkdirp@0.5.4: Legacy versions of mkdirp ar
e no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp@0.5.4: Legacy versions of mkdirp are
no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > move-concurrently > copy-concurrently > mkdirp@0.5.4: Legacy versio
ns of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > watchpack > chokidar > fsevents > node-pre-gyp > tar > mkdirp@0.5.4: Legacy versions of mkd
irp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning @nuxtjs/eslint-module > eslint-loader > loader-fs-cache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. P
lease update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning @nuxtjs/eslint-module > eslint-loader > loader-fs-cache > find-cache-dir > mkdirp@0.5.4: Legacy versions of mkdirp are no lo
nger supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning eslint > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API su
rface has changed to use Promises in 1.x.)
warning eslint > file-entry-cache > flat-cache > write > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upd
ate to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning "@nuxtjs/vuetify > sass-loader@8.0.2" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
warning "@nuxtjs/vuetify > vuetify-loader@1.4.3" has unmet peer dependency "vue-template-compiler@^2.5.0".
warning "@nuxtjs/vuetify > vuetify-loader@1.4.3" has unmet peer dependency "webpack@^4.0.0".
warning "@nuxtjs/vuetify > vuetify@2.2.19" has unmet peer dependency "vue@^2.6.4".
warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree >
tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >=
3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "@nuxtjs/eslint-module > eslint-loader@3.0.3" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning Error running install script for optional dependency: "/Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_
modules/fsevents: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_modules/fsevents
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@5.1.0
gyp info using node@13.12.0 | darwin | x64
gyp info find Python using Python version 2.7.16 found at \"/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Pytho
n.app/Contents/MacOS/Python\"
gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_modules/fsevents/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/chavy/Library/Caches/node-gyp/13.12.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/chavy/Library/Caches/node-gyp/13.12.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/chavy/Library/Caches/node-gyp/13.12.0/<(target_arch)/node.lib',
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > postcss-url > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdir
p 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-dev-middleware > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upda
te to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-bundle-analyzer > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upd
ate to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.
x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Pl
ease update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer sup
ported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > @nuxt/babel-preset-app > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for u
sage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > move-concurrently > mkdirp@0.5.4: Legacy versions of mkdirp are no
longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > watchpack > chokidar > fsevents > node-pre-gyp > mkdirp@0.5.4: Legacy versions of mkdirp ar
e no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp@0.5.4: Legacy versions of mkdirp are
no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > move-concurrently > copy-concurrently > mkdirp@0.5.4: Legacy versio
ns of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > watchpack > chokidar > fsevents > node-pre-gyp > tar > mkdirp@0.5.4: Legacy versions of mkd
irp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning @nuxtjs/eslint-module > eslint-loader > loader-fs-cache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. P
lease update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning @nuxtjs/eslint-module > eslint-loader > loader-fs-cache > find-cache-dir > mkdirp@0.5.4: Legacy versions of mkdirp are no lo
nger supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning eslint > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API su
rface has changed to use Promises in 1.x.)
warning eslint > file-entry-cache > flat-cache > write > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upd
ate to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning "@nuxtjs/vuetify > sass-loader@8.0.2" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
warning "@nuxtjs/vuetify > vuetify-loader@1.4.3" has unmet peer dependency "vue-template-compiler@^2.5.0".
warning "@nuxtjs/vuetify > vuetify-loader@1.4.3" has unmet peer dependency "webpack@^4.0.0".
warning "@nuxtjs/vuetify > vuetify@2.2.19" has unmet peer dependency "vue@^2.6.4".
warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree >
tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >=
3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "@nuxtjs/eslint-module > eslint-loader@3.0.3" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning Error running install script for optional dependency: "/Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_
modules/fsevents: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_modules/fsevents
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@5.1.0
gyp info using node@13.12.0 | darwin | x64
gyp info find Python using Python version 2.7.16 found at \"/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Pytho
n.app/Contents/MacOS/Python\"
gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_modules/fsevents/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/chavy/Library/Caches/node-gyp/13.12.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/chavy/Library/Caches/node-gyp/13.12.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/chavy/Library/Caches/node-gyp/13.12.0/<(target_arch)/node.lib',
warning nuxt > @nuxt/webpack > cache-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > babel-loader > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdi
rp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > hard-source-webpack-plugin > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please
update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > postcss-url > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdir
p 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-dev-middleware > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upda
te to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack-bundle-analyzer > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upd
ate to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.
x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Pl
ease update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > terser-webpack-plugin > cacache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer sup
ported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > @nuxt/babel-preset-app > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for u
sage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > move-concurrently > mkdirp@0.5.4: Legacy versions of mkdirp are no
longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > watchpack > chokidar > fsevents > node-pre-gyp > mkdirp@0.5.4: Legacy versions of mkdirp ar
e no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > cssnano > cssnano-preset-default > postcss-svgo > svgo > mkdirp@0.5.4: Legacy versions of mkdirp are
no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > terser-webpack-plugin > cacache > move-concurrently > copy-concurrently > mkdirp@0.5.4: Legacy versio
ns of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning nuxt > @nuxt/webpack > webpack > watchpack > chokidar > fsevents > node-pre-gyp > tar > mkdirp@0.5.4: Legacy versions of mkd
irp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning @nuxtjs/eslint-module > eslint-loader > loader-fs-cache > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. P
lease update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning @nuxtjs/eslint-module > eslint-loader > loader-fs-cache > find-cache-dir > mkdirp@0.5.4: Legacy versions of mkdirp are no lo
nger supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning eslint > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API su
rface has changed to use Promises in 1.x.)
warning eslint > file-entry-cache > flat-cache > write > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please upd
ate to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning "@nuxtjs/vuetify > sass-loader@8.0.2" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
warning "@nuxtjs/vuetify > vuetify-loader@1.4.3" has unmet peer dependency "vue-template-compiler@^2.5.0".
warning "@nuxtjs/vuetify > vuetify-loader@1.4.3" has unmet peer dependency "webpack@^4.0.0".
warning "@nuxtjs/vuetify > vuetify@2.2.19" has unmet peer dependency "vue@^2.6.4".
warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree >
tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >=
3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
warning "@nuxtjs/eslint-module > eslint-loader@3.0.3" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning Error running install script for optional dependency: "/Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_
modules/fsevents: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_modules/fsevents
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@5.1.0
gyp info using node@13.12.0 | darwin | x64
gyp info find Python using Python version 2.7.16 found at \"/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Pytho
n.app/Contents/MacOS/Python\"
gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_modules/fsevents/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/chavy/Library/Caches/node-gyp/13.12.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/chavy/Library/Caches/node-gyp/13.12.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/chavy/Library/Caches/node-gyp/13.12.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_modules/fsevents',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.4.0
gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /Users/chavy/Works/workspace/vscode/team/node_modules/watchpack/node_modules/fsevents
gyp ERR! node -v v13.12.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok"
error /Users/chavy/Works/workspace/vscode/team/node_modules/fibers: Command failed.
Exit code: 127
Command: node build.js || nodejs build.js
Arguments:
Directory: /Users/chavy/Works/workspace/vscode/team/node_modules/fibers
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@5.1.0
gyp info using node@13.12.0 | darwin | x64
gyp info find Python using Python version 2.7.16 found at "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python
.app/Contents/MacOS/Python"
gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/chavy/Works/workspace/vscode/team/node_modules/fibers/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/chavy/Library/Caches/node-gyp/13.12.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/chavy/Library/Caches/node-gyp/13.12.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/chavy/Library/Caches/node-gyp/13.12.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/chavy/Works/workspace/vscode/team/node_modules/fibers',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/chavy/Works/workspace/vscode/team/node_modules/fibers
gyp ERR! node -v v13.12.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
RHEL users please run: `yum install gcc-c++` and `yum groupinstall 'Development Tools'`
Alpine users please run: `sudo apk add python make g++`
/bin/sh: nodejs: command not found
yarn install v1.22.4
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info This module is OPTIONAL, you can safely ignore this error
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
/Users/chavy/.config/yarn/global/node_modules/sao/lib/installPackages.js:108
throw new SAOError(`Failed to install ${packageName} in ${cwd}`)
^
SAOError: Failed to install packages in /Users/chavy/Works/workspace/vscode/team
at ChildProcess.<anonymous> (/Users/chavy/.config/yarn/global/node_modules/sao/lib/installPackages.js:108:15)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1026:16)
at Socket.<anonymous> (internal/child_process.js:441:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:674:12) {
__sao: true
}
error Command failed.
Exit code: 1
Command: /usr/local/bin/create-nuxt-app
Arguments: team
Directory: /Users/chavy/Works/workspace/vscode
Output:
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
chavy-mbp:vscode chavy$
@chavyleung From you screenshot, it seemed your env is lack of some os tools (g++ build-essential ...).
https://github.com/nuxt/create-nuxt-app/issues/441#issuecomment-599409533 from @overbid should be helpful.
lack
Thanks, its work for me
https://github.com/nodejs/node-gyp/blob/master/macOS_Catalina.md#The-acid-test
I did all that and the acid test still does not pass :-(
sudo rm -rf $(xcode-select -print-path)
# Enter root password. No output is normal.sudo rm -rf /Library/Developer/CommandLineTools
# Enter root password.xcode-select --install
- If the acid test steps above still does not pass then...
npm explore npm -g -- npm install node-gyp@latest
npm explore npm -g -- npm explore npm-lifecycle -- npm install node-gyp@latest
- If the acid test still does not pass then...
- Add a comment to https://github.com/nodejs/node-gyp/issues/1927 so we can improve.
That's a yarn/npm install issue, check yarn/npm error log for details
I got error both yarn and npm!
Please help, thank you! Last time yarn is working but now. Both NPM and YARN having same issues.
Hi I have the same issue on WSL Ubuntu LTS, node v12.16.2, npm v6.14.4, below was my choices and the errors I get,
anas@DESKTOP-VENR4M1:~$ npx create-nuxt-app test-nuxt
create-nuxt-app v2.15.0
✨ Generating Nuxt.js project in test-nuxt
? Project name test-nuxt
? Project description My posh Nuxt.js project
? Author name Anas
? Choose programming language JavaScript
? Choose the package manager Npm
? Choose UI framework Vuetify.js
? Choose custom server framework None (Recommended)
? Choose Nuxt.js modules (Press
npm ERR! A complete log of this run can be found in: npm ERR! /home/anas/.npm/_logs/2020-04-24T11_38_37_366Z-debug.log
/home/anas/.npm/_npx/4182/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108
throw new SAOError(Failed to install ${packageName} in ${cwd}
)
^
SAOError: Failed to install packages in /home/anas/test-nuxt
at ChildProcess.
Hi I have the same issue on WSL Ubuntu LTS, node v12.16.2, npm v6.14.4, below was my choices and the errors I get,
anas@DESKTOP-VENR4M1:~$ npx create-nuxt-app test-nuxt
create-nuxt-app v2.15.0 ✨ Generating Nuxt.js project in test-nuxt ? Project name test-nuxt ? Project description My posh Nuxt.js project ? Author name Anas ? Choose programming language JavaScript ? Choose the package manager Npm ? Choose UI framework Vuetify.js ? Choose custom server framework None (Recommended) ? Choose Nuxt.js modules (Press to select, to toggle all, to invert selection) ? Choose linting tools ESLint, Prettier ? Choose test framework None ? Choose rendering mode Single Page App ? Choose development tools jsconfig.json (Recommended for VS Code) npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm ERR! Unexpected end of JSON input while parsing near '...jdBkOYpTVM3Y085qWei\n'
npm ERR! A complete log of this run can be found in: npm ERR! /home/anas/.npm/_logs/2020-04-24T11_38_37_366Z-debug.log
/home/anas/.npm/_npx/4182/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108 throw new SAOError(
Failed to install ${packageName} in ${cwd}
) ^SAOError: Failed to install packages in /home/anas/test-nuxt at ChildProcess. (/home/anas/.npm/_npx/4182/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108:15) at ChildProcess.emit (events.js:310:20) at maybeClose (internal/child_process.js:1021:16) at Socket. (internal/child_process.js:443:11) at Socket.emit (events.js:310:20) at Pipe. (net.js:672:12) { __sao: true }
Hey man, I made it work using Yarn. Choose Yarn too as package manager if you use yarn create nuxt-app
. Tho still NPM as package manager is not working. Getting that SAOError: ...
.
Hi I have the same issue on WSL Ubuntu LTS, node v12.16.2, npm v6.14.4, below was my choices and the errors I get, anas@DESKTOP-VENR4M1:~$ npx create-nuxt-app test-nuxt create-nuxt-app v2.15.0 ✨ Generating Nuxt.js project in test-nuxt ? Project name test-nuxt ? Project description My posh Nuxt.js project ? Author name Anas ? Choose programming language JavaScript ? Choose the package manager Npm ? Choose UI framework Vuetify.js ? Choose custom server framework None (Recommended) ? Choose Nuxt.js modules (Press to select, to toggle all, to invert selection) ? Choose linting tools ESLint, Prettier ? Choose test framework None ? Choose rendering mode Single Page App ? Choose development tools jsconfig.json (Recommended for VS Code) npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm ERR! Unexpected end of JSON input while parsing near '...jdBkOYpTVM3Y085qWei\n' npm ERR! A complete log of this run can be found in: npm ERR! /home/anas/.npm/_logs/2020-04-24T11_38_37_366Z-debug.log /home/anas/.npm/_npx/4182/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108 throw new SAOError(
Failed to install ${packageName} in ${cwd}
) ^ SAOError: Failed to install packages in /home/anas/test-nuxt at ChildProcess. (/home/anas/.npm/_npx/4182/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108:15) at ChildProcess.emit (events.js:310:20) at maybeClose (internal/child_process.js:1021:16) at Socket. (internal/child_process.js:443:11) at Socket.emit (events.js:310:20) at Pipe. (net.js:672:12) { __sao: true }Hey man, I made it work using Yarn. Choose Yarn too as package manager if you use
yarn create nuxt-app
. Tho still NPM as package manager is not working. Getting thatSAOError: ...
.
Hi, I'll give it try, is there a way to make it work with npm?
BR
I think this is is-promise problem now is-promise upgrade to 2.2.1 to fix this problem.
@overbid Any Update on the issue ?? I couldn't fix on my machine. Seems like it's a vuetify issue. I tried to install Vuetify separately and failed.
@maverickpravin its not vuetify issue, i get the error without adding any ui framework too.
@chavyleung Still can't reproduce and @shivgarg5676 is not installing vuetify as well.
@clarkdo what version of node and npm you use?
I was with the same problem today, when i used the option to install using npm it says me to install peer dependencies "sudo apt-get install g++ build-essential" and then it finally works for me.
sudo apt-get install g++ build-essential
Before create project is work for me.
That worked for me. @overbid
sudo apt-get install g++ build-essential
Before create project is work for me.
work for me thank you. @overbid
I found this error
Error: No valid exports main found for '/usr/local/lib/node_modules/create-nuxt-app/node_modules/cac'
What's the problem here?
Things was done :
- Update my npm
- Install nuxt from NPM
- Install create-nuxt from NPM
Nothing is works
Could resolve the problem by installing node (and npm) via command line. Before node was installed through "Ubuntu-Software", which caused some problems described here.
Could resolve the problem by installing node (and npm) via command line. Before node was installed through "Ubuntu-Software", which caused some problems described here.
I solved by installing new version of node.js application. Everything works now
i solved. my disk has no space so this errors occur. Everythin works now
I solved this by run as follows:
sudo chown -R 501:20 "/Users/[your user name]/.npm"
npx create-nuxt-app xxx
solved by
nvm deactivate
(to be able to uninstall currently running node version)
then nvm uninstall
every version of node and installing by nvm install 12
so it was most likely a rights 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:
Environment: Win10
Node v13.8.0
yarn v1.22.0