各种问题异常处理

各种问题异常处理

语言 中文 · 章节 116 · 阅读 65167 · 收藏 0 · 评论 0

收集整理各种问题、异常、bug、错误处理

共 113 个章节 · 0 条评论
01 Uncaught DOMException: Blocked a frame with origin "https://c.xxx.com" from accessing a cross-origin frame. 02 .husky/pre-commit: line 4: node: command not found husky - pre-commit hook exited with code 127 (error) 03 命令行实用程序bcomp没有在你的系统上找到。请确保您安装的命令行工具为您选择选项。 04 xcode-select: error: command line tools are already installed, use "Software Update" to install updates 05 Husky pre-commit fails with code 1 (error) 06 Only file and data URLs are supported by the default ESM loader 07 unsafe-perm in lifecycle true 08 parseForESLint from parser @typescript-eslint/parser is invalid and will just be ignored 09 ✖ Parsing error: Plugin/Preset files are not allowed to export objects, only functions. In node_modules/babel-preset-es2015 10 TypeError: node.rangeBy is not a function 11 npm ERR! No workspaces found: npm ERR! --workspace=cross-env 12 ERESOLVE unable to resolve dependency tree 13 Promise.prototype.finally() broken 14 Error: spawn webpack ENOENT 15 CORS policy: The request client is not a secure context and the resource is in more-prevate adddress space `local` 16 webpack-sentry-plugin 上传 sourceMap 时报 502 Bad Gateway 17 Chrome浏览器访问http自动跳转https问题(已解决) 18 电脑链接 android 机调试网页 19 用 charles 实现线上调试 20 通过 pre-commit 调用 lint-staged 时错误信息color 不生效,交互也不友好 21 如何正确关闭端口? 22 Port 5000 already in use — MacOS Monterey issue 23 Error: Could not find "@applint/stylelint-config". Do you need a `configBasedir`? 24 The connection to the server raw.githubusercontent.com was refused - did you specify the right host or port? 25 'requires-port' is imported by requires-port?commonjs-external,but could not be resolved – treating it as an external dependency 26 npm ERR! code E401 npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager" 27 小程序:Native crypto module could not be used to get secure random number. 28 git 在 windows 下换行问题 29 lerna notice Current HEAD is already released, skipping change detection. 30 ERR_PNPM_REGISTRIES_MISMATCH  This modules directory was created using the following registries configuration: 31 报错 TypeError: Cannot convert undefined or null to object 32 报错: Cannot find module 'webpack/lib/RuleSet' 33 抓包工具 Charles 使用指南:mac 以及 iphone,android 证书安装 34 浏览器控制台报错net::ERR_CONNECTION_RESET 35 core-js 2 与 3 版本无法共存 36 lerna ERR! npm install exited 1 37 npm update 都做了什么? 38 npm ERR! code EINTEGRITY 39 git rebase origin master 和 origin/master 40 node: --inspect-publish-uid= is not allowed in NODE_OPTIONS 41 Using 1 worker with 2048MB memory limit 42 git 拆分子目录作为新仓库并保留 commit 记录 43 git diff old mode 100644 new mode 100755 44 Mac chrome 全屏后工具栏及标签页问题 45 ReferenceError: __dirname is not defined in ES module scope 46 ssh: connect to host github.com port 22: Operation timed out 47 删除 Git 历史记录中误提交的代码 48 git 忽略已经提交 commit 的文件 49 Error: .eslintrc ... Value "∞" should be integer 50 linux中解压.tgz, .tar.gz ,zip ,gz, .tar文件 51 Unix/Linux 系统中的 Operation Not Permitted 问题 52 ssh: connect to host github.com port 22: Connection refused 53 解决 Zsh 卡顿问题 54 解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题 55 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 56 Confluence安装和配置 57 nvm is not compatible with the "npm_config_prefix" environment variable: currently set to "/Users/x/.nvm/versions/node/v14.17.6" 58 TypeError: Failed to load plugin 'unicorn' declared in '.eslintrc.js » /dist/eslint.js': Object.fromEntries is not a function 59 Cannot read property 'pop' of undefined 60 nvm 安装 node 很慢 61 /bin/sh: babel-node: command not found 62 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". 63 在 node15/npm7 下执行 npm install/i 命令安装依赖可能会有 Python 编译错误 64 midway 在安装依赖时会有 npm warn: deprecated 输出 65 vscode 使用 leedcode 右键执行 Default test cases 时报错 66 nvm 拉取 github 安装失败 67 ERROR @wdio/runner: Error: Failed to create session. 68 Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform 69 ios9.3.3 系统不支持箭头函数以及 let const 70 Error: [immer] minified error nr: 18 'ES5'. Find the full error at 71 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 72 /bin/sh: node: command not found 73 Error: Your CLT does not support macOS 11.4. 74 无法找到模块“xxx”的声明文件。 75 vscode debug config 76 vscode postcssSorting config 77 Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser. 78 Code style issues found in the above file(s). Forgot to run Prettier? 79 使用Atlassian Confluence,编辑 wiki后点击保存,接口报 Validation failure when converting format 80 git 多账户配置问题 81 Permissions 0644 for '/Users/cloudyan/.ssh/gitee.com_rsa' are too open. 82 umi 项目打包,报错p__config-app.c6448ef3.async.js from Terser Error: Call retries were exceeded 83 axios 的 timeout 设置无效问题 84 TypeError: undefined is not an object (evaluating '(0,o.default)(document.body.style,"font-size").writable') 85 /bin/sh: ts-node: command not found 86 Using 1 worker with 2048MB memory limit 87 Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser. 88 npm 安装包失败 89 yarn create umi command failed 90 ERROR in Sentry Plugin: StatusCodeError: 400 - "{\"projects\":[\"Invalid project slugs\"]}" 91 找不到模块“axios”或其相应的类型声明。ts(2307) 92 cnpm install --userconfig=/Users/xxx/.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://registry.nlark.com 93 唤醒 app 弹窗点拒绝后,提示'Safari浏览器打不开该网页,因为网址无效。'的问题 94 ERROR in Sentry Plugin: StatusCodeError: 409 - "{\"detail\":\"A file matching this name already exists for the given release\"}" 95 Sentry 使用企业微信发邮件 96 Cannot remove Docker Compose application. Reason: Error invoking remote method 'compose-action': Error: spawn /bin/sh ENOENT 97 Error response from daemon: conflict: unable to delete c8966047c777 (must be forced) - image is referenced in multiple repositor 98 error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be 99 lerna ERR! E401 Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager" 100 error An unexpected error occurred: "expected workspace package to exist for \"yargs\"". 101 The redirect URI included is not valid. 102 Cannot assign to read only property 'exports' of object '#<Object>' 103 npm ERR! notarget No matching version found for es-abstract@^1.18.2 104 使用命令行编译执行,报 `command "uni-build" does not exist.` 105 node-gyp rebuild No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. 106 Device 设备类型 107 ReferenceError: regeneratorRuntime is not defined 108 TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>' 109 403 Forbidden - PUT http://registry.npmjs.org/xxx-utils - xxx-utils cannot be republished until 24 hours have passed. 110 Jest did not exit one second after the test run has completed. 111 解决npm安装chromedriver下载失败的问题 112 ERROR in Sentry Plugin: StatusCodeError: 404 - "{\"detail\":\"The requested resource does not exist\"}" 113 ERROR: for subscription-consumer-transactions Get https://registry-1.docker.io/v2/: x509: certificate is valid for *.us-east-1.
善良比聪明更重要(评论内容审核后才会显示)
全部评论