unexpected npm token 39

Python - difference between '../../' and '/../../' when they are concatenated to a path

scnzzh: ~/aaa >cat zzh1.py import os.path print(os.path.dirname(__file__)) abs_file_dir = os.path.abspath(os.path.dirname(__file__)) print(abs_file_di ......
39 concatenated difference between Python

Node12+ 下 axios 包使用报错引发的对 package.json's exports 等属性以及 esm 的探究

最近碰到一个 case,在一个用 ts 写的 node 项目里,使用 axios,本地开发没问题,但是部署上去报错了,然后使用方式改了一下就没问题了 import axios from 'axios' // 部署上去后报错 // 修改后 import axios from 'axios/dist/n ......
属性 package exports axios Node

s3获取临时token

1.相关知识--对象存储 说明:ceph兼容S3: 提供了对象存储接口,兼容 亚马逊S3 RESTful 接口的一个大子集。 创建网关用户 docker exec ceph-rgw radosgw-admin user create --uid=$USER --display-name=$USER ......
token

vue全家桶进阶之路4:NPM包

NPM(Node Package Manager)是 Node.js 的包管理工具,用来安装各种 Node.js 的扩展。 NPM是 JavaScript 的包管理工具,也是世界上最大的软件注册表。有超过 60 万个 JavaScript 代码包可供下载,每周下载约 30 亿次。NPM让 JavaS ......
全家 vue NPM

Vue 中npm run dev 和 npm run serve 的区别

在项目目录下,找到package.json文件,运行npm run serve命令启动项目的项目中,scripts中有一个serve字段,npm run dev命令中有一个dev字段,如下: "scripts": { "dev": "webpack-dev-server --inline --pro ......
npm run serve Vue dev

MySQL错误ERROR 2003 (HY000) Can't connect to MySQL server .' (111)

在MySQL中,如果访问/连接MySQL数据库时遇到“ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xxx.xxx:xxx' (111)”这个错误,我们应该从哪些方面进行考虑和排查问题呢? 下图是我总结整理的一个思维导图, ......
MySQL 错误 connect server ERROR

mount: '/dev/block/dm-8'->'/': I/O error

1|g6sa:/ # mount -o rw,remount /mount: '/dev/block/dm-8'->'/': I/O error 这种错误是由于android的一种保护机制,通过adb关闭这种机制即可 ......
39 mount block error dev

执行“npm run re-sqlite”遇到“unable to get local issuer certificate”

在学校electron时要执行到 npm run re-sqlite,但却收到了错误“Error: request to https://www.electronjs.org/headers/v13.6.9/node-v13.6.9-headers.tar.gz failed, reason: un ......
certificate re-sqlite issuer sqlite unable

npm包nprogress用法

npm包文档: https://www.npmjs.com/package/nprogress/v/0.2.0?activeTab=readme ......
nprogress npm

JMETER提取和引用TOKEN

JMETER提取和引用TOKEN 1.执行获取token接口 1)执行login接口,查看结果树,选择“JSON Path Tester”格式,接口返回层次关系,在结果树这里,使用$符号提取token值。 ($ 根节点,$.data.token 表示提取根节点下的data节点下的token节点的值) ......
JMETER TOKEN

一秒读懂npm、 yarn 和 pnpm

npm 和 yarn 的缺点: 1. npm1 和 npm2 嵌套结构 问题: 依赖层级太深,会导致文件路径过长的问题,尤其在 window 系统下。 大量重复的包被安装,文件体积超级大 2. npm3 开始 和 yarn 扁平化依赖的方式来解决这个问题 扁平化依赖问题: 依赖结构的不确定性。 扁平 ......
yarn pnpm npm

Centos7安装npm

下载node镜像,这里我们选择node-v16.19.1-linux-x64.tar.gz wget https://nodejs.org/dist/v16.19.1/node-v16.19.1-linux-x64.tar.gz 如果想下载其他版本,可以在https://nodejs.org/dis ......
Centos7 Centos npm

VUE3刷新页面报错:Uncaught SyntaxError: Unexpected token ‘<‘

今天用vue3配置嵌套路由时,发现刷新页面后,页面变为空白,打开控制台发现报错: Uncaught SyntaxError: Unexpected token '<' 解决方法: 修改vue.config.js文件: publicPath:"/", 注意不是: 登录后复制 publicPath:". ......
SyntaxError Unexpected Uncaught 页面 token

设要采用CRC编码传送的数据信息x=1001,当生成多项式为G(x)=1101时,请写出它的循环校验码。若接收方收到的数据信息x' =1101,说明如何定位错误并纠正错误

设要采用CRC编码传送的数据信息x=1001,当生成多项式为G(x)=1101时,请写出它的循环校验码。若接收方收到的数据信息x' =1101,说明如何定位错误并纠正错误 ......
收方 多项式 错误 数据 信息

what's the difference between const and constexpr in C++?

Both const and constexpr are used to define constants in C++, but they have different meanings and use cases. const is used to declare a variable as c ......
difference constexpr between const what

DNS正向解析报server can't find xx:NXDOMAIN

本来想用bind9搭建DNS服务器实现域名正向解析功能的,但不是很顺利,搞了一天,各种资料也没啥用处,还得求助博友们 我是跟着下面的链接搭建的: (45条消息) 服务器运维:CentOS 7下搭建DNS服务器_无名J0kзr的博客-CSDN博客 我要解析的域名是test.qk 1.编辑主配置文件应该 ......
NXDOMAIN server find DNS can

关于Could not autowire. No beans of 'xxxx' type found. 解决方法之一

#关于Could not autowire. No beans of 'xxxx' type found. 解决方法之一 原因:启动类与配置类是在一个包下 但是不同包 而且配置类也不是子包 启动类没扫描到配置类 这时候有两种解决方案 第一种需要在Springboot启动类上添加@ComponentS ......
autowire 方法 Could beans found

记录--你还在傻傻的npm run serve吗?快来尝尝这个!

这里给大家分享我在网上总结出来的一些知识,希望对大家有所帮助 背景 大家在日常开发中应该经常会有需要切换不同环境地址的情况。当一个项目代码切换环境地址时,vue-cli没有能够感知文件的变化,所以代理的还是旧的地址,所以通常我们需要执行npm run serve进行项目重跑,而项目重跑往往意味着长时 ......
serve npm run

ImportError: cannot import name 'joblib' from 'sklearn.externals'错误

当输入 from sklearn.externals import joblib 会出现如下错 需要把代码直接改为如下代码即可: import joblib ......
39 ImportError externals 错误 sklearn

JWT(JSON Web Token)

JWT(JSON Web Token)组成部分JWT由以下三部分组成: Header(头部)Payload(负载)Signature(签名) 即: Header.Payload.Signature HeaderHeader 部分是一个 JSON 对象,描述 JWT 的元数据,通常是下面的样子。 { ......
Token JSON JWT Web

安装 npm 包时无法解决 Angular 中的依赖树错误

转载:https://www.angularjswiki.com/angular/unable-to-resolve-dependency-tree-error-in-angular-while-installing-npm-packages/ 修复 Unable to resolve depend ......
错误 Angular npm

MinIO上传文件The difference between the request time and the server's time is too large.异常

问题 向MinIO上传文件时,抛出异常:The difference between the request time and the server‘s time is too large. 使用date命令修改CentOS时间后,异常依然存在。 相关Linux命令 查看系统时间:date 查看硬件 ......
time difference the between request

npm源切换nrm

使用命令: nrm ls 查看所有源,显示结果包括:npm 源名称、源地址等信息; ‘nrm’ 默认为:npm源,地址为:https://registry.npmjs.org/ 切换 npm 源地址的操作及命令为: (以 ‘taobao’ 为例) 其一、命令为:npm use taobao,然后再通 ......
npm nrm

Cannot resolve symbol 'Mapper'

准备写一个Mapper接口,可它报错了 上网一查,发现需要添加依赖,于是乎添加呗! <!-- mybatis整合Springboot --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spr ......
resolve Cannot Mapper symbol 39

Jensen's inequality

$$ f(E[x]) \leq E[f(x)]$$ where $f(x)$ is a convex function. This just a general form of convexity since $E(x)$ is a linear conbination of x. ......
inequality Jensen 39

from selenium.webdriver import DesiredCapabilities:DesiredCapabilities.CHROME["loggingPrefs"] = {'browser': 'ALL'}

https://blog.csdn.net/JZF2050/article/details/127965179 DesiredCapabilities.CHROME["loggingPrefs"] = {'browser': 'ALL'} from selenium.webdriver import ......

uniapp 页面跳转时 redirectTo:fail page '/pages/index/pages/index/login' is not found

uniapp 跳转页面有以下两种,分清楚情况写 url 才能正确跳转: 绝对路径跳转; 相对路径跳转。 :one: 绝对路径跳转: 绝对路径跳转必须要是这样的格式 /pages/xxx/xxx,pages 前面必须要有 /,代表 src 目录。 :two: 相对路径跳转: 相对路径跳转不带 /,是以 ......
index pages redirectTo 页面 uniapp

centos7 Linux 安装及升级node、npm

centos7 初始版本 node 6 npm 3 更新升级node版本 # 安装 nnpm install -g n# 查看版本n --version// v9.0.1 # 把当前系统的 Node 更新成最新的 “稳定版本” n stable # 长期支持版 n lts # 最新版 n lates ......
centos7 centos Linux node npm

c++代码编译出错:undefined reference to `typeinfo for dnet::event_handler'

编译出错信息如下: [ 82%] Linking CXX executable ../bin/dsys/usr/bin/ld: ../lib/libdnet.so: undefined reference to `typeinfo for dnet::event_handler'collect2: ......

npm修改为国内源增加速度,可以用镜像毛

1、查看默认源 命令:npm config get registry 输出:https://registry.npmjs.org/ 2、修改为国内淘宝源 - 这里可以在镜像毛看可选地址 https://jingxiangmao.com/ npm config set registry https:/ ......
镜像 速度 npm