uniapp bug解决:uniapp文件查找失败:‘uview-ui‘ at main.js:14

news2024/11/23 7:22:22

在这里插入图片描述

文章目录

  • 报错内容
  • 解决方法
      • `main.js` 文件中 uView 主 JS 库
      • 引入 uView 的全局 `SCSS` 主题文件内容修改
      • 引入 uView 基础样式内容修改
      • 配置` easycom `内容修改


报错内容

10:50:51.795 文件查找失败:'uview-ui' at main.js:14
10:59:39.570 正在差量编译...
10:59:43.213 文件查找失败:'uview-ui' at main.js:14
10:59:43.243 正在差量编译...
10:59:45.464 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:45.464 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:45.464         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:45.464         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\App.vue
10:59:45.464 >> @import 'uview-ui/theme.scss';
10:59:45.464    ^
10:59:45.464 文件查找失败:'uview-ui' at main.js:14
10:59:45.493 正在差量编译...
10:59:45.524 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com
10:59:45.524     at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
10:59:45.524   errno: -3008,
10:59:45.524   code: 'ENOTFOUND',
10:59:45.524   syscall: 'getaddrinfo',
10:59:45.524   hostname: '96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com'
10:59:45.524 }
10:59:46.103 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.103 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.103         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.103         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\App.vue
10:59:46.103 >> @import 'uview-ui/theme.scss';
10:59:46.103    ^
10:59:46.103 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.103 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.103         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.103         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\components\uniapp-zaudio\zaudio.vue
10:59:46.103 >> @import 'uview-ui/theme.scss';
10:59:46.103    ^
10:59:46.103 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.103 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.103         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.103         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages2\customMotion\index.vue
10:59:46.103 >> @import 'uview-ui/theme.scss';
10:59:46.103    ^
10:59:46.103 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.104 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.104         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.104         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages2\foodReplace\index.vue
10:59:46.104 >> @import 'uview-ui/theme.scss';
10:59:46.104    ^
10:59:46.104 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.104 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.104         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.104         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages2\healthyLife\index.vue
10:59:46.104 >> @import 'uview-ui/theme.scss';
10:59:46.104    ^
10:59:46.104 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.104 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.104         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.104         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages2\healthyLife\text.vue
10:59:46.104 >> @import 'uview-ui/theme.scss';
10:59:46.104    ^
10:59:46.104 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.104 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.104         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.104         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages2\stageInfo\stageInfo.vue
10:59:46.104 >> @import 'uview-ui/theme.scss';
10:59:46.104    ^
10:59:46.104 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.104 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.104         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.104         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages2\stageInfo\stageInfotext.vue
10:59:46.104 >> @import 'uview-ui/theme.scss';
10:59:46.104    ^
10:59:46.104 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.104 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.105         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.105         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\breakfastPage\index.vue
10:59:46.105 >> @import 'uview-ui/theme.scss';
10:59:46.105    ^
10:59:46.105 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.105 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.105         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.105         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\checkInSharing\index.vue
10:59:46.105 >> @import 'uview-ui/theme.scss';
10:59:46.105    ^
10:59:46.105 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.105 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.105         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.105         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\dinnerPage\index.vue
10:59:46.105 >> @import 'uview-ui/theme.scss';
10:59:46.105    ^
10:59:46.105 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.105 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.105         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.105         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\drinkPage\index.vue
10:59:46.105 >> @import 'uview-ui/theme.scss';
10:59:46.105    ^
10:59:46.105 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.105 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.105         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.105         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\foodPage\index.vue
10:59:46.105 >> @import 'uview-ui/theme.scss';
10:59:46.105    ^
10:59:46.105 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.105 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.106         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.106         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\lunchPage\index.vue
10:59:46.106 >> @import 'uview-ui/theme.scss';
10:59:46.106    ^
10:59:46.106 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.106 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.106         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.106         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\sleepPage\index.vue
10:59:46.106 >> @import 'uview-ui/theme.scss';
10:59:46.106    ^
10:59:46.106 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.106 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.106         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.106         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\sportPage\index.vue
10:59:46.106 >> @import 'uview-ui/theme.scss';
10:59:46.106    ^
10:59:46.106 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.106 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.106         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.106         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\components\weightPage\index.vue
10:59:46.106 >> @import 'uview-ui/theme.scss';
10:59:46.106    ^
10:59:46.106 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.106 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.106         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.106         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkInDetails\index.vue
10:59:46.106 >> @import 'uview-ui/theme.scss';
10:59:46.107    ^
10:59:46.107 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.107 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.107         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.107         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\checkIn\index.vue
10:59:46.107 >> @import 'uview-ui/theme.scss';
10:59:46.107    ^
10:59:46.107 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.107 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.107         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.107         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\index\index.vue
10:59:46.107 >> @import 'uview-ui/theme.scss';
10:59:46.107    ^
10:59:46.107 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.107 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.107         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.107         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\searchMeals\index.vue
10:59:46.107 >> @import 'uview-ui/theme.scss';
10:59:46.107    ^
10:59:46.107 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.107 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.107         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.107         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\pages\stage\index\index.vue
10:59:46.107 >> @import 'uview-ui/theme.scss';
10:59:46.107    ^
10:59:46.107 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.107 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.107         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.107         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\uni_modules\uni-file-picker\components\uni-file-picker\upload-file.vue
10:59:46.107 >> @import 'uview-ui/theme.scss';
10:59:46.108    ^
10:59:46.108 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.108 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.108         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.108         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\uni_modules\uni-file-picker\components\uni-file-picker\upload-image.vue
10:59:46.108 >> @import 'uview-ui/theme.scss';
10:59:46.108    ^
10:59:46.108 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.108 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.108         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.108         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\uni_modules\uni-forms\components\uni-forms-item\uni-forms-item.vue
10:59:46.108 >> @import 'uview-ui/theme.scss';
10:59:46.108    ^
10:59:46.108 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.108 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.108         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.108         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\uni_modules\uni-forms\components\uni-forms\uni-forms.vue
10:59:46.108 >> @import 'uview-ui/theme.scss';
10:59:46.108    ^
10:59:46.108 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.108 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.108         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.108         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\uni_modules\uni-icons\components\uni-icons\uni-icons.vue
10:59:46.108 >> @import 'uview-ui/theme.scss';
10:59:46.108    ^
10:59:46.108 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.108 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.108         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.108         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\uni_modules\uni-notice-bar\components\uni-notice-bar\uni-notice-bar.vue
10:59:46.109 >> @import 'uview-ui/theme.scss';
10:59:46.109    ^
10:59:46.109 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
10:59:46.109 SassError: File to import not found or unreadable: uview-ui/theme.scss.
10:59:46.109         on line 2 of C:/Users/Administrator/Desktop/uniapp-food/uni.scss
10:59:46.109         from line 51 of C:\Users\Administrator\Desktop\uniapp-food\uni_modules\uni-popup\components\uni-popup\uni-popup.vue
10:59:46.109 >> @import 'uview-ui/theme.scss';
10:59:46.109    ^
10:59:46.109 文件查找失败:'uview-ui' at main.js:14
10:59:46.109 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com
10:59:46.109     at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
10:59:46.109   errno: -3008,
10:59:46.109   code: 'ENOTFOUND',
10:59:46.109   syscall: 'getaddrinfo',
10:59:46.109   hostname: '96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com'
10:59:46.109 }
11:02:59.542 正在差量编译...
11:03:01.289 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js):
11:03:01.289 SassError: File to import not found or unreadable: uview-ui/index.scss.
11:03:01.289         on line 82 of C:\Users\Administrator\Desktop\uniapp-food\App.vue
11:03:01.289 >> @import "uview-ui/index.scss";
11:03:01.289    ^
11:03:01.289 文件查找失败:'uview-ui' at main.js:14
11:03:01.331 Error: getaddrinfo ENOTFOUND 96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com
11:03:01.331     at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
11:03:01.331   errno: -3008,
11:03:01.331   code: 'ENOTFOUND',
11:03:01.331   syscall: 'getaddrinfo',
11:03:01.331   hostname: '96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com'
11:03:01.331 }
11:03:32.685 正在差量编译...
11:03:33.795 文件查找失败:'uview-ui' at main.js:14

解决方法

改成具体文件路径即可
整合以上内容到一个完整的配置步骤中,以便在 UniApp 项目中引入和配置 uView UI 库:

main.js 文件中 uView 主 JS 库

在项目根目录中的 main.js 文件中引入并使用 uView 的 JS 库。

// main.js
import Vue from 'vue';
import uView from '@/uni_modules/uview-ui';

Vue.use(uView);

引入 uView 的全局 SCSS 主题文件内容修改

在项目根目录的 uni.scss 文件中引入 uView 的 SCSS 主题文件。

/* uni.scss */
@import '@/uni_modules/uview-ui/theme.scss';

引入 uView 基础样式内容修改

App.vue 中的 <style> 标签中的首行位置引入 uView 的基础样式,确保给 <style> 标签加入 lang="scss" 属性。

<!-- App.vue -->
<style lang="scss">
  /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  @import "@/uni_modules/uview-ui/index.scss";
</style>

配置easycom内容修改

在项目根目录的 pages.json 文件中配置 easycom 组件模式,确保 uView 的组件可以在项目中被正确引用。

// pages.json
{
  "easycom": {
    "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  },
  
  // 此为本身已有的内容
  "pages": [
    // ......
  ]
}

全部改好就正常了
在这里插入图片描述

您好,我是肥晨。
欢迎关注我获取前端学习资源,日常分享技术变革,生存法则;行业内幕,洞察先机。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1937547.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

【Jmeter】记录一次Jmeter实战测试

Jmeter实战 1、需求2、实现2.1、新建线程组2.2、导入参数2.3、新建HTTP请求2.4、添加监听器2.5、结果 1、需求 查询某个接口在高并发场景下的响应时间(loadtime)&#xff0c;需求需要响应在50ms以内&#xff0c;接下来用Jmeter测试一下 Jmeter安装见文章《Jemeter安装教程&am…

[集成学习]基于python的Stacking分类模型的客户购买意愿分类预测

1 导入必要的库 import pandas as pd import numpy as np import missingno as msno import matplotlib.pyplot as plt from matplotlib import rcParams import seaborn as sns from sklearn.metrics import roc_curve, auc from sklearn.linear_model import LogisticRegres…

C++ | Leetcode C++题解之第240题搜索二维矩阵II

题目&#xff1a; 题解&#xff1a; class Solution { public:bool searchMatrix(vector<vector<int>>& matrix, int target) {int m matrix.size(), n matrix[0].size();int x 0, y n - 1;while (x < m && y > 0) {if (matrix[x][y] targ…

Linux--实现线程池(万字详解)

目录 1.概念 2.封装原生线程方便使用 3.线程池工作日志 4.线程池需要处理的任务 5.进程池的实现 6.线程池运行测试 7.优化线程池&#xff08;单例模式 &#xff09; 单例模式概念 优化后的代码 8.测试单例模式 1.概念 线程池:* 一种线程使用模式。线程过多会带来调度…

QT--事件(丰富操作,高级功能)

一、事件 1.事件与信号的区别 事件来自外部&#xff0c;是随机发生的。信号来自内部&#xff0c;是主动发生的。有点像外中断和内中断的区别。事件&#xff1a;适用于处理系统级别的输入和状态变化&#xff0c;种类繁多&#xff0c;能够应对复杂的交互需求。信号/槽&#xff…

学习并测试SqlSugar的单库事务功能

SqlSugar支持单库事务、多租户事务、多库事务&#xff0c;本文学习并测试单库事务的基本用法。   使用SqlSugarClient类、ISqlSugarClient接口都可以创建SqlSugarClient数据库操作实例&#xff0c;其区别在于&#xff0c;针对单库而言&#xff0c;SqlSugarClient类支持调用Be…

硬件开发笔记(二十七):AD21导入DC座子原理图库、封装库,然后单独下载其3D模型融合为3D封装

若该文为原创文章&#xff0c;转载请注明原文出处 本文章博客地址&#xff1a;https://hpzwl.blog.csdn.net/article/details/140541464 长沙红胖子Qt&#xff08;长沙创微智科&#xff09;博文大全&#xff1a;开发技术集合&#xff08;包含Qt实用技术、树莓派、三维、OpenCV…

睿考网:2024年城乡规划师考试时间

2024年城乡规划师报名时间已经结束&#xff0c;考试时间以及考试科目为&#xff1a; 2024年9月7日&#xff1a; 9.00-11.30&#xff0c;城乡规划原理(客观题) 14.00-16.30&#xff0c;城乡规划相关知识(客观题) 2024年9月8日&#xff1a; 9.00-11.30&#xff0c;城乡规划管…

AV1技术学习:Intra Prediction

对于帧内预测模式编码块&#xff0c;亮度分量的预测模式和色度分量的预测模式在比特流中分别发出信号。亮度预测模式是基于相邻左侧和上侧两个编码块预测上下文的概率模型进行熵编码的。色度预测模式的熵编码取决于色度预测模式的状态。帧内预测以变换块为单位&#xff0c;并使…

PyTorch张量拼接方式【附维度拼接/叠加的数学推导】

文章目录 1、简介2、torch.cat3、torch.stack4、数学过程4.1、维度拼接4.1.1、二维张量4.1.2、三维张量4.1.3、具体实例 4.2、维度叠加4.2.1、0维叠加4.2.2、1维叠加4.2.3、2维叠加&#xff08;非常重要⭐&#xff09; &#x1f343;作者介绍&#xff1a;双非本科大三网络工程专…

Android14之调试广播实例(二百二十五)

简介&#xff1a; CSDN博客专家&#xff0c;专注Android/Linux系统&#xff0c;分享多mic语音方案、音视频、编解码等技术&#xff0c;与大家一起成长&#xff01; 优质专栏&#xff1a;Audio工程师进阶系列【原创干货持续更新中……】&#x1f680; 优质专栏&#xff1a;多媒…

Linux的热插拔UDEV机制和守护进程

目录 一、Linux的热插拔UDEV机制 二、守护进程 2.1 守护进程概念和基本特点&#xff1a; 2.2 显示进程信息&#xff1a; 2.3 守护进程和后台进程的区别&#xff1a; 2.4 创建守护进程的步骤和守护进程的特征&#xff1a; 2.4.1 创建守护进程的步骤&#xff1a; 2.4.2 守…

京东Android一面凉经(2024)

京东Android一面凉经(2024) 笔者作为一名双非二本毕业7年老Android, 最近面试了不少公司, 目前已告一段落, 整理一下各家的面试问题, 打算陆续发布出来, 供有缘人参考。今天给大家带来的是《京东Android一面凉经(2024)》。 面试职位: Android开发工程师 技术一面 面试时长: 50…

Plant simulation 中快速创建相同属性轨道的方法

问题&#xff1a;默认的轨道宽度是0.3m&#xff0c;默认轨道是水平的。如果要创建大量宽度1m&#xff0c;竖着的轨道有没有效率的方法呢&#xff1f;答案肯定是有的&#xff0c;按下面方法操作即可。 1、复制两个轨道模型到用户对象中&#xff0c;命名为水平轨道和竖直轨道。 …

开源免费的一个企业级商城系统

人不走空 &#x1f308;个人主页&#xff1a;人不走空 &#x1f496;系列专栏&#xff1a;算法专题 ⏰诗词歌赋&#xff1a;斯是陋室&#xff0c;惟吾德馨 系统简介 ShopXO&#xff1a; 是一款企业级免费开源商城系统&#xff0c;具备可视化DIY拖拽装修功能&#xff0…

[240720] X-CMD 发布 v0.4.1:新增 OpenAI GPT-4o mini 模型|优化 df ip dns ...

目录 X-CMD 发布 v0.4.1✨ openai✨ chat✨ df✨ ip✨ kev✨ dns✨ shodan✨ pick✨ theme X-CMD 发布 v0.4.1 ✨ openai 更新 X-CMD 现已支持 OpenAI 最新模型 GPT-4o mini&#xff01; &#x1f389; 用户只需使用 gpt4om 即可直接调用这款强大的模型。gpt 的默认模型由 g…

PyTorch张量数值计算

文章目录 1、张量基本运算2、阿达玛积3、点积运算4、指定运算设备⭐5、解决在GPU运行PyTorch的问题 &#x1f343;作者介绍&#xff1a;双非本科大三网络工程专业在读&#xff0c;阿里云专家博主&#xff0c;专注于Java领域学习&#xff0c;擅长web应用开发、数据结构和算法&am…

计算机的错误计算(三十二)

摘要 在计算机的错误计算&#xff08;二十八&#xff09;与&#xff08;三十 一&#xff09;中&#xff0c;我们探讨了 Visual Studio 对 6个随机exp(x)函数的计算精度问题。根据网友的反馈&#xff0c;本节将展示 Python 对它们的输出&#xff1a;结果几乎与 Visual Studio …

C# —— CRC16 算法

CRC16:即循环冗余校验码。数据通信当中一种常用的查错校验码 其特征信息字段和校验字段的长度可以是任意选定的&#xff0c;对数据进行指定多项式计算 并且将得到的结果附加在帧的后面&#xff0c;接受的设备也执行类似的算法&#xff0c;以保证数据传输的正确性和完整性 crc…

ELK日志收集

一、什么是ELK ELK 是由 Elasticsearch、Logstash、Kibana 三个开源软件的组成的一个组合体&#xff0c;ELK 是 elastic 公司研发的一套完整的日志收集、分析和展示的企业级解决方案。 ELK 的好处&#xff1a; ELK 组件在大数据运维系统中&#xff0c;主要可解决的问题如下&…