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

deasync install error #2

Closed
snowdream opened this issue Jun 18, 2023 · 1 comment
Closed

deasync install error #2

snowdream opened this issue Jun 18, 2023 · 1 comment

Comments

@snowdream
Copy link

snowdream@DESKTOP-CPN21VO MINGW64 /d/workspace/go/src/snowdream.tech/vue-element-admin (master)
$ pnpm install
 WARN  deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
 WARN  deprecated chokidar@2.1.5: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
 WARN  deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
 WARN  deprecated svgo@1.2.0: This SVGO version is no longer supported. Upgrade to v2.x.x.
 WARN  deprecated axios@0.18.1: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
 WARN  deprecated core-js@3.6.5: 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 cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
 WARN  deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
 WARN  deprecated fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
 WARN  deprecated 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://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
 WARN  deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
 WARN  deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
 WARN  deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
 WARN  deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
 WARN  deprecated consolidate@0.15.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
 WARN  deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
 WARN  deprecated 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 cause a slowdown up to 100x even if nothing is polyfilled. Some versions 
have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
 WARN  deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
 WARN  deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
 WARN  deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
 WARN  deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
 WARN  deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
 WARN  deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
 WARN  deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
 WARN  deprecated har-validator@5.1.5: this library is no longer supported
 WARN  deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is 
known to be problematic.  See https://v8.dev/blog/math-random for details.
 WARN  deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
 WARN  deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
 WARN  deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
 WARN  deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
 WARN  deprecated left-pad@1.3.0: use String.prototype.padStart()
Packages: +1699
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
Progress: resolved 1683, reused 1681, downloaded 0, added 0, done
node_modules/.pnpm/deasync@0.1.28/node_modules/deasync: Running install script, failed in 7.6s
.../deasync@0.1.28/node_modules/deasync install$ node ./build.js
│ D:\workspace\go\src\snowdream.tech\vue-element-admin\node_modules\.pnpm\deasync@0.1.28\node_modules\deasync>if not defined npm_config_node_  
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@9.3.1
│ gyp info using node@19.8.1 | win32 | x64
│ gyp info find Python using Python version 3.11.2 found at "C:\Users\snowdream\AppData\Local\Programs\Python\Python311\python.exe"
│ gyp info find VS using VS2019 (16.11.33423.256) found at:
│ gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
│ gyp info find VS run with --verbose for detailed information
│ gyp info spawn C:\Users\snowdream\AppData\Local\Programs\Python\Python311\python.exe
│ gyp info spawn args [
│ gyp info spawn args   'C:\\Users\\snowdream\\AppData\\Roaming\\npm\\node_modules\\pnpm\\dist\\node_modules\\node-gyp\\gyp\\gyp_main.py',     
│ gyp info spawn args   'binding.gyp',
│ gyp info spawn args   '-f',
│ gyp info spawn args   'msvs',
│ gyp info spawn args   '-I',
│ gyp info spawn args   'D:\\workspace\\go\\src\\snowdream.tech\\vue-element-admin\\node_modules\\.pnpm\\deasync@0.1.28\\node_modules\\deasyn  
│ gyp info spawn args   '-I',
│ gyp info spawn args   'C:\\Users\\snowdream\\AppData\\Roaming\\npm\\node_modules\\pnpm\\dist\\node_modules\\node-gyp\\addon.gypi',
│ gyp info spawn args   '-I',
│ gyp info spawn args   'C:\\Users\\snowdream\\AppData\\Local\\node-gyp\\Cache\\19.8.1\\include\\node\\common.gypi',
│ gyp info spawn args   '-Dlibrary=shared_library',
│ gyp info spawn args   '-Dvisibility=default',
│ gyp info spawn args   '-Dnode_root_dir=C:\\Users\\snowdream\\AppData\\Local\\node-gyp\\Cache\\19.8.1',
│ gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\snowdream\\AppData\\Roaming\\npm\\node_modules\\pnpm\\dist\\node_modules\\node-gyp',        
│ gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\snowdream\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\19.8.1\\\\<(target_arch)\\\\nod  
│ gyp info spawn args   '-Dmodule_root_dir=D:\\workspace\\go\\src\\snowdream.tech\\vue-element-admin\\node_modules\\.pnpm\\deasync@0.1.28\\no  
│ 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   'D:\\workspace\\go\\src\\snowdream.tech\\vue-element-admin\\node_modules\\.pnpm\\deasync@0.1.28\\node_modules\\deasyn  
│ gyp info spawn args   '-Goutput_dir=.'
│ gyp info spawn args ]
│ gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe
│ gyp info spawn args [
│ gyp info spawn args   'build/binding.sln',
│ gyp info spawn args   '/clp:Verbosity=minimal',
│ gyp info spawn args   '/nologo',
│ gyp info spawn args   '/p:Configuration=Release;Platform=x64'
│ gyp info spawn args ]
│ �ڴ˽��������һ������һ����Ŀ����Ҫ���ò������ɣ������ӡ�-m�����ء�
│   deasync.cc
│ D:\workspace\go\src\snowdream.tech\vue-element-admin\node_modules\.pnpm\deasync@0.1.28\node_modules\deasync\src\deasync.cc(3,10): fatal err
│ gyp ERR! build error
│ gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code
│ gyp ERR! stack     at ChildProcess.onExit (C:\Users\snowdream\AppData\Roaming\npm\node_modules\pnpm\dist\node_modules\node-gyp\lib\build.js
│ gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
│ gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
│ gyp ERR! System Windows_NT 10.0.19045
│ gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\snowdream\\AppData\\Roaming\\npm\\node_modules\\pnpm\\dist\\node_modules
│ gyp ERR! cwd D:\workspace\go\src\snowdream.tech\vue-element-admin\node_modules\.pnpm\deasync@0.1.28\node_modules\deasync
│ gyp ERR! node -v v19.8.1
│ gyp ERR! node-gyp -v v9.3.1
│ gyp ERR! not ok
│ Build failed
└─ Failed in 7.6s at D:\workspace\go\src\snowdream.tech\vue-element-admin\node_modules\.pnpm\deasync@0.1.28\node_modules\deasync
 ELIFECYCLE  Command failed with exit code 1.
@snowdream
Copy link
Author

snowdream commented Jun 18, 2023

vuejs/vue-jest#403 (comment)

For Vue2:

npm install --save-dev @vue/cli-plugin-unit-jest@next @vue/vue2-jest jest

For Vue3:

npm install --save-dev @vue/cli-plugin-unit-jest@next @vue/vue3-jest jest ts-jest

snowdream added a commit that referenced this issue Jun 18, 2023
snowdream added a commit that referenced this issue Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant