当前位置: 首页 > news >正文

政府网站建设定位seo实战视频

政府网站建设定位,seo实战视频,网站做百度百科的好处,软文广告平台文章目录 解决方法:1. 以管理员身份运行命令提示符2. 改变目录权限3. 改变项目目录位置4. 检查文件系统权限 总结: ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.12.0 …

文章目录

      • 解决方法:
        • 1. 以管理员身份运行命令提示符
        • 2. 改变目录权限
        • 3. 改变项目目录位置
        • 4. 检查文件系统权限
      • 总结:

在这里插入图片描述

**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.12.0
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools>node-gyp configure --msvs_version=2022
gyp info it worked if it ends with ok
gyp info using node-gyp@10.2.0
gyp info using node@16.13.2 | win32 | x64
gyp info find Python using Python version 3.12.6 found at "D:\Python312\python.exe"gyp ERR! configure error
gyp ERR! stack Error: EPERM: operation not permitted, mkdir 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\build'
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "D:\\Java\\node-v16.13.2-win-x64\\node-v16.13.2-win-x64\\node.exe" "F:\\my_java\\mynpm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--msvs_version=2022"
gyp ERR! cwd C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
gyp ERR! node -v v16.13.2
gyp ERR! node-gyp -v v10.2.0
gyp ERR! not okC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools>

这个错误提示表明,node-gyp 在执行时遇到权限问题,无法在 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools 目录下创建 build 目录。这通常是由于权限不足造成的,因为 Program Files 是系统保护目录,普通用户需要更高的权限才能对其进行操作。

解决方法:

1. 以管理员身份运行命令提示符
  • 确保以管理员权限运行 Visual Studio 开发者命令提示符
  • 右键点击 Visual Studio Developer Command Prompt,选择 以管理员身份运行
  • 在管理员模式下,再次执行 node-gyp configure 命令:
    node-gyp configure --msvs_version=2022
    

在这里插入图片描述

2. 改变目录权限

如果不想每次都以管理员身份运行,你可以尝试为 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools 目录授予写入权限。

  • 右键点击 C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools 文件夹,选择 属性
  • 转到 安全 标签,点击 编辑
  • 为当前用户或 Administrators 组赋予 完全控制 权限。
  • 确认并保存更改后,重新运行命令。
3. 改变项目目录位置

由于该目录位于系统的保护区域(Program Files),建议将项目移动到其他非系统保护目录(如 C:\Users\dgq\)并在那里运行 node-gyp 命令。这样做可以避免系统权限问题。

  • 将你的项目文件夹移到例如 C:\Users\dgq\Downloads\spid-admin 这样的非系统目录。
  • 然后在新的目录中运行 node-gyp
    node-gyp configure --msvs_version=2022
    
4. 检查文件系统权限

如果以上方法仍然无效,可以尝试检查文件系统的权限问题,确保没有文件夹锁定或者其他应用(如防病毒软件)阻止了 node-gyp 的正常执行。

总结:

  • 尝试以管理员身份运行命令提示符。
  • 如果不想每次都以管理员身份运行,可以修改目录权限。
  • 可以将项目移到非系统保护目录,避免权限问题。
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.12.0
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************C:\Windows\System32>node-gyp configure --msvs_version=2022
gyp info it worked if it ends with ok
gyp info using node-gyp@10.2.0
gyp info using node@16.13.2 | win32 | x64
gyp info find Python using Python version 3.12.6 found at "D:\Python312\python.exe"gyp info find VS using VS2022 (17.12.0) found at:
gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
gyp info find VS run with --verbose for detailed information
gyp info spawn D:\Python312\python.exe
gyp info spawn args [
gyp info spawn args 'F:\\my_java\\mynpm\\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 'C:\\Windows\\System32\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'F:\\my_java\\mynpm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\dgq\\AppData\\Local\\node-gyp\\Cache\\16.13.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=C:\\Users\\dgq\\AppData\\Local\\node-gyp\\Cache\\16.13.2',
gyp info spawn args '-Dnode_gyp_dir=F:\\my_java\\mynpm\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\dgq\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.13.2\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\\Windows\\System32',
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 'C:\\Windows\\System32\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: binding.gyp not found (cwd: C:\Windows\System32) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.<anonymous> (F:\my_java\mynpm\node_modules\node-gyp\lib\configure.js:317:18)
gyp ERR! stack at ChildProcess.emit (node:events:390:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "D:\\Java\\node-v16.13.2-win-x64\\node-v16.13.2-win-x64\\node.exe" "F:\\my_java\\mynpm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--msvs_version=2022"
gyp ERR! cwd C:\Windows\System32
gyp ERR! node -v v16.13.2
gyp ERR! node-gyp -v v10.2.0
gyp ERR! not okC:\Windows\System32>
C:\Windows\System32>cd C:\Users\dgq\Downloads\spid-admin\spid-adminC:\Users\dgq\Downloads\spid-admin\spid-admin>node-gyp configure --msvs_version=2022
gyp info it worked if it ends with ok
gyp info using node-gyp@10.2.0
gyp info using node@16.13.2 | win32 | x64
gyp info find Python using Python version 3.12.6 found at "D:\Python312\python.exe"gyp info find VS using VS2022 (17.12.0) found at:
gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
gyp info find VS run with --verbose for detailed information
gyp info spawn D:\Python312\python.exe
gyp info spawn args [
gyp info spawn args 'F:\\my_java\\mynpm\\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 'C:\\Users\\dgq\\Downloads\\spid-admin\\spid-admin\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'F:\\my_java\\mynpm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\dgq\\AppData\\Local\\node-gyp\\Cache\\16.13.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=C:\\Users\\dgq\\AppData\\Local\\node-gyp\\Cache\\16.13.2',
gyp info spawn args '-Dnode_gyp_dir=F:\\my_java\\mynpm\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\dgq\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.13.2\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\\Users\\dgq\\Downloads\\spid-admin\\spid-admin',
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 'C:\\Users\\dgq\\Downloads\\spid-admin\\spid-admin\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: binding.gyp not found (cwd: C:\Users\dgq\Downloads\spid-admin\spid-admin) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.<anonymous> (F:\my_java\mynpm\node_modules\node-gyp\lib\configure.js:317:18)
gyp ERR! stack at ChildProcess.emit (node:events:390:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "D:\\Java\\node-v16.13.2-win-x64\\node-v16.13.2-win-x64\\node.exe" "F:\\my_java\\mynpm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--msvs_version=2022"
gyp ERR! cwd C:\Users\dgq\Downloads\spid-admin\spid-admin
gyp ERR! node -v v16.13.2
gyp ERR! node-gyp -v v10.2.0
gyp ERR! not okC:\Users\dgq\Downloads\spid-admin\spid-admin>
http://www.hkea.cn/news/109381/

相关文章:

  • 竞价排名广告东莞关键词排名快速优化
  • 做视频网站要什么格式好网络营销公司怎么注册
  • 企业专业网站建设快速网站搭建
  • 武威建设网站的网站google谷歌搜索
  • 长沙公司做网站多少钱推广平台怎么做
  • 现在大家做电商网站用什么源码营销策略都有哪些
  • 可以做试卷的网站英语怎么说seo关键词排名优化系统源码
  • 网站怎么设置支付功能企业网站的主要类型有
  • 成都圣都装饰装修公司北京搜索优化排名公司
  • 境外建设网站贴吧互联网域名注册查询
  • 广州建站工作室淘客推广怎么做
  • 中国最大的网站建设公司百度广告联盟点击一次多少钱
  • wordpress单页主题营销seo手机关键词网址
  • dedecms做电影网站韩国最新新闻
  • 哪个网站做废旧好如何在百度上发布自己的广告
  • 网站表单及商品列表详情模板如何搭建自己的网站
  • 网站域名登记证明百度高级搜索怎么用
  • 国外网站在国内做镜像站点网站搭建费用
  • 网站后台如何添加关键词软件开发公司
  • 手机做网站的网站windows优化大师卸载不了
  • 万网速成网站有哪些 功能自己的网站怎么推广
  • 邯郸哪有做网站的河南百度推广公司
  • 我是做环保类产品注册哪些浏览量大的网站推销自己的产品比较好呢西安网站seo优化公司
  • 网页传奇游戏排行昆明网络推广优化
  • 商城模板网站模板网站软文是什么
  • 校园网站推广方案怎么做网站排名推广工具
  • 深圳罗湖企业网站建设报价网络媒体发稿平台
  • 用别人公司域名做网站线下推广的渠道和方法
  • php mysql的网站开发外贸推广平台
  • 济南网站建设认可搜点网络能百度指数有三个功能模块