ICode9

精准搜索请尝试: 精确搜索
  • 内网环境 vue项目移动目录之后跑不起来的问题处理2021-10-26 18:34:12

    准备 准备两台电脑,一台能上网,一台开发机器(不能上网)。 两台电脑分别安装最新版Nodejs的包管理器,以便使用npm命令。(备注:Nodejs自带npm) 资源下载 在有网的电脑中启动cmd,输入命令"npm config set registry=http://registry.npm.taobao.org "配置镜像站,(也可以不用配置,根据自己网络确

  • Go包管理2021-10-24 04:00:07

    十、Go包管理 1 使用GO111MODULE 在1.11版本后,推出 modules 机制,简称 mod,用于包管理。 使用 Go modules 之前需要环境变量 GO111MODULE,命令行输入go env可以 打印go的环境信息。 GO111MODULE=off: 不使用 modules 功能,查找vendor和GOPATH目录 GO111MODULE=on: 使用 modules 功能

  • gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp2021-10-21 23:33:40

    npm i bcrypt 新系统拉取项目,下载依赖包,其中包含 bcrypt 依赖,一直安装不成功。 已安装号 Python 3 和 Visual Studio 2019。 此类型npm库都会使用到 node-gyp ,依赖 Python 和 Visual Studio  npm ERR! gyp info using node-gyp@8.2.0 npm ERR! gyp info using node@14.18.1

  • children() 与 modules() 的区别2021-10-21 00:00:43

    文章目录 1 children()2 modules()    children()与 modules()都是返回网络模型里的组成元素,但是 children()返回的是最外层的元素, modules()返回的是所有的元素,包括不同级别的子元素。 1 children() net = nn.Sequential(nn.Linear(2,2), nn.ReLU

  • HDLBits答案4-Modules:Hierarchy2021-10-20 23:01:59

    文章目录 1. Modules2. Connecting ports by position3.Connecting ports by name4. Three modules5.Modules and vectors6. Add17. Add28. Carry-select adder9.Adder-subractor 1. Modules 只要使用的所有模块都同属一个项目,就可以通过在模块内部实例化,来创建模块的层

  • vue使用node-sass@4.9.0时,npm intall出错2021-10-19 22:00:24

    VUE项目中使用node-sass@4.9.0,在执行npm install 是出现如下LOG。 升级为 node-sass@4.14.1后问题解决,以作记录。 >npm install > api-web@1.2.2 preinstall ... > npx npm-force-resolutions npx: installed 6 in 2.303s npm WARN deprecated tar@2.2.2: This version of

  • iview Tabs TabPane 参数Index 使用方法2021-10-19 10:35:18

    概述  在 TabPane 使用 v-if 时,并不会按照预先的顺序渲染,这时可设置 index,并从小到大排序(需大于 0) 组件源码地址: node_modules\view-design\src\components\tabs node_modules\view-design\src\components\tabs\pane.vue 使用示例: <Tabs class="ui-area-content" :animated="

  • iOS自动化之WDA(WebDriverAgent)安装2021-10-17 01:04:21

    1、WDA介绍 WebDriverAgent 在 iOS 端实现了一个 WebDriver server ,借助这个 server 我们可以远程控制 iOS 设备。你可以启动、杀死应用,点击、滚动视图,或者确定页面展示是否正确。 facebook的WDA在iOS 10 时代苹果已经废弃了,目前依然在更新的是Appium官方的WDA,官方链接如下:https:/

  • 深入react技术栈(11):样式处理2021-10-15 21:04:21

    我是歌谣 放弃很容易 但是坚持一定很酷 微信公众号关注前端小歌谣 基本样式设置 样式中的像素值 使用className库 Css Modules

  • 尚硅谷_在线教育_Nuxt整合错误2021-10-13 20:31:54

    直接引用vue-front-1010 模板,执行npm run dev时报错。 ERROR in ./.nuxt/client.js friendly-errors 20:20:03 Module build failed (from ./node_modules/babel-loader/lib/ind

  • npm安装vue-cli报错internal/modules/cjs/loader.js(Error: Cannot find module 'D:\Program\nodejs\no2021-10-13 12:00:32

    一、vue-cli 安装遇到问题   安装新版 vue-cli 命令:npm install -g @vue/cli,安装成功之后使用 vue -V 检查版本号,发现报错: PS D:\Program\nodejs\node_global> vue -V internal/modules/cjs/loader.js:583 throw err; ^ Error: Cannot find module 'D:\Program\nodejs

  • Go包管理2021-10-12 22:35:44

    Go包管理 目录Go包管理包管理历史modules 的使用准备初始化go modules依赖的升级和降级vendermodules 高级特性代理服务器GoProxyreplaceSubCommandGo 1.13 对 modules 的改动默认开启GOPRIVATEGOSUMDB自己写的包如何导入使用总结最后常用命令 包管理历史 Golang 的包管理一直被大

  • python函数:help2021-10-10 09:34:59

    >>> help() Welcome to Python 3.8's help utility! If this is your first time using Python, you should definitely check out the tutorial on the Internet at https://docs.python.org/3.8/tutorial/. Enter the name of any module, keyword, or top

  • windows下快速删除node_modules文件2021-10-09 11:32:16

    一定!一定!一定!不要在编译器里直接删除!!完全就是浪费时间!! 使用 npm uninstall 也没什么效果!! 以前我通常会找到文件夹,在文件夹中直接删除,顺便清空回收站。但这种方法会耗时很久,而且时常碰到需要管理员权限的问题,很麻烦! 找了下资料,便找到了以下这个很方便的命令:   1. 在项目目录下打开

  • go开发日记001-环境搭建问题2021-10-09 10:02:50

    2021.1008 第一个问题就是gopath理解不够 gopath是golang项目的工作目录 底下有src 用于存放源代码文件,未编译的go文件都放在这里 src源文件下对.go文件通过go build & go install之后自动生成bin文件夹 (有则不产生) pkg目录是install自动产生的,放编译以后的包文件 go的环境变量

  • vuex2021-10-08 14:33:59

    //store->modules->app.js const state = { third: false, } const mutations = { SET_THIRD: (state, third) => { state.third = third }, } const actions = { setThird ({ commit }, third) { commit('SET_THIRD', third) }, }

  • opencv-python: recipe for target ‘modules/python3/CMakeFiles/opencv_python3.dir/all‘ failed2021-10-05 23:58:44

    1.问题: Python3.8环境 利用pip3 install opencv-python 时,出现了 [modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1 recipe for target ‘modules/python3/CMakeFiles/opencv_python3.dir/all’ failed 2. 原因: 在opencv-python编译时,无法正常调

  • Syntax Error: ValidationError: Invalid options object. Sass Loader has been initialized using an opt2021-10-03 20:00:59

      错误描述 使用 scss 样式后,项目启动时报错: Syntax Error: ValidationError: Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.   <style lang="scss" scoped> a { target: '_blank';

  • maven 配置多模块项目 pom modules2021-09-29 22:02:10

    所有用Maven管理的真实的项目都应该是分模块的,每个模块都对应着一个pom.xml。它们之间通过继承和聚合(也称作多模块,multi-module)相互关联。那么,为什么要这么做呢?我们明明在开发一个项目,划分模块后,导入Eclipse变成了N个项目,这会带来复杂度,给开发带来不便。 为了解释原因,假设有这

  • Centos7部署Zookeeper单节点2021-09-29 10:03:13

    1、安装准备好一个虚拟机(vmware、VirtualBox)。 2、使用连接工具进行连接(Xshell、electerm等工具,我使用的electerm工具)。 使用 ip address 或 ip addr 来查看虚拟机地址,如果使用的是局域网内的需要设置桥接网络,复制物理地址,如果是本机开的虚拟机则不需要。 使用连接工具进行

  • idea svn提交项目 特别慢,通过设置忽略文件解决2021-09-24 10:58:34

    如图:commit提交后,就一直是这个样子,时间过去了2个点,一点变化没有。 是因为我提交了一些没有必要的文件,比如项目中的target、前端中 node_modules 这2个都是没有必要提交的,因此我设置下 忽略这2种文件 找到Settings→Editor→File Types,在Ignore files and folders输入框中输入

  • windows安装nodejieba踩坑记录2021-09-24 09:05:51

    npm install 的时候总是会出现下面的错误: gyp info find Python using Python version 3.8.6 found at "C:\Program Files\python\python.exe" gyp ERR! find VS gyp ERR! find VS msvs_version was set from command line or npm config gyp ERR! find VS - looking for Vi

  • Vue单文件引入、webpack的配置及错误处理2021-09-23 16:33:29

     1. 安装vue: cnpm i vue -S 2. 安装vue-loader、vue-template-compiler: cnpm i vue-loader@14.1.1 vue-template-compiler@2.5.17 -D 提示:peerDependencies WARNING vue-loader@14.1.1 requires a peer of css-loader@* but none was installed。按照提示安装css-loader及其依

  • 如何科学修改 node_modules 里的文件2021-09-22 20:33:30

    前言 有时候使用npm上的包,发现有bug,我们知道如何修改,但是别人可能一时半会没法更新,或者是我们特殊需求,别人不愿意修改,这时候我们只能自己动手丰衣足食。那么我们应该如何修改别人的源码呢?首先,直接修改node_modules里面的文件是不太行的,重新安装依赖就没有了。一般常用办法有

  • npm 下载一个VueLazyload之后,swipwe报错2021-09-22 14:34:14

    问题: 1、npm 下载一个VueLazyload之后, 2、报错 index.js?bed3:161 [WDS] Errors while compiling. Reload prevented. errors @ index.js?bed3:161 index.js?bed3:167 ./node_modules/css-loader??ref--5-1!./node_modules/postcss-loader/lib??ref--5-2!./node_modules/_swiper@5

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有