‘vue-cli-service‘ 不是内部或外部命令,Cannot read properties of null (reading ‘pickAlgorithm‘)_(2022-04-06)

目录

暴力清除缓存、使用淘宝仓库

暴力清除缓存成功

使用yarn命令

最终成功尝试

参考博文


干的后端项目,需要下载前端项目跑起来,然而gitlab克隆下来的前端项目,跑起来报如下错误

报错1:

'vue-cli-service' 不是内部或外部命令,也不是可运行的程序或批处理文件。

报错2:

Cannot read properties of null (reading ‘pickAlgorithm‘)

尝试半天差点崩溃,越崩溃,要想着休息下冷静下,清醒下脑子。。。此为成功尝试记录!

暴力清除缓存、使用淘宝仓库

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS D:\workspace\zsh_code\portal.project> npm cache clear --force     暴力清除缓存(失败)
npm WARN using --force Recommended protections disabled.

// 如果出现提示npm WARN using --force I sure hope you know what you are doing 则表示清除成功

PS D:\workspace\zsh_code\portal.project> npm i --registry=https://registry.npm.taobao.org         注册使用淘宝仓库安装依赖
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-rand
om for details.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated

npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js version
s could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
终止批处理操作吗(Y/N)? y        等的时间太久,ctrl + c,y结束,重新执行
PS D:\workspace\zsh_code\portal.project> npm i --registry=https://registry.npm.taobao.org
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated svgo@1.2.0: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js version
s could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! Cannot read properties of null (reading 'pickAlgorithm')           错误信息

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ThinkPad\AppData\Local\npm-cache\_logs\2022-04-06T09_21_00_821Z-debug-0.log

PS D:\workspace\zsh_code\portal.project> npm run dev

> jnpf-admin@3.0.0 dev
> vue-cli-service serve --open

'vue-cli-service' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

暴力清除缓存成功


PS D:\workspace\zsh_code\portal.project> npm cache clear --force        清除失败
npm WARN using --force Recommended protections disabled.
PS D:\workspace\zsh_code\portal.project> npm install npm@6.14.10 -g      降低版本

added 5 packages in 19s
PS D:\workspace\zsh_code\portal.project> node -v     看看node版本好像没有变化
v16.14.0
PS D:\workspace\zsh_code\portal.project> npm cache clear --force       清除成功(可喜,第一次没成功哦)
npm WARN using --force I sure hope you know what you are doing.

// 如果出现提示npm WARN using --force I sure hope you know what you are doing 则表示清除成功

PS D:\workspace\zsh_code\portal.project> npm i --registry=https://registry.npm.taobao.org      再次安装依赖
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\monaco-editor-4f2646d1\dev\vs\basic-languages\scss\scss.contribution.js'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\esquery-09428472\dist\esquery.esm.min.js.map'
。。。。。。。。。。。。。。

。。。。。。。。。。。。。。
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\bootstrap-vue-d221cb8d\src\components\button\README.md'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\bootstrap-vue-d221cb8d\src\components\calendar\README.md'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\echarts-abff3f41\map\json\province\shanghai.json'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\echarts-abff3f41\map\json\province\shanxi.json'
npm WARN jnpf-admin@3.0.0 No repository field.

npm ERR! Error while executing:                     又报错误了!
npm ERR! D:\soft_install_dir\git\git_installFile\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: remote error:
npm ERR!   The unauthenticated git protocol on port 9418 is no longer supported.
npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
npm ERR!
npm ERR! exited with error code: 128
终止批处理操作吗(Y/N)? y

PS D:\workspace\zsh_code\portal.project> npm run dev       没管上面错误,继续跑起来,继续报错

> jnpf-admin@3.0.0 dev D:\workspace\zsh_code\portal.project
> vue-cli-service serve --open

'vue-cli-service' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jnpf-admin@3.0.0 dev: `vue-cli-service serve --open`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jnpf-admin@3.0.0 dev 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!     C:\Users\ThinkPad\AppData\Roaming\npm-cache\_logs\2022-04-06T09_30_33_275Z-debug.log

使用yarn命令


PS D:\workspace\zsh_code\portal.project> npm cache clear --force          强制清除缓存
npm WARN using --force I sure hope you know what you are doing.
PS D:\workspace\zsh_code\portal.project> npm install -g yarn                   参考网络使用yarn命令安装依赖

> yarn@1.22.18 preinstall C:\Users\ThinkPad\AppData\Roaming\npm\node_modules\yarn
> :; (node ./preinstall.js > /dev/null 2>&1 || true)

C:\Users\ThinkPad\AppData\Roaming\npm\yarn -> C:\Users\ThinkPad\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js
C:\Users\ThinkPad\AppData\Roaming\npm\yarnpkg -> C:\Users\ThinkPad\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js
+ yarn@1.22.18
added 1 package in 1.519s
PS D:\workspace\zsh_code\portal.project> yarn config set registry https://registry.npm.taobao.org
yarn : 无法将“yarn”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ yarn config set registry https://registry.npm.taobao.org
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (yarn:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS D:\workspace\zsh_code\portal.project> yarn config set registry https://registry.npm.taobao.org
yarn : 无法将“yarn”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ yarn config set registry https://registry.npm.taobao.org
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (yarn:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS D:\workspace\zsh_code\portal.project> npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\estraverse-e72e8ce4\.jshintrc'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\doctrine-a8e65516\package.json'
。。。。。。

。。。。。。
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\ant-design-vue-b5223074\es\vc-tabs\src\InkTabBar.js'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\ant-design-vue-b5223074\es\vc-tabs\src\InkTabBarNode.js'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\ant-design-vue-b5223074\es\vc-slick\src\inner-slider.js'
npm WARN jnpf-admin@3.0.0 No repository field.

npm ERR! Error while executing:
npm ERR! D:\soft_install_dir\git\git_installFile\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: remote error:
npm ERR!   The unauthenticated git protocol on port 9418 is no longer supported.
npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
npm ERR!
npm ERR! exited with error code: 128
终止批处理操作吗(Y/N)? y

PS D:\workspace\zsh_code\portal.project> npm cache clear --force
npm WARN using --force I sure hope you know what you are doing.
PS D:\workspace\zsh_code\portal.project> npm i --registry=https://registry.npm.taobao.org
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\entities-35c1bbf9\lib\decode_codepoint.js'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\entities-35c1bbf9\lib\decode.js'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\entities-35c1bbf9\lib\encode.js'
。。。。。。

。。。。。。
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\ant-design-vue-b5223074\scripts\deploy-to-gh-pages.sh'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\ant-design-vue-b5223074\scripts\.npmrc.template'
npm WARN tar ENOENT: no such file or directory, open 'D:\workspace\zsh_code\portal.project\node_modules\.staging\ant-design-vue-b5223074\dist\antd-with-locales.min.js.LICENSE.txt'

npm WARN jnpf-admin@3.0.0 No repository field.

npm ERR! Error while executing:
npm ERR! D:\soft_install_dir\git\git_installFile\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: remote error:
npm ERR!   The unauthenticated git protocol on port 9418 is no longer supported.
npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
npm ERR!
npm ERR! exited with error code: 128
终止批处理操作吗(Y/N)? y

最终成功尝试


PS D:\workspace\zsh_code\portal.project> git config --global http.sslverify "false"
PS D:\workspace\zsh_code\portal.project> git config --global url."https://".insteadOf git://
PS D:\workspace\zsh_code\portal.project> npm i --registry=https://registry.npm.taobao.org
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!

> deasync@0.1.23 install D:\workspace\zsh_code\portal.project\node_modules\deasync
> node ./build.js

`win32-x64-node-16` exists; testing
Binary is fine; exiting

> yorkie@2.0.0 install D:\workspace\zsh_code\portal.project\node_modules\yorkie
> node bin/install.js

setting up Git hooks
done


> husky@1.3.1 install D:\workspace\zsh_code\portal.project\node_modules\husky
> node husky install

husky > setting up git hooks
husky > done

> core-js@3.20.1 postinstall D:\workspace\zsh_code\portal.project\node_modules\@simonwep\pickr\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js:
> https://opencollective.com/core-js 
> https://patreon.com/zloirock 
> https://paypal.me/zloirock 
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js@2.6.12 postinstall D:\workspace\zsh_code\portal.project\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> ejs@2.7.4 postinstall D:\workspace\zsh_code\portal.project\node_modules\ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> core-js@3.18.0 postinstall D:\workspace\zsh_code\portal.project\node_modules\tui-chart\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"


> highlight.js@9.18.5 postinstall D:\workspace\zsh_code\portal.project\node_modules\tui-editor\node_modules\highlight.js
> node deprecated.js

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  Verion 9 of Highlight.js has reached EOL.  It will no longer
  be supported or receive security updates in the future.
  Please upgrade to version 10 or encourage your indirect
  dependencies to do so.

  For more info:

  https://github.com/highlightjs/highlight.js/issues/2877
  https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

> ant-design-vue@1.7.8 postinstall D:\workspace\zsh_code\portal.project\node_modules\ant-design-vue
> node scripts/postinstall || echo "ignore"

Thank you for using ant-design-vue ( https://github.com/vueComponent/ant-design-vue )!

The project needs your help! Please consider supporting of ant-design-vue on Open Collective or Patreon: �
> https://opencollective.com/ant-design-vue 
> https://www.patreon.com/tangjinzhou 

更多赞助方式(支付宝、微信、Paypal)请查看如下链接: �
> https://www.antdv.com/docs/vue/sponsor-cn 

Ant Design Vue 官方网站: 
> https://www.antdv.com/ 


> bootstrap-vue@2.21.2 postinstall D:\workspace\zsh_code\portal.project\node_modules\bootstrap-vue
> opencollective || exit 0

                                                             
                          ;iiiiiiiiiiSSSSSSSSiiiiiiiiii;     
                          .rXXXXXXXXXrrrrrrrSXXXXXXXXXr.     
                          :iXXXXXXXX2. ;;;;, r3XXXXXXXi;     
                         ,rSSSSSXXXX2..sSSi: r3XXXSSSSSr,    
                          ,siiiiS2XX2. :;;:,.rXX2Siiiis,     
                           ,riiiii2X2..5XXXi .22iiiiir,      
                            .riiiii22..::::,,r2iiiiir.       
                             .riiiii5SSiiiiS22iiiiir.        
                               ;iiiii5X3333X5iiiii;          
                                :iiiiiSXXXXSiiiii:           
                                 :siiiiSXXSiiiis:            
                                  ,siiiiiiiiiis,             
                                   .riiiiiiiir.              
                                    .riiiiiir.               
                                     .;iiii;.                
                                       ;ii;                  
                                        ::                   

                       Thanks for installing bootstrap-vue 
                 Please consider donating to our open collective
                        to help us maintain this package.

                            Number of contributors: 0
                              Number of backers: 322
                             Annual budget: US$15,028
                            Current balance: US$25,966

          Donate: https://opencollective.com/bootstrap-vue/donate


> electron@16.0.4 postinstall D:\workspace\zsh_code\portal.project\node_modules\electron
> node install.js

Downloading electron-v16.0.4-win32-x64.zip: [====================================================================================================] 100% ETA: 0.0 seconds
npm WARN jnpf-admin@3.0.0 No repository field.
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":"win32","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":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\sane\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 2115 packages from 2211 contributors and updated 3 packages in 196.676s

82 packages are looking for funding
  run `npm fund` for details

PS D:\workspace\zsh_code\portal.project> npm run dev

> jnpf-admin@3.0.0 dev D:\workspace\zsh_code\portal.project
> vue-cli-service serve --open

 INFO  Starting development server...
 10% building 2/2 modules 0 activei 「wds」: Project is running at http://localhost:3000/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from D:\workspace\zsh_code\portal.project\public
i 「wds」: 404s will fallback to /index.html
 12% building 17/20 modules 3 active ...\portal.project\node_modules\url\url.jsBrowserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
 67% building 869/911 modules 42 active ...s\core-js\library\modules\es6.symbol.jsDEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(1, 5)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
489 │ $--group-option-flex: 0 0 (1/5) * 100% !default;
    │                            ^^^
    ╵
    node_modules\element-ui\packages\theme-chalk\src\common\var.scss 489:28      @import
    node_modules\element-ui\packages\theme-chalk\src\common\transition.scss 1:9  @import
    node_modules\element-ui\packages\theme-chalk\src\base.scss 1:9               @import
    node_modules\element-ui\packages\theme-chalk\src\index.scss 1:9              @import
    stdin 25:9                                                                   root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($--tooltip-arrow-size, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
32 │     margin-right: #{$--tooltip-arrow-size / 2};
   │                     ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules\element-ui\packages\theme-chalk\src\popper.scss 32:21         @content
    node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5   b()
    node_modules\element-ui\packages\theme-chalk\src\popper.scss 4:1           @import
    node_modules\element-ui\packages\theme-chalk\src\select-dropdown.scss 3:9  @import
    node_modules\element-ui\packages\theme-chalk\src\select.scss 4:9           @import
    node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9       @import
    node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9            @import
    stdin 25:9                                                                 root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($--tooltip-arrow-size, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
51 │     margin-right: #{$--tooltip-arrow-size / 2};
   │                     ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules\element-ui\packages\theme-chalk\src\popper.scss 51:21         @content
    node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5   b()
    node_modules\element-ui\packages\theme-chalk\src\popper.scss 4:1           @import
    node_modules\element-ui\packages\theme-chalk\src\select-dropdown.scss 3:9  @import
    node_modules\element-ui\packages\theme-chalk\src\select.scss 4:9           @import
    node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9       @import
    node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9            @import
    stdin 25:9                                                                 root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($--tooltip-arrow-size, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
70 │     margin-bottom: #{$--tooltip-arrow-size / 2};
   │                      ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules\element-ui\packages\theme-chalk\src\popper.scss 70:22         @content
    node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5   b()
    node_modules\element-ui\packages\theme-chalk\src\popper.scss 4:1           @import
    node_modules\element-ui\packages\theme-chalk\src\select-dropdown.scss 3:9  @import
    node_modules\element-ui\packages\theme-chalk\src\select.scss 4:9           @import
    node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9       @import
    node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9            @import
    stdin 25:9                                                                 root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($--tooltip-arrow-size, 2)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
89 │     margin-bottom: #{$--tooltip-arrow-size / 2};
   │                      ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules\element-ui\packages\theme-chalk\src\popper.scss 89:22         @content
    node_modules\element-ui\packages\theme-chalk\src\mixins\mixins.scss 74:5   b()
    node_modules\element-ui\packages\theme-chalk\src\popper.scss 4:1           @import
    node_modules\element-ui\packages\theme-chalk\src\select-dropdown.scss 3:9  @import
    node_modules\element-ui\packages\theme-chalk\src\select.scss 4:9           @import
    node_modules\element-ui\packages\theme-chalk\src\pagination.scss 4:9       @import
    node_modules\element-ui\packages\theme-chalk\src\index.scss 2:9            @import
    stdin 25:9                                                                 root stylesheet

WARNING: 33 repetitive deprecation warnings omitted.

 98% after emitting CopyPlugin

 DONE  Compiled successfully in 91921ms                                                                                                                                                             17:51:10


  App running at:
  - Local:   http://localhost:3000/
  - Network: http://192.xxx.xxx.xxx:3000/

  Note that the development build is not optimized.
  To create a production build, run npm run build.
 

参考博文

【前端项目问题】Cannot read properties of null (reading ‘pickAlgorithm‘)_@Dai的博客-CSDN博客【前端项目问题】Cannot read properties of null (reading 'pickAlgorithm')https://blog.csdn.net/weixin_46318413/article/details/122986484?spm=1001.2101.3001.6650.3&utm_medium=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-3.pc_relevant_paycolumn_v3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-3.pc_relevant_paycolumn_v3&utm_relevant_index=6

前端vue项目运行时报错:Cannot read properties of null (reading ‘pickAlgorithm‘)_Ka_bu_da的博客-CSDN博客从git上下载的前端代码,然后在VScode中执行:npm run dev。结果报错:Cannot read properties of null (reading ‘pickAlgorithm‘)许多文章说需要删除node_modules文件夹,然后再运行npm install;但是经过几次尝试还是失败了!于是打算使用yarn install;先删除node_modules文件夹,然后清除一下缓存:npm cache clear --force安装yarn:npm install -g yarhttps://blog.csdn.net/Ka_bu_da/article/details/123536536?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2~default~CTRLIST~Rate-1.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2~default~CTRLIST~Rate-1.pc_relevant_default&utm_relevant_index=1

npm报错 npm ERR! Error while executing:_barry200890【主要参考】解决方法:git config --global http.sslverify "false" ,继续install,然后又报错了:然后在配置git:git config --global url."https://".insteadOf git://然后重新npm install.https://blog.csdn.net/barry200890/article/details/112604583

npm报错及解决方案 - SegmentFault 思否【参考:清除成功标识】一、 npm install时提示:npm ERR! Unexpected end of JSON input while parsing near '... PGP SIGNATURE-----\r'https://segmentfault.com/a/1190000022476536

npm安装报错 using --force Recommended protections disabled【参考降低版本功能】一个可能的原因是因为版本太高而导致。使用命令降低版本即可npm install npm@6.14.10 -ghttps://blog.csdn.net/weixin_46721287/article/details/122509279

前端vue项目运行时报错:Cannot read properties of null (reading ‘pickAlgorithm‘)_Ka_bu_da的博客【有问题】从git上下载的前端代码,然后在VScode中执行:npm run dev。结果报错:Cannot read properties of null (reading ‘pickAlgorithm‘)许多文章说需要删除node_modules文件夹,然后再运行npm install;但是经过几次尝试还是失败了!于是打算使用yarn install;先删除node_modules文件夹,然后清除一下缓存:npm cache clear --force安装yarn:npm install -g yarhttps://blog.csdn.net/Ka_bu_da/article/details/123536536?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2~default~CTRLIST~Rate-1.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2~default~CTRLIST~Rate-1.pc_relevant_default&utm_relevant_index=1

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

被开发耽误的大厨

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值