-
Notifications
You must be signed in to change notification settings - Fork 19
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
client报错 #4
Comments
我也是 |
PS C:\Users\shouk\Downloads\AR-lab-main\AR-lab-main\client> npm i npm ERR! A complete log of this run can be found in: |
请问这个问题现在解决了吗? |
npm ERR! code 1
npm ERR! path D:\AR-lab-main\client\node_modules\lzma-native
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
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.7.0 found at "C:\Users\xktao\Anaconda3\python.exe"
npm ERR! gyp info find VS using VS2019 (16.7.30621.155) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! (node:9188) [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 C:\Users\xktao\Anaconda3\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'D:\AR-lab-main\client\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:\AR-lab-main\client\node_modules\lzma-native\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'D:\AR-lab-main\client\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\xktao\AppData\Local\node-gyp\Cache\16.14.2\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\xktao\AppData\Local\node-gyp\Cache\16.14.2',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=D:\AR-lab-main\client\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\xktao\\AppData\\Local\\node-gyp\\Cache\\16.14.2
\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=D:\AR-lab-main\client\node_modules\lzma-native',
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 'D:\AR-lab-main\client\node_modules\lzma-native\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: Undefined variable module_path 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: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (D:\AR-lab-main\client\node_modules\node-gyp\lib\configure.js:351:1
6)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:526:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19044
npm ERR! gyp ERR! command "E:\Program Files (x86)\node.exe" "D:\AR-lab-main\client\node_modules\node-gyp\bin\nod
e-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\AR-lab-main\client\node_modules\lzma-native
npm ERR! gyp ERR! node -v v16.14.2
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\xktao\AppData\Local\npm-cache_logs\2022-04-21T06_53_59_491Z-debug-0.log
The text was updated successfully, but these errors were encountered: