各种问题异常处理

白天 夜间 首页 下载 阅读记录
  我的书签   添加书签   移除书签

midway 在安装依赖时会有 npm warn: deprecated 输出

浏览 140 扫码 分享 2023-03-28 12:24:14

    原因:

    测试框架 Jest 依赖 jsdom,其依赖了已废弃的模块 request,目前jsdom尚未解决此问题

    持续跟踪,相关问题参看:https://github.com/jsdom/jsdom/issues/2792

    若有收获,就点个赞吧

    0 人点赞

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

      让时间为你证明

      展开/收起文章目录

      分享,让知识传承更久远

      文章二维码

      手机扫一扫,轻松掌上读

      文档下载

      请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
      PDF文档 EPUB文档 MOBI文档

      书签列表

        阅读记录

        阅读进度: 0.00% ( 0/0 ) 重置阅读进度

          思维导图备注