错误
苏喂苏喂苏喂su
专注前端开发
展开
-
Module build failed: Error: ENOENT: no such file or directory, scandir ‘C:\Users\admin\Desktop\GB\ne
Module build failed: Error: ENOENT: no such file or directory, scandir 'C:\Users\admin\Desktop\GB\news\trunk\front\news\node_modules\node-sass\vendor'执行:node rebuild node-sass原创 2021-01-29 15:06:59 · 2475 阅读 · 0 评论 -
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
这个是因为node-sass没安装好,所以要重新安装运行命令:npm install node-sass --registry=https://registry.npm.taobao.org原创 2020-06-01 14:44:56 · 21817 阅读 · 0 评论 -
使用jQuery发送ajax的post请求,报错: Illegal invocation
使用jQuery发送ajax的post请求,报错: Illegal invocation报错时的写法:$.ajax({ url: url, // 请求的服务器url type: 'POST', // post请求 data: param, // 参数 headers: { // 请求头,这里放了一个token token: '123...原创 2019-11-05 16:01:55 · 1793 阅读 · 0 评论 -
Error in callback for watcher "data": "Error: if there's nested data, rowKey is required."
Error in callback for watcher "data": "Error: if there's nested data, rowKey is required."该问题的解决方案为:加一个row-key即可,值为嵌套表格的字段名原创 2019-10-11 10:04:10 · 3418 阅读 · 0 评论 -
Refused to load the image 'http://localhost:8080/favicon.ico' because it violates the following Cont
项目重新打开之后,发现无法运行,报错信息如下:Refused to load the image 'http://localhost:8080/favicon.ico' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' wa...原创 2019-10-07 23:11:03 · 7580 阅读 · 0 评论 -
MySQL:1075 - Incorrect table definition; there can be only one auto column and it must be defined as
1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key发生该错误的原因是一个字段设置了自动递增,另外一个字段被设置为主键,发生冲突。...原创 2019-08-01 23:38:05 · 3836 阅读 · 1 评论 -
python:pip: command not found
pip: command not found发生这个错误的时候,将 pip 改为:pip3 就可以了,就这么简单。原创 2019-08-03 15:49:57 · 685 阅读 · 0 评论 -
webpack4 打包时报错:Invalid configuration object.
报错信息:Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.- configuration.mode should be one of these: "development" | "pro...原创 2019-07-17 21:11:03 · 2016 阅读 · 0 评论 -
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.出现这个出错的时候,是因为appendChild()方法的参数不是一个有效的元素节点,可以通过element.nodeType()来检测节点的类型,如果为1的话,是可以被添加进去的。...原创 2019-07-01 10:55:52 · 8367 阅读 · 0 评论 -
'touch' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
在window系统下会发生这个错误,touch是Linux系统的命令。window系统下,使用echo test来代替,具体使用方法如下:如果要创建index.vue,则输入:echo test>index.vue...原创 2019-07-05 11:10:53 · 13417 阅读 · 2 评论 -
git报错:warning: unable to access
git操作的时候出现该错误:warning: unable to access '/Users/a10.12/.config/git/ignore': Permission deniedwarning: unable to access '/Users/a10.12/.config/git/attributes': Permission denied出现的原因是:没有配置用户名和...原创 2019-07-13 13:15:07 · 35312 阅读 · 1 评论 -
Uncaught DOMException: Failed to read the 'localStorage' property from 'Window' 解决办法
打开设置 -- 高级 -- 内容管理 -- cookie然后将 “阻止第三方Cookie” 的选项关闭原创 2019-07-04 11:40:13 · 20142 阅读 · 0 评论