Skip to content
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 ${packageName} in ${cwd} #948

Open
ekazda opened this issue Mar 31, 2022 · 4 comments
Open

Failed to install ${packageName} in ${cwd} #948

ekazda opened this issue Mar 31, 2022 · 4 comments
Assignees
Labels

Comments

@ekazda
Copy link

ekazda commented Mar 31, 2022

Version

create-nuxt-app/4.0.0 darwin-arm64 node-v16.14.2

Steps to reproduce

  1. run yarn create nuxt-app test-project
  2. .../yarn/global/node_modules/sao/lib/installPackages.js:108 throw new SAOError(Failed to install ${packageName} in ${cwd})

What is Expected?

Expect nuxt-app to be created successfully.

What is actually happening?

This issue is still occurring for me. I'm using an Apple M1 Max laptop (maybe that has something to do with it for me)

I've tried this with yarn, npm and npx and all result in the same issue. I have the LTS version of node.js installed (16.14.2 as of today) and I have updated and cleaned up all of my global npm modules:

When I run yarn create nuxt-app test-project I end up with the following:

yarn create v1.22.15
warning package.json: No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Installed "[email protected]" with binaries:
      - create-nuxt-app
[#####################################################################] 342/342
create-nuxt-app v4.0.0
✨  Generating Nuxt.js project in test-project
? Project name: test-project
? Programming language: JavaScript
? Package manager: Yarn
? UI framework: Tailwind CSS
? Nuxt.js modules: Axios - Promise based HTTP client, Progressive Web App (PWA),
 Content - Git-based headless CMS
? Linting tools: ESLint, Prettier
? Testing framework: Jest
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Server (Node.js hosting)
? Development tools: jsconfig.json (Recommended for VS Code if you're not using 
typescript)
? Continuous integration: None
? Version control system: Git
warning ../../../package.json: No license field
warning ../../../package.json: No license field
warning ../../../package.json: No license field
warning @nuxt/content > @nuxt/types > @types/webpack > @types/[email protected]: Th
is is a stub types definition. anymatch provides its own type definitions, so yo
u do not need this installed.
warning @nuxt/content > @nuxt/types > @types/autoprefixer > @types/browserslist@
4.15.0: This is a stub types definition. browserslist provides its own type defi
nitions, so you do not need this installed.
warning ../../../package.json: No license field
warning @nuxt/content > @nuxt/types > @types/webpack > @types/[email protected]: Th
is is a stub types definition. anymatch provides its own type definitions, so yo
u do not need this installed.
warning @nuxt/content > @nuxt/types > @types/autoprefixer > @types/browserslist@
4.15.0: This is a stub types definition. browserslist provides its own type defi
nitions, so you do not need this installed.
warning ../../../package.json: No license field
warning @nuxt/content > @nuxt/types > @types/webpack > @types/[email protected]: Th
is is a stub types definition. anymatch provides its own type definitions, so yo
u do not need this installed.
warning @nuxt/content > @nuxt/types > @types/autoprefixer > @types/browserslist@
4.15.0: This is a stub types definition. browserslist provides its own type defi
nitions, so you do not need this installed.
warning @nuxtjs/pwa > [email protected]: wrong release
warning nuxt > @nuxt/babel-preset-app > [email protected]: core-js@<3.4 is no longe
r maintained and not recommended for usage due to the number of issues. Because 
of the V8 engine whims, feature detection in old core-js versions could cause a 
slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependen
cies to the actual version of core-js.
warning ../../../package.json: No license field
warning @nuxt/content > @nuxt/types > @types/webpack > @types/[email protected]: Th
is is a stub types definition. anymatch provides its own type definitions, so yo
u do not need this installed.
warning @nuxt/content > @nuxt/types > @types/autoprefixer > @types/browserslist@
4.15.0: This is a stub types definition. browserslist provides its own type defi
nitions, so you do not need this installed.
warning @nuxtjs/pwa > [email protected]: wrong release
warning nuxt > @nuxt/babel-preset-app > [email protected]: core-js@<3.4 is no longe
r maintained and not recommended for usage due to the number of issues. Because 
of the V8 engine whims, feature detection in old core-js versions could cause a 
slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependen
cies to the actual version of core-js.
warning ../../../package.json: No license field
warning @nuxt/content > @nuxt/types > @types/webpack > @types/[email protected]: Th
is is a stub types definition. anymatch provides its own type definitions, so yo
u do not need this installed.
warning @nuxt/content > @nuxt/types > @types/autoprefixer > @types/browserslist@
4.15.0: This is a stub types definition. browserslist provides its own type defi
nitions, so you do not need this installed.
warning @nuxtjs/pwa > [email protected]: wrong release
warning nuxt > @nuxt/babel-preset-app > [email protected]: core-js@<3.4 is no longe
r maintained and not recommended for usage due to the number of issues. Because 
of the V8 engine whims, feature detection in old core-js versions could cause a 
slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependen
cies to the actual version of core-js.
warning nuxt > @nuxt/webpack > webpack-hot-middleware > [email protected]: The q
warning ../../../package.json: No license field
warning @nuxt/content > @nuxt/types > @types/webpack > @types/[email protected]: Th
is is a stub types definition. anymatch provides its own type definitions, so yo
u do not need this installed.
warning @nuxt/content > @nuxt/types > @types/autoprefixer > @types/browserslist@
4.15.0: This is a stub types definition. browserslist provides its own type defi
nitions, so you do not need this installed.
warning @nuxtjs/pwa > [email protected]: wrong release
warning nuxt > @nuxt/babel-preset-app > [email protected]: core-js@<3.4 is no longe
r maintained and not recommended for usage due to the number of issues. Because 
of the V8 engine whims, feature detection in old core-js versions could cause a 
slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependen
cies to the actual version of core-js.
warning nuxt > @nuxt/webpack > webpack-hot-middleware > [email protected]: The q
uerystring API is considered Legacy. new code should use the URLSearchParams API
 instead.
warning nuxt > @nuxt/webpack > webpack > node-libs-browser > url > querystring@0
.2.0: The querystring API is considered Legacy. new code should use the URLSearc
hParams API instead.
warning nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > choki
[email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to c
hokidar 3 with 15x fewer dependencies
warning nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > choki
dar > [email protected]: fsevents 1 will break on node v14+ and could be using ins
ecure binaries. Upgrade to fsevents 2.
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
[email protected]: See https://github.com/lydell/source-map-resolve#deprecated
warning nuxt > @nuxt/webpack > cssnano > cssnano-preset-default > postcss-svgo >
 [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning nuxt > @nuxt/webpack > postcss-preset-env > postcss-color-functional-not
ation > postcss-values-parser > [email protected]: flatten is deprecated in favor of
 utility frameworks such as lodash.
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: See https://github.com/lydell/source-map-url#depre
cated
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning ../../../package.json: No license field
warning @nuxt/content > @nuxt/types > @types/webpack > @types/[email protected]: Th
is is a stub types definition. anymatch provides its own type definitions, so yo
u do not need this installed.
warning @nuxt/content > @nuxt/types > @types/autoprefixer > @types/browserslist@
4.15.0: This is a stub types definition. browserslist provides its own type defi
nitions, so you do not need this installed.
warning @nuxtjs/pwa > [email protected]: wrong release
warning nuxt > @nuxt/babel-preset-app > [email protected]: core-js@<3.4 is no longe
r maintained and not recommended for usage due to the number of issues. Because 
of the V8 engine whims, feature detection in old core-js versions could cause a 
slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependen
cies to the actual version of core-js.
warning nuxt > @nuxt/webpack > webpack-hot-middleware > [email protected]: The q
uerystring API is considered Legacy. new code should use the URLSearchParams API
 instead.
warning nuxt > @nuxt/webpack > webpack > node-libs-browser > url > querystring@0
.2.0: The querystring API is considered Legacy. new code should use the URLSearc
hParams API instead.
warning nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > choki
[email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to c
hokidar 3 with 15x fewer dependencies
warning nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > choki
dar > [email protected]: fsevents 1 will break on node v14+ and could be using ins
ecure binaries. Upgrade to fsevents 2.
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
[email protected]: See https://github.com/lydell/source-map-resolve#deprecated
warning nuxt > @nuxt/webpack > cssnano > cssnano-preset-default > postcss-svgo >
 [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning nuxt > @nuxt/webpack > postcss-preset-env > postcss-color-functional-not
ation > postcss-values-parser > [email protected]: flatten is deprecated in favor of
 utility frameworks such as lodash.
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: See https://github.com/lydell/source-map-url#depre
cated
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning ../../../package.json: No license field
warning @nuxt/content > @nuxt/types > @types/webpack > @types/[email protected]: Th
is is a stub types definition. anymatch provides its own type definitions, so yo
u do not need this installed.
warning @nuxt/content > @nuxt/types > @types/autoprefixer > @types/browserslist@
4.15.0: This is a stub types definition. browserslist provides its own type defi
nitions, so you do not need this installed.
warning @nuxtjs/pwa > [email protected]: wrong release
warning nuxt > @nuxt/babel-preset-app > [email protected]: core-js@<3.4 is no longe
r maintained and not recommended for usage due to the number of issues. Because 
of the V8 engine whims, feature detection in old core-js versions could cause a 
slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependen
cies to the actual version of core-js.
warning nuxt > @nuxt/webpack > webpack-hot-middleware > [email protected]: The q
uerystring API is considered Legacy. new code should use the URLSearchParams API
 instead.
warning nuxt > @nuxt/webpack > webpack > node-libs-browser > url > querystring@0
.2.0: The querystring API is considered Legacy. new code should use the URLSearc
hParams API instead.
warning nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > choki
[email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to c
hokidar 3 with 15x fewer dependencies
warning nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > choki
dar > [email protected]: fsevents 1 will break on node v14+ and could be using ins
ecure binaries. Upgrade to fsevents 2.
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
[email protected]: See https://github.com/lydell/source-map-resolve#deprecated
warning nuxt > @nuxt/webpack > cssnano > cssnano-preset-default > postcss-svgo >
 [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning nuxt > @nuxt/webpack > postcss-preset-env > postcss-color-functional-not
ation > postcss-values-parser > [email protected]: flatten is deprecated in favor of
 utility frameworks such as lodash.
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: See https://github.com/lydell/source-map-url#depre
cated
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-re
solve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning vue-jest > babel-plugin-transform-es2015-modules-commonjs > babel-runtim
e > [email protected]: core-js@<3.4 is no longer maintained and not recommended for
 usage due to the number of issues. Because of the V8 engine whims, feature dete
ction in old core-js versions could cause a slowdown up to 100x even if nothing 
is polyfilled. Please, upgrade your dependencies to the actual version of core-j
s.
warning vue-jest > extract-from-css > css > [email protected]: See https:
//github.com/lydell/source-map-resolve#deprecated
warning vue-jest > extract-from-css > css > [email protected]: Please see https://githu
b.com/lydell/urix#deprecated
warning "nuxt > @nuxt/[email protected]" has unmet peer dependency "consola@*".
warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@
>=7.11.0".
warning "@nuxtjs/eslint-config > [email protected]" has incorrect peer
 dependency "eslint@^7.0.0".
warning "@nuxtjs/eslint-config > [email protected]" has incorrect pe
er dependency "eslint@^7.12.1".
warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experim
ental-utils > @typescript-eslint/utils > @typescript-eslint/typescript-estree > 
[email protected]" 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 " > [email protected]" has unmet peer dependency "@babel/core@^7
.0.0-0".
warning " > [email protected]" has unmet peer dependency "@babel/core@^7.8.0".
warning "babel-jest > [email protected]" has unmet peer dependency "@babe
l/core@^7.0.0".
warning "babel-jest > babel-preset-jest > [email protected]
" has unmet peer dependency "@babel/core@^7.0.0".
warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @ba
bel/[email protected]" has unmet peer dependency "@babel/core@^7.
0.0-0".
warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @ba
bel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0"
.
error /Users/quantumdynamix/QD Shares/Git Shares/test-project/node_modules/deasy
nc: Command failed.
Exit code: 1
Command: node ./build.js
Arguments: 
Directory: /Users/quantumdynamix/QD Shares/Git Shares/test-project/node_modules/
deasync
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info find Python using Python version 3.8.9 found at "/Library/Developer/Com
mandLineTools/usr/bin/python3"
gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
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/quantumdynamix/QD Shares/Git Shares/test-project/n
ode_modules/deasync/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/add
on.gypi',
gyp info spawn args   '-I',
gyp info spawn args   
'/Users/quantumdynamix/Library/Caches/node-gyp/16.14.2/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/quantumdynamix/Library/Caches/node
-gyp/16.14.2',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modul
es/node-gyp',
gyp info spawn args   
'-Dnode_lib_file=/Users/quantumdynamix/Library/Caches/node-gyp/16.14.2/<(target_
arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/quantumdynamix/QD Shares/Git Sha
res/test-project/node_modules/deasync',
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 ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
   CXX(target) Release/obj.target/deasync/src/deasync.o
clang: error: no such file or directory: 'Shares/Git'
clang: error: no such file or directory: 'Shares/test-project/node_modules/node-
addon-api'
make: *** [Release/obj.target/deasync/src/deasync.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_
modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:526:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_p
rocess:291:12)
gyp ERR! System Darwin 21.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_mod
ules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/quantumdynamix/QD Shares/Git Shares/test-project/node_module
s/deasync
gyp ERR! node -v v16.14.2
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok 
Build failed

yarn install v1.22.15
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this 
command.

/Users/quantumdynamix/.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/quantumdynamix/QD Shares/Git Shares/test-project
    at ChildProcess.<anonymous> (/Users/quantumdynamix/.config/yarn/global/node_modules/sao/lib/installPackages.js:108:15)
    at ChildProcess.emit (node:events:526:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  __sao: true
}
error Command failed.
Exit code: 1
Command: /usr/local/bin/create-nuxt-app
Arguments: test-project
Directory: /Users/quantumdynamix/QD Shares/Git Shares
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.```
@ekazda
Copy link
Author

ekazda commented Apr 5, 2022

Is anyone monitoring these issues? I don't think this is user error and it feels like a pretty critical issue to leave unresolved. Any feedback of any kid would be helpful.

@ekazda
Copy link
Author

ekazda commented Apr 7, 2022

Still having problems with this. I tried upgrading Node.js to 17, and it still happens.

create-nuxt-app v4.0.0
✨  Generating Nuxt.js project in test-project
? Project name: test-project
? Programming language: JavaScript
? Package manager: Npm
? UI framework: Tailwind CSS
? Nuxt.js modules: Axios - Promise based HTTP client, Progressive Web App (PWA),
 Content - Git-based headless CMS
? Linting tools: ESLint, Prettier
? Testing framework: Jest
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Server (Node.js hosting)
? Development tools: jsconfig.json (Recommended for VS Code if you're not using 
typescript)
? Continuous integration: None
? Version control system: Git
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^7.12.1" from [email protected]
npm WARN   node_modules/eslint-config-standard
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^7.12.1" from [email protected]
npm WARN   node_modules/eslint-config-standard
npm WARN     eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN     node_modules/@nuxtjs/eslint-config
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^7.12.1" from [email protected]
npm WARN   node_modules/eslint-config-standard
npm WARN     eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN     node_modules/@nuxtjs/eslint-config
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^7.12.1" from [email protected]
npm WARN   node_modules/eslint-config-standard
npm WARN     eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN     node_modules/@nuxtjs/eslint-config
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.0.0" from [email protected]
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.12.1" from [email protected]
npm WARN node_modules/eslint-config-standard
npm WARN   eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^7.12.1" from [email protected]
npm WARN   node_modules/eslint-config-standard
npm WARN     eslint-config-standard@"^16.0.3" from @nuxtjs/[email protected]
npm WARN     node_modules/@nuxtjs/eslint-config
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/eslint
npm WARN   dev eslint@"^8.4.1" from the root project
npm WARN   11 more (@babel/eslint-parser, @nuxtjs/eslint-config, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint@"^7.0.0" from [email protected]
npm WARN node_modules/eslint-plugin-promise
npm WARN   eslint-plugin-promise@"^5.1.1" from @nuxtjs/[email protected]
npm WARN   node_modules/@nuxtjs/eslint-config
npm WARN   1 more (eslint-config-standard)
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/eslint
npm WARN   peer eslint@"^7.0.0" from [email protected]
npm WARN   node_modules/eslint-plugin-promise
npm WARN     eslint-plugin-promise@"^5.1.1" from @nuxtjs/[email protected]
npm WARN     node_modules/@nuxtjs/eslint-config
npm WARN     1 more (eslint-config-standard)
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '12 - 16' },
npm WARN EBADENGINE   current: { node: 'v17.8.0', npm: '8.5.5' }
npm WARN EBADENGINE }
npm WARN deprecated [email protected]: flatten is deprecated in favor of utility fra
meworks such as lodash.
npm WARN deprecated [email protected]: The querystring API is considered Legacy.
 new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: See https://github.com/lydell/source-m
ap-url#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#dep
recated
npm WARN deprecated [email protected]: See https://github.com/lydell/sour
ce-map-resolve#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprec
ated
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrad
e to v2.x.x.
npm WARN deprecated @types/[email protected]: This is a stub types definition. anym
atch provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/[email protected]: This is a stub types definition.
 browserslist provides its own type definitions, so you do not need this install
ed.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and coul
d be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates
 since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not
 recommended for usage due to the number of issues. Because of the V8 engine whi
ms, feature detection in old core-js versions could cause a slowdown up to 100x 
even if nothing is polyfilled. Please, upgrade your dependencies to the actual v
ersion of core-js.
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not
 recommended for usage due to the number of issues. Because of the V8 engine whi
ms, feature detection in old core-js versions could cause a slowdown up to 100x 
even if nothing is polyfilled. Please, upgrade your dependencies to the actual v
ersion of core-js.
npm ERR! code 1
npm ERR! path /Users/quantumdynamix/QD Shares/Git Shares/test-project/no
de_modules/deasync
npm ERR! command failed
npm ERR! command sh -c node ./build.js
npm ERR! CXX(target) Release/obj.target/deasync/src/deasync.o
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | arm64
npm ERR! gyp info find Python using Python version 3.8.9 found at "/Library/Deve
loper/CommandLineTools/usr/bin/python3"
npm ERR! gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/nod
e-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/quantumdynamix/QD Shares/Git Shares/pci-a
uctions-phase-3/node_modules/deasync/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/nod
e-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/quantumdynamix/Library/Caches/node-gyp/17
.8.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/quantumdynamix/Library/Ca
ches/node-gyp/17.8.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/n
ode_modules/node-gyp',
npm ERR! gyp info spawn args   
'-Dnode_lib_file=/Users/quantumdynamix/Library/Caches/node-gyp/17.8.0/<(target_a
rch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/quantumdynamix/QD Share
s/Git Shares/test-project/node_modules/deasync',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! clang: error: no such file or directory: 'Shares/Git'
npm ERR! clang: error: no such file or directory: 'Shares/test-project/n
ode_modules/node-addon-api'
npm ERR! make: *** [Release/obj.target/deasync/src/deasync.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/
npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:interna
l/child_process:291:12)
npm ERR! gyp ERR! System Darwin 21.4.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm
/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/quantumdynamix/QD Shares/Git Shares/pci-auctions-ph
ase-3/node_modules/deasync
npm ERR! gyp ERR! node -v v17.8.0
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok 
npm ERR! Build failed

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/quantumdynamix/.npm/_logs/2022-04-07T14_43_55_125Z-debug-0.l
og


/Users/quantumdynamix/.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/quantumdynamix/QD Shares/Git Shares/test-project
    at ChildProcess.<anonymous> (/Users/quantumdynamix/.config/yarn/global/node_modules/sao/lib/installPackages.js:108:15)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1090:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:527:28)
    at Pipe.<anonymous> (node:net:709:12) {
  __sao: true
}

Node.js v17.8.0

@japandotorg
Copy link

yup i'm getting the same error on node 18

C:\Users\Lemon Rose\Desktop>npx create-nuxt-app melon-nuxt

create-nuxt-app v4.0.0
  Generating Nuxt.js project in melon-nuxt
? Project name: melon-nuxt
? Programming language: JavaScript
? Package manager: Yarn
? UI framework: Tailwind CSS
? Nuxt.js modules: (Press <space> to select, <a> to toggle all, <i> to invert selection)
? Linting tools: (Press <space> to select, <a> to toggle all, <i> to invert selection)
? Testing framework: None
? Rendering mode: Universal (SSR / SSG)
? Deployment target: Static (Static/Jamstack hosting)
? Development tools: (Press <space> to select, <a> to toggle all, <i> to invert selection)
? What is your GitHub username? japandotorg
? Version control system: Git
warning nuxt > @nuxt/babel-preset-app > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for
 usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cau
warning nuxt > @nuxt/babel-preset-app > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for
 usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cau
warning nuxt > @nuxt/babel-preset-app > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for
 usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cau
se a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade yo
ur dependencies to the actual version of core-js.
warning nuxt > @nuxt/babel-preset-app > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for
 usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cau
se a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade yo
ur dependencies to the actual version of core-js.
warning nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive
security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning nuxt > @nuxt/webpack > webpack > watchpack > watchpack-chokidar2 > chokidar > fsevents@1.2.13: fsevents 1 will
break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning nuxt > @nuxt/webpack > cssnano > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no lo
nger supported. Upgrade to v2.x.x.
warning nuxt > @nuxt/webpack > postcss-preset-env > postcss-color-functional-notation > postcss-values-parser > flatten
@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lyd
ell/source-map-resolve#deprecated
warning nuxt > @nuxt/webpack > webpack > node-libs-browser > url > querystring@0.2.0: The querystring API is considered
 Legacy. new code should use the URLSearchParams API instead.
warning nuxt > @nuxt/webpack > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already
 guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://d
eveloper.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://gith
ub.com/lydell/resolve-url#deprecated
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https
://github.com/lydell/source-map-url#deprecated
warning nuxt > @nuxt/webpack > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://
github.com/lydell/urix#deprecated
error postcss-nesting@8.0.1: The engine "node" is incompatible with this module. Expected version "12 - 16". Got "18.7.
0"
error Found incompatible module.

yarn install v1.22.19
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

C:\Users\Lemon Rose\AppData\Local\npm-cache\_npx\ea7c6e7510ea3309\node_modules\sao\lib\installPackages.js:108
        throw new SAOError(`Failed to install ${packageName} in ${cwd}`)
        ^

SAOError: Failed to install packages in C:\Users\Lemon Rose\Desktop\melon-nuxt
    at ChildProcess.<anonymous> (C:\Users\Lemon Rose\AppData\Local\npm-cache\_npx\ea7c6e7510ea3309\node_modules\sao\lib\installPackages.js:108:15)
    at ChildProcess.emit (node:events:513:28)
    at cp.emit (C:\Users\Lemon Rose\AppData\Local\npm-cache\_npx\ea7c6e7510ea3309\node_modules\sao\node_modules\cross-spawn\lib\enoent.js:34:29)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  __sao: true
}

Node.js v18.7.0

@clarkdo clarkdo self-assigned this Sep 28, 2022
@clarkdo
Copy link
Member

clarkdo commented Sep 28, 2022

This should be yarn install issue, can you check yarn error log for the error details ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants