• npm version ^ meaning


    npm version ^ meaning

    ^ 更新版

    https://docs.npmjs.com/cli/v6/commands/npm-version

    https://github.com/getsentry/sentry-cli/blob/master/package.json

    语义化版本

    https://semver.org/

    ~ v ^

    https://stackoverflow.com/questions/22343224/whats-the-difference-between-tilde-and-caret-in-package-json

    GitLab CI bug

    https://downloads.sentry-cdn.com/sentry-cli/1.61.0/sentry-cli-Linux-x86_64

    https://registry.npm.taobao.org

    Running with gitlab-runner 13.6.0 (8fa89735)
      on gitlab-runner-fe-8f7b45447-vvz8q P7sYsxsx
    Resolving secrets
    00:00
    Preparing the "kubernetes" executor
    00:00
    Using Kubernetes namespace: gitlab-ops
    Using Kubernetes executor with image node:8.9 ...
    Preparing environment
    00:06
    Waiting for pod gitlab-ops/runner-p7sysxsx-project-152-concurrent-0xzlvp to be running, status is Pending
    Waiting for pod gitlab-ops/runner-p7sysxsx-project-152-concurrent-0xzlvp to be running, status is Pending
    	ContainersNotReady: "containers with unready status: [build helper]"
    	ContainersNotReady: "containers with unready status: [build helper]"
    Running on runner-p7sysxsx-project-152-concurrent-0xzlvp via gitlab-runner-fe-8f7b45447-vvz8q...
    Getting source from Git repository
    00:02
    Fetching changes with git depth set to 1...
    Initialized empty Git repository in /builds/fe/vue-web/.git/
    Created fresh repository.
    Checking out 5e6c9717 as dev...
    Skipping Git submodules setup
    Restoring cache
    00:14
    Checking cache for node_deps...
    No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted. 
    Successfully extracted cache
    Executing "step_script" stage of the job script
    $ npm config set registry https://registry.npm.taobao.org
    $ npm install
    npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
    npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
    > @sentry/cli@1.61.0 install /builds/fe/vue-web/node_modules/@sentry/cli
    > node scripts/install.js
    Error: Unable to download sentry-cli binary from https://downloads.sentry-cdn.com/sentry-cli/1.61.0/sentry-cli-Linux-x86_64.
    Error code: ETIMEDOUT
    npm WARN @babel/eslint-parser@7.12.1 requires a peer of eslint@>=7.5.0 but none is installed. You must install peer dependencies yourself.
    npm WARN ajv-keywords@3.5.2 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @sentry/cli@1.61.0 install: `node scripts/install.js`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the @sentry/cli@1.61.0 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2021-01-12T08_24_18_445Z-debug.log
    ERROR: Job failed: command terminated with exit code 1
    

    refs

    https://michaelsoolee.com/npm-package-tilde-caret/



    ©xgqfrms 2012-2020

    www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


    xgqfrms
  • 相关阅读:
    FCLK、HCLK、PCLK
    CPU位数、地址线位数、数据线位数、通用寄存器位数!
    Java实现线程的三种方式和区别
    数据结构之二叉树
    List&Map&Set的操作和遍历
    从源码看Java集合之ArrayList
    Java设计模式概述
    Java实现单例的5种方式
    Java序列化
    水仙花数
  • 原文地址:https://www.cnblogs.com/xgqfrms/p/14267735.html
Copyright © 2020-2023  润新知