We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
npm install -g node-gyp 这个安装成功 npm install @ronomon/utimes 这个不行 command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! Warning: Missing input files: npm ERR! D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\Release\binding.node npm ERR! �ڴ˽��������һ������һ����Ŀ����Ҫ���ò������ɣ������ӡ�/m�����ء� npm ERR! binding.cc npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(151): error C2660: ��v8::Value::Uint32Value��: ���������� 0 ������ [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj] npm ERR! c:\users\administrator\appdata\local\node-gyp\cache\16.0.0\include\node\v8.h(3075): note: �μ���v8::Value::Uint32Value�������� npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(151): error C2789: ��flags��: �����ʼ�����������͵Ķ��� [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj] npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(151): note: �μ���flags�������� npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(152): error C2660: ��v8::Value::IntegerValue��: ���������� 0 ������ [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj] npm ERR! c:\users\administrator\appdata\local\node-gyp\cache\16.0.0\include\node\v8.h(3072): note: �μ���v8::Value::IntegerValue�������� npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(152): error C2789: ��btime��: �����ʼ�����������͵Ķ��� [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj] npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(152): note: �μ���btime�������� npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(153): error C2660: ��v8::Value::IntegerValue��: ���������� 0 ������ [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj] npm ERR! c:\users\administrator\appdata\local\node-gyp\cache\16.0.0\include\node\v8.h(3072): note: �μ���v8::Value::IntegerValue�������� npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(153): error C2789: ��mtime��: �����ʼ�����������͵Ķ��� [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj] npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(153): note: �μ���mtime�������� npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(154): error C2660: ��v8::Value::IntegerValue��: ���������� 0 ������ [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj] npm ERR! c:\users\administrator\appdata\local\node-gyp\cache\16.0.0\include\node\v8.h(3072): note: �μ���v8::Value::IntegerValue�������� npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(154): error C2789: ��atime��: �����ʼ�����������͵Ķ��� [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj] npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(154): note: �μ���atime�������� 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] | win32 | x64 npm ERR! gyp info find Python using Python version 3.11.0 found at "D:\soft\python3\python.exe" npm ERR! gyp info find VS using VS2017 (15.9.33926.519) found at: npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" npm ERR! gyp info find VS run with --verbose for detailed information npm ERR! gyp info spawn D:\soft\python3\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'D:\webProject\file_rename_vue3\node_modules\node-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 'msvs', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'D:\webProject\file_rename_vue3\frontend_native_ui\node_modules\@ronomon\utimes\build\config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'D:\webProject\file_rename_vue3\node_modules\node-gyp\addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.0.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=C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.0.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=D:\webProject\file_rename_vue3\node_modules\node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\16.0.0\\<(target_arch)\\node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=D:\webProject\file_rename_vue3\frontend_native_ui\node_modules\@ronomon\utimes', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'D:\webProject\file_rename_vue3\frontend_native_ui\node_modules\@ronomon\utimes\build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'build/binding.sln', npm ERR! gyp info spawn args '/clp:Verbosity=minimal', npm ERR! gyp info spawn args '/nologo', npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64' npm ERR! gyp info spawn args ] npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onExit (D:\webProject\file_rename_vue3\node_modules\node-gyp\lib\build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28) 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.18363 npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\webProject\file_rename_vue3\node_modules\node-gyp\bin\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes npm ERR! gyp ERR! node -v v16.0.0 npm ERR! gyp ERR! node-gyp -v v9.4.0 npm ERR! gyp ERR! not ok
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
npm ERR! A complete log of this run can be found in:
npm i https://github.com/Jule-/utimes.git#napi-migration 这个也不行 npm ERR! git dep preparation failed npm ERR! command C:\Program Files\nodejs\node.exe D:\soft\nvm\v16.0.0\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\Administrator\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit npm ERR! > @ronomon/[email protected] install npm ERR! > node-gyp rebuild npm ERR! npm WARN using --force Recommended protections disabled. 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] | win32 | x64 npm ERR! gyp info find Python using Python version 3.11.0 found at "D:\soft\python3\python.exe" npm ERR! gyp info find VS using VS2017 (15.9.33926.519) found at: npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" npm ERR! gyp info find VS run with --verbose for detailed information npm ERR! (node:19500) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use node --trace-deprecation ... to show where the warning was created) npm ERR! gyp info spawn D:\soft\python3\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-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 'msvs', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\Administrator\AppData\Local\npm-cache\cacache\tmp\git-clone-85869ccc\build\config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.0.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=C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.0.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\16.0.0\\<(target_arch)\\node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\Users\Administrator\AppData\Local\npm-cache\cacache\tmp\git-clone-85869ccc', 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 'C:\Users\Administrator\AppData\Local\npm-cache\cacache\tmp\git-clone-85869ccc\build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! Traceback (most recent call last): npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 51, in npm ERR! sys.exit(gyp.script_main()) npm ERR! ^^^^^^^^^^^^^^^^^ npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init.py", line 670, in script_main npm ERR! return main(sys.argv[1:]) npm ERR! ^^^^^^^^^^^^^^^^^^ npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init.py", line 662, in main npm ERR! return gyp_main(args) npm ERR! ^^^^^^^^^^^^^^ npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init.py", line 629, in gyp_main npm ERR! [generator, flat_list, targets, data] = Load( npm ERR! ^^^^^ npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init_.py", line 150, in Load npm ERR! result = gyp.input.Load( npm ERR! ^^^^^^^^^^^^^^^ npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 3021, in Load npm ERR! LoadTargetBuildFile( npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 411, in LoadTargetBuildFile npm ERR! build_file_data = LoadOneBuildFile( npm ERR! ^^^^^^^^^^^^^^^^^ npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 239, in LoadOneBuildFile npm ERR! build_file_contents = open(build_file_path, "rU").read() npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^ npm ERR! ValueError: invalid mode: 'rU' 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 (D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\lib\configure.js:351:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28) 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.18363 npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd C:\Users\Administrator\AppData\Local\npm-cache_cacache\tmp\git-clone-85869ccc npm ERR! gyp ERR! node -v v16.0.0 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! npm ERR! code 1 npm ERR! npm ERR! path C:\Users\Administrator\AppData\Local\npm-cache_cacache\tmp\git-clone-85869ccc npm ERR! npm ERR! command failed npm ERR! npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! npm ERR! npm ERR! A complete log of this run can be found in:
node --trace-deprecation ...
gyp
The text was updated successfully, but these errors were encountered:
No branches or pull requests
npm install -g node-gyp
这个安装成功
npm install @ronomon/utimes
这个不行
command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! Warning: Missing input files:
npm ERR! D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\Release\binding.node
npm ERR! �ڴ˽��������һ������һ����Ŀ����Ҫ���ò������ɣ������ӡ�/m�����ء�
npm ERR! binding.cc
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(151): error C2660: ��v8::Value::Uint32Value��: ���������� 0 ������ [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj]
npm ERR! c:\users\administrator\appdata\local\node-gyp\cache\16.0.0\include\node\v8.h(3075): note: ���v8::Value::Uint32Value��������
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(151): error C2789: ��flags��: �����ʼ�����������͵Ķ��� [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj]
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(151): note: ���flags��������
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(152): error C2660: ��v8::Value::IntegerValue��: ���������� 0 ������ [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj]
npm ERR! c:\users\administrator\appdata\local\node-gyp\cache\16.0.0\include\node\v8.h(3072): note: ���v8::Value::IntegerValue��������
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(152): error C2789: ��btime��: �����ʼ�����������͵Ķ��� [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj]
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(152): note: ���btime��������
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(153): error C2660: ��v8::Value::IntegerValue��: ���������� 0 ������ [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj]
npm ERR! c:\users\administrator\appdata\local\node-gyp\cache\16.0.0\include\node\v8.h(3072): note: ���v8::Value::IntegerValue��������
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(153): error C2789: ��mtime��: �����ʼ�����������͵Ķ��� [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj]
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(153): note: ���mtime��������
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(154): error C2660: ��v8::Value::IntegerValue��: ���������� 0 ������ [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj]
npm ERR! c:\users\administrator\appdata\local\node-gyp\cache\16.0.0\include\node\v8.h(3072): note: ���v8::Value::IntegerValue��������
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(154): error C2789: ��atime��: �����ʼ�����������͵Ķ��� [D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\build\binding.vcxproj]
npm ERR! d:\webproject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes\binding.cc(154): note: ���atime��������
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] | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.0 found at "D:\soft\python3\python.exe"
npm ERR! gyp info find VS using VS2017 (15.9.33926.519) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn D:\soft\python3\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'D:\webProject\file_rename_vue3\node_modules\node-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 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'D:\webProject\file_rename_vue3\frontend_native_ui\node_modules\@ronomon\utimes\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'D:\webProject\file_rename_vue3\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.0.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=C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.0.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=D:\webProject\file_rename_vue3\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\16.0.0\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=D:\webProject\file_rename_vue3\frontend_native_ui\node_modules\@ronomon\utimes',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'D:\webProject\file_rename_vue3\frontend_native_ui\node_modules\@ronomon\utimes\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'build/binding.sln',
npm ERR! gyp info spawn args '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args '/nologo',
npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error:
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onExit (D:\webProject\file_rename_vue3\node_modules\node-gyp\lib\build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28)
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.18363
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\webProject\file_rename_vue3\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\webProject\file_rename_vue3\frontend_native_ui\node_modules@ronomon\utimes
npm ERR! gyp ERR! node -v v16.0.0
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm i https://github.com/Jule-/utimes.git#napi-migration
这个也不行
npm ERR! git dep preparation failed
npm ERR! command C:\Program Files\nodejs\node.exe D:\soft\nvm\v16.0.0\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\Administrator\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! > @ronomon/[email protected] install
npm ERR! > node-gyp rebuild
npm ERR! npm WARN using --force Recommended protections disabled.
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] | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.0 found at "D:\soft\python3\python.exe"
npm ERR! gyp info find VS using VS2017 (15.9.33926.519) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! (node:19500) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR! (Use
node --trace-deprecation ...
to show where the warning was created)npm ERR! gyp info spawn D:\soft\python3\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-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 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Administrator\AppData\Local\npm-cache\cacache\tmp\git-clone-85869ccc\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.0.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=C:\Users\Administrator\AppData\Local\node-gyp\Cache\16.0.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\16.0.0\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\Users\Administrator\AppData\Local\npm-cache\cacache\tmp\git-clone-85869ccc',
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 'C:\Users\Administrator\AppData\Local\npm-cache\cacache\tmp\git-clone-85869ccc\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! Traceback (most recent call last):
npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 51, in
npm ERR! sys.exit(gyp.script_main())
npm ERR! ^^^^^^^^^^^^^^^^^
npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init.py", line 670, in script_main
npm ERR! return main(sys.argv[1:])
npm ERR! ^^^^^^^^^^^^^^^^^^
npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init.py", line 662, in main
npm ERR! return gyp_main(args)
npm ERR! ^^^^^^^^^^^^^^
npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init.py", line 629, in gyp_main
npm ERR! [generator, flat_list, targets, data] = Load(
npm ERR! ^^^^^
npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp_init_.py", line 150, in Load
npm ERR! result = gyp.input.Load(
npm ERR! ^^^^^^^^^^^^^^^
npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 3021, in Load
npm ERR! LoadTargetBuildFile(
npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 411, in LoadTargetBuildFile
npm ERR! build_file_data = LoadOneBuildFile(
npm ERR! ^^^^^^^^^^^^^^^^^
npm ERR! File "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 239, in LoadOneBuildFile
npm ERR! build_file_contents = open(build_file_path, "rU").read()
npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error:
gyp
failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\lib\configure.js:351:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28)
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.18363
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\soft\nvm\v16.0.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\Administrator\AppData\Local\npm-cache_cacache\tmp\git-clone-85869ccc
npm ERR! gyp ERR! node -v v16.0.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path C:\Users\Administrator\AppData\Local\npm-cache_cacache\tmp\git-clone-85869ccc
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
The text was updated successfully, but these errors were encountered: