-
-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install packages #441
Comments
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 |
I closed the duplicate issue and track it in one. |
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 |
|
I have the same issue here. Cheers, |
Install package builder for font in vuetify. I use yarn.
…On Thu, Mar 19, 2020, 17:53 Sean Corcoran ***@***.***> 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
<#441 (comment)>,
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 Error: Failed to install packages in /Users/prowl/Documents/Dev/nuxt/blog |
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 ***@***.***> 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
<#441 (comment)>,
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 ***@***.***> 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
<#441 (comment)>,
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 ? |
@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 ? |
UI Framework: Vuetify Vuetify,Vuetify,Vuetify |
After your comment, I deleted my npm cache using |
@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. |
|
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 ...). #441 (comment) from @overbid should be helpful. |
Thanks, its work for me https://github.com/nodejs/node-gyp/blob/master/macOS_Catalina.md#The-acid-test
|
That's a yarn/npm install issue, check yarn/npm error log for details |
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 npm ERR! A complete log of this run can be found in: /home/anas/.npm/_npx/4182/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108 SAOError: Failed to install packages in /home/anas/test-nuxt |
Hey man, I made it work using Yarn. Choose Yarn too as package manager if you use |
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. |
@maverickpravin its not vuetify issue, |
@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. |
That worked for me. @overbid |
work for me thank you. @overbid |
I found this error
What's the problem here? Things was done :
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. |
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:
|
solved by so it was most likely a rights issue |
I had the exact same issue, and I solved it by changing my node version. My node version was on 16.1, and switched to the LATEST STABLE version which is (14.17.1). Always check |
Updating my Node version solved the issue |
This issue is still occurring for me. I'm using an I've tried this with
When I run
|
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
The text was updated successfully, but these errors were encountered: