-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Description
Version
4.5.12
Environment info
Environment Info:
System:
OS: Windows 10 10.0.19042
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Binaries:
Node: 15.14.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 7.9.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 90.0.4430.85
Edge: Spartan (44.19041.906.0), Chromium (90.0.818.46)
npmGlobalPackages:
@vue/cli: Not Found
Steps to reproduce
vue create test
- (optional)
Overwrite
- Select
Manually select features
- Features: Enable
Unit testing
- vue version: (default) 2.x
- Linter/formatter: (default)
Eslint with error prevention only
- Lint features: (default)
- Unit testing framework:
Jest
- Config placement: (default)
In dedicated config files
- Save preset: (default) N
Workaround: Use mocha chai as unit testing framework.
What is expected?
Vue creates a project without errors, or shows an error message that these settings are unavailable.
What is actually happening?
Fails with error message (ignore the Warning: Ignoring extra certs
warnings)
Warning: Ignoring extra certs from `C:\Users\sscho\AppData\Local\mkcert`, load failed: error:02001005:system library:fopen:Input/output error
Warning: Ignoring extra certs from `C:\Users\sscho\AppData\Local\mkcert`, load failed: error:02001005:system library:fopen:Input/output error
npm ERR! code 1
npm ERR! path C:\test\node_modules\deasync
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./build.js
npm ERR! `win32-x64-node-15` exists; testing
npm ERR! Problem with the binary; manual build incoming
npm ERR! stdout=
npm ERR! err=null
npm ERR! Warning: Ignoring extra certs from `C:\Users\sscho\AppData\Local\mkcert`, load failed: error:02001005:system library:fopen:Input/output error
npm ERR! Warning: Ignoring extra certs from `C:\Users\sscho\AppData\Local\mkcert`, load failed: error:02001005:system library:fopen:Input/output error
npm ERR! Warning: Ignoring extra certs from `C:\Users\sscho\AppData\Local\mkcert`, load failed: error:02001005:system library:fopen:Input/output error
npm ERR! gyp: Call to 'node -p "require('node-addon-api').include"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onCpExit (C:\Users\sscho\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:351:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:369:20)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\sscho\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\test\node_modules\deasync
npm ERR! gyp ERR! node -v v15.14.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! Build failed
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sscho\AppData\Local\npm-cache\_logs\2021-04-27T06_49_55_509Z-debug.log
ERROR command failed: npm install --loglevel error --legacy-peer-deps
huangyecong, yxsci66, kenberkeley and CarlosLazzaro
Metadata
Metadata
Assignees
Labels
No labels