傻逼修复bug记录

Microsoft Windows [版本 10.0.19043.1415]
(c) Microsoft Corporation。保留所有权利。

C:\Windows\system32>d:

D:\>cd vue_project

D:\vue_project>cd e_project

D:\vue_project\e_project>npm install
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/

added 1877 packages in 4m

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

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '@vue/cli-plugin-babel'
Require stack:
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at idToPlugin (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:145:14)
    at D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:184:20
    at Array.map (<anonymous>)
    at Service.resolvePlugins (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:170:10)
    at new Service (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:32:25)
    at Object.<anonymous> (D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
  ]
}

D:\vue_project\e_project>npm install vue@3.0.5 -g
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/

added 14 packages in 10s

D:\vue_project\e_project>npm install @vue/cli -g
[######............] / idealTree:unset-value: timing idealTree:node_modules/@vue/cli/node_modules/unset-value Completed [#######...........] / idealTree:vue-codemod: ti[#######...........] \ idealTree:vue-codemod: timing idealTree:node_modunpm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated apollo-tracing@0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated graphql-extensions@0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated apollo-cache-control@0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details.
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-random for details.
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-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead

changed 941 packages in 24m

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

D:\vue_project\e_project>
D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '@vue/cli-plugin-babel'
Require stack:
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at idToPlugin (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:145:14)
    at D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:184:20
    at Array.map (<anonymous>)
    at Service.resolvePlugins (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:170:10)
    at new Service (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:32:25)
    at Object.<anonymous> (D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
  ]
}

D:\vue_project\e_project>cd..

D:\vue_project>vue create testproject


Vue CLI v4.5.15
? Please pick a preset: Default (Vue 3) ([Vue 3] babel, eslint)


Vue CLI v4.5.15
✨  Creating project in D:\vue_project\testproject.
🗃  Initializing git repository...
⚙️  Installing CLI plugins. This might take a while...

[#########.........] - reify:fsevents: timing reifyNode:node_modules/watchpack-chokidar2/node_modules/fsevents Completed[#########.........] \ reify:watchpack-chokidar2[#########.........] | reify:launch-editor-middleware: timing reifyNode:
added 1276 packages in 4m

84 packages are looking for funding
  run `npm fund` for details
🚀  Invoking generators...
📦  Installing additional dependencies...


added 73 packages in 38s

91 packages are looking for funding
  run `npm fund` for details
⚓  Running completion hooks...

📄  Generating README.md...

🎉  Successfully created project testproject.
👉  Get started with the following commands:

 $ cd testproject
 $ npm run serve


D:\vue_project>npm run serve
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\vue_project/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'D:\vue_project\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\software\nodejs\node_cache\_logs\2021-12-31T08_16_23_495Z-debug.log

D:\vue_project>cd e_project

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '@vue/cli-plugin-babel'
Require stack:
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at idToPlugin (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:145:14)
    at D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:184:20
    at Array.map (<anonymous>)
    at Service.resolvePlugins (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:170:10)
    at new Service (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:32:25)
    at Object.<anonymous> (D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
  ]
}

D:\vue_project\e_project>npm uninstall @vue/cli -g

removed 941 packages, and audited 1 package in 17s

found 0 vulnerabilities

D:\vue_project\e_project>npm install @vue/cli -g
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated apollo-tracing@0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated graphql-extensions@0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated apollo-cache-control@0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details.
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-random for details.
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-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead

added 941 packages in 3m

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

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '@vue/cli-plugin-babel'
Require stack:
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at idToPlugin (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:145:14)
    at D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:184:20
    at Array.map (<anonymous>)
    at Service.resolvePlugins (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:170:10)
    at new Service (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:32:25)
    at Object.<anonymous> (D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
  ]
}

D:\vue_project\e_project>npm install @vue/cli-plugin-babel
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/

up to date in 7s

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

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '@vue/cli-plugin-babel'
Require stack:
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at idToPlugin (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:145:14)
    at D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:184:20
    at Array.map (<anonymous>)
    at Service.resolvePlugins (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:170:10)
    at new Service (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:32:25)
    at Object.<anonymous> (D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
  ]
}

D:\vue_project\e_project>npm install @vue/cli-plugin-babel -g
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
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-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

added 1236 packages in 3m

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

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '@vue/cli-plugin-eslint'
Require stack:
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at idToPlugin (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:145:14)
    at D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:184:20
    at Array.map (<anonymous>)
    at Service.resolvePlugins (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:170:10)
    at new Service (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:32:25)
    at Object.<anonymous> (D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
    'D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
  ]
}

D:\vue_project\e_project>npm install @vue/cli-plugin-eslint -g
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
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-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

added 1192 packages in 2m

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

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
 ERROR  Error: Cannot find module '@vue/compiler-sfc/package.json'
Require stack:
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\config\base.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node                                     \bin\vue-cli-service.js
D:\vue_project\e_project> '@vue/compiler-sfc/package.json'
D:\vue_project\e_project>
D:\vue_project\e_project>_global\node_modules\@vue\cli-service\lib\config\base.js
D:\vue_project\e_project>_global\node_modules\@vue\cli-service\lib\Service.js
D:\vue_project\e_project>_global\node_modules\@vue\cli-service\bin\vue-cli-service.js
D:\vue_project\e_project>esolveFilename (node:internal/modules/cjs/loader:933:15)
D:\vue_project\e_project>oad (node:internal/modules/cjs/loader:778:27)
D:\vue_project\e_project>de:internal/modules/cjs/loader:1005:19)
D:\vue_project\e_project>rnal/modules/cjs/helpers:102:18)
D:\vue_project\e_project>\node_global\node_modules\@vue\cli-service\lib\config\base.js:123:30
D:\vue_project\e_project>\node_global\node_modules\@vue\cli-service\lib\Service.js:236:40
D:\vue_project\e_project>onymous>)
D:\vue_project\e_project>inableWebpackConfig (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.jD:\vue_project\e_project>
D:\vue_project\e_project>packConfig (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:240:48)D:\vue_project\e_project>
D:\vue_project\e_project>ebpackConfig (D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\PluginAPI.js:132D:\vue_project\e_project>
D:\vue_project\e_project>\nodejs\node_global\node_modules\@vue\cli-service\lib\commands\serve.js:75:31)
D:\vue_project\e_project>ftware\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js:230:12)
D:\vue_project\e_project> (D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js:36:9)
D:\vue_project\e_project>ode:internal/modules/cjs/loader:1101:14)
D:\vue_project\e_project>ensions..js (node:internal/modules/cjs/loader:1153:10)
D:\vue_project\e_project>internal/modules/cjs/loader:981:32)
D:\vue_project\e_project>
D:\vue_project\e_project>
D:\vue_project\e_project>
D:\vue_project\e_project>
D:\vue_project\e_project>
D:\vue_project\e_project>
D:\vue_project\e_project>
D:\vue_project\e_project>
D:\vue_project\e_project>
D:\vue_project\e_project>npm install @vue/compiler-sfc -g
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/

added 15 packages in 9s

1 package is looking for funding
  run `npm fund` for details

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 2 errors                                                                       4:36:28 PM
 error  in ./node_modules/element-plus/packages/theme-chalk/src/base.scss

Syntax Error: Error: Cannot find module 'node-sass'
Require stack:
- D:\vue_project\e_project\node_modules\sass-loader\dist\getDefaultSassImplementation.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\getSassImplementation.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\index.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\cjs.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\loader-runner\lib\loadLoader.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\loader-runner\lib\LoaderRunner.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\NormalModule.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\NormalModuleFactory.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\Compiler.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\webpack.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\commands\serve.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js


 @ ./node_modules/element-plus/packages/theme-chalk/src/base.scss 4:14-363 15:3-20:5 16:22-371
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

 error  in ./src/App.vue

Syntax Error: TypeError: Cannot read properties of undefined (reading 'parseComponent')


 @ ./src/main.js 173:34-54
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

终止批处理操作吗(Y/N)? y

D:\vue_project\e_project>npm install sass-loader
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/

up to date in 23s

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

D:\vue_project\e_project>npm install node-sass
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path D:\vue_project\e_project\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe D:\vue_project\e_project\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm ERR! gyp verb cli   'D:\\vue_project\\e_project\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@16.13.1 | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb `which` failed Error: not found: python2
npm ERR! gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp verb `which` failed  python2 Error: not found: python2
npm ERR! gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
npm ERR! gyp verb `which` failed   code: 'ENOENT'
npm ERR! gyp verb `which` failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb `which` failed Error: not found: python
npm ERR! gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp verb `which` failed  python Error: not found: python
npm ERR! gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed     at D:\vue_project\e_project\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
npm ERR! gyp verb `which` failed   code: 'ENOENT'
npm ERR! gyp verb `which` failed }
npm ERR! gyp verb could not find "python". checking python launcher
npm ERR! gyp verb could not find "python". guessing location
npm ERR! gyp verb ensuring that file exists: C:\Python27\python.exe
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack     at PythonFinder.failNoPython (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:484:19)
npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:509:16)
npm ERR! gyp ERR! stack     at callback (D:\vue_project\e_project\node_modules\graceful-fs\polyfills.js:299:20)
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\vue_project\\e_project\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd D:\vue_project\e_project\node_modules\node-sass
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\software\nodejs\node_cache\_logs\2021-12-31T08_40_07_734Z-debug.log

D:\vue_project\e_project>npm config set registry https://registry.npm.taobao.org

D:\vue_project\e_project>cnpm install node-sass
'cnpm' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\vue_project\e_project>npm install node-sass
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path D:\vue_project\e_project\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@16.13.1 | win32 | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack     at PythonFinder.failNoPython (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:484:19)
npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:509:16)
npm ERR! gyp ERR! stack     at callback (D:\vue_project\e_project\node_modules\graceful-fs\polyfills.js:299:20)
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\vue_project\\e_project\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\vue_project\e_project\node_modules\node-sass
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\software\nodejs\node_cache\_logs\2021-12-31T08_44_35_187Z-debug.log

D:\vue_project\e_project>$ npm install -g cnpm --registry=https://registry.npm.taobao.org
'$' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\vue_project\e_project>npm install -g cnpm --registry=https://registry.npm.taobao.org
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
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-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

added 380 packages in 1m

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

D:\vue_project\e_project>cnpm -v
cnpm@7.1.0 (D:\software\nodejs\node_global\node_modules\cnpm\lib\parse_argv.js)
npm@6.14.15 (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npm\lib\npm.js)
node@16.13.1 (C:\Program Files\nodejs\node.exe)
npminstall@5.3.1 (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\index.js)
prefix=D:\software\nodejs\node_global
win32 x64 10.0.19043
registry=https://registry.npmmirror.com

D:\vue_project\e_project>cnpm i node-sass
√ Installed 1 packages
√ Linked 218 latest versions
[1/1] scripts.install node-sass@latest run "node scripts/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@7.0.1@node-sass"
Downloading binary from https://oss.npmmirror.com/dist/node-sass/v7.0.1/win32-x64-93_binding.node
Download complete
Binary saved to D:\vue_project\e_project\node_modules\_node-sass@7.0.1@node-sass\vendor\win32-x64-93\binding.node
Caching binary to C:\Users\11904\.npminstall_tarball\node-sass\7.0.1\win32-x64-93_binding.node
[1/1] scripts.install node-sass@latest finished in 4s
[1/1] scripts.postinstall node-sass@latest run "node scripts/build.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@7.0.1@node-sass"
Binary found at D:\vue_project\e_project\node_modules\_node-sass@7.0.1@node-sass\vendor\win32-x64-93\binding.node
Testing binary
Binary is fine
[1/1] scripts.postinstall node-sass@latest finished in 396ms
√ Run 1 scripts
deprecate node-sass@7.0.1 › request@^2.88.0 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate node-sass@7.0.1 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate node-sass@7.0.1 › request@2.88.2 › uuid@^3.3.2 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-random for details.
Recently updated (since 2021-12-24): 6 packages (detail see file D:\vue_project\e_project\node_modules\.recently_updates.txt)
  Today:
    → node-sass@7.0.1 › meow@9.0.0 › read-pkg-up@7.0.1 › read-pkg@5.2.0 › parse-json@5.2.0 › @babel/code-frame@^7.0.0(7.16.7) (08:22:17)
    → node-sass@7.0.1 › meow@9.0.0 › read-pkg-up@7.0.1 › read-pkg@5.2.0 › parse-json@5.2.0 › @babel/code-frame@7.16.7 › @babel/highlight@^7.16.7(7.16.7) (08:21:30)
    → node-sass@7.0.1 › node-gyp@8.4.1 › make-fetch-happen@9.1.0 › agentkeepalive@^4.1.3(4.2.0) (12:30:38)
    → node-sass@7.0.1 › meow@9.0.0 › read-pkg-up@7.0.1 › read-pkg@5.2.0 › parse-json@5.2.0 › @babel/code-frame@7.16.7 › @babel/highlight@7.16.7 › @babel/helper-validator-identifier@^7.16.7(7.16.7) (08:21:17)
√ All packages installed (240 packages installed from npm registry, used 32s(network 28s), speed 185.84KB/s, json 218(577.6KB), tarball 4.5MB)

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 2 errors                                                                                 4:51:51 PM
 error  in ./node_modules/element-plus/packages/theme-chalk/src/base.scss

Syntax Error: Error: Node Sass version 7.0.1 is incompatible with ^4.0.0.


 @ ./node_modules/element-plus/packages/theme-chalk/src/base.scss 4:14-363 15:3-20:5 16:22-371
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

 error  in ./src/App.vue

Syntax Error: TypeError: Cannot read properties of undefined (reading 'parseComponent')


 @ ./src/main.js 173:34-54
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

终止批处理操作吗(Y/N)? y

D:\vue_project\e_project>npm uninstall node-sass

removed 614 packages in 9s

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

D:\vue_project\e_project>cnpm install node-sass@4.0.0
√ Installed 1 packages
√ Linked 181 latest versions
[1/1] scripts.install node-sass@4.0.0 run "node scripts/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@4.0.0@node-sass"
Downloading binary from https://oss.npmmirror.com/dist/node-sass/v4.0.0/win32-x64-93_binding.node
Cannot download "https://oss.npmmirror.com/dist/node-sass/v4.0.0/win32-x64-93_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
      try setting a proxy via HTTP_PROXY, e.g.

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080
[1/1] scripts.install node-sass@4.0.0 finished in 2s
[1/1] scripts.postinstall node-sass@4.0.0 run "node scripts/build.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@4.0.0@node-sass"
Building: C:\Program Files\nodejs\node.exe D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'D:\\vue_project\\e_project\\node_modules\\_node-gyp@3.8.0@node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@16.13.1 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb download using dist-url https://npmmirror.com/mirrors/node
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
gyp verb `which` failed  python2 Error: not found: python2
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
gyp verb `which` failed  python Error: not found: python
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb could not find "python". checking python launcher
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\lib\configure.js:484:19)
gyp ERR! stack     at PythonFinder.<anonymous> (D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\lib\configure.js:509:16)
gyp ERR! stack     at callback (D:\vue_project\e_project\node_modules\_graceful-fs@4.2.8@graceful-fs\polyfills.js:299:20)
gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
gyp ERR! System Windows_NT 10.0.19043
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\vue_project\\e_project\\node_modules\\_node-gyp@3.8.0@node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\vue_project\e_project\node_modules\_node-sass@4.0.0@node-sass
gyp ERR! node -v v16.13.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
[npminstall:runscript:error] node-sass@4.0.0 scripts.postinstall run "node scripts/build.js" error: Error [RunScriptError]: Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
    at ChildProcess.<anonymous> (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\runscript\index.js:96:21)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
  stdio: [Object],
  exitcode: 1
}
× Install fail! RunScriptError: post install error, please remove node_modules before retry!
Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
RunScriptError: Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
    at ChildProcess.<anonymous> (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\runscript\index.js:96:21)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npminstall version: 5.3.1
npminstall args: C:\Program Files\nodejs\node.exe D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\11904\.cnpmrc --disturl=https://npmmirror.com/mirrors/node --registry=https://registry.npmmirror.com node-sass@4.0.0

√ Installed 1 packages
√ Linked 19 latest versions
[1/1] scripts.install node-sass@4.0.0 run "node scripts/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@4.0.0@node-sass"
Downloading binary from https://oss.npmmirror.com/dist/node-sass/v4.0.0/win32-x64-93_binding.node
Cannot download "https://oss.npmmirror.com/dist/node-sass/v4.0.0/win32-x64-93_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
      try setting a proxy via HTTP_PROXY, e.g.

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080
[1/1] scripts.install node-sass@4.0.0 finished in 2s
[1/1] scripts.postinstall node-sass@4.0.0 run "node scripts/build.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@4.0.0@node-sass"
Building: C:\Program Files\nodejs\node.exe D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'D:\\vue_project\\e_project\\node_modules\\_node-gyp@3.8.0@node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@16.13.1 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb download using dist-url https://npmmirror.com/mirrors/node
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
gyp verb `which` failed  python2 Error: not found: python2
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
gyp verb `which` failed  python Error: not found: python
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb could not find "python". checking python launcher
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\lib\configure.js:484:19)
gyp ERR! stack     at PythonFinder.<anonymous> (D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\lib\configure.js:509:16)
gyp ERR! stack     at callback (D:\vue_project\e_project\node_modules\_graceful-fs@4.2.8@graceful-fs\polyfills.js:299:20)
gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
gyp ERR! System Windows_NT 10.0.19043
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\vue_project\\e_project\\node_modules\\_node-gyp@3.8.0@node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\vue_project\e_project\node_modules\_node-sass@4.0.0@node-sass
gyp ERR! node -v v16.13.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
[npminstall:runscript:error] node-sass@4.0.0 scripts.postinstall run "node scripts/build.js" error: Error [RunScriptError]: Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
    at ChildProcess.<anonymous> (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\runscript\index.js:96:21)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
  stdio: [Object],
  exitcode: 1
}
× Install fail! RunScriptError: post install error, please remove node_modules before retry!
Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
RunScriptError: Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
    at ChildProcess.<anonymous> (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\runscript\index.js:96:21)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npminstall version: 5.3.1
npminstall args: C:\Program Files\nodejs\node.exe D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\11904\.cnpmrc --disturl=https://npmmirror.com/mirrors/node --registry=https://registry.npmmirror.com node-sass@4.0.0

D:\vue_project\e_project>npm uninstall node-sass

removed 475 packages in 9s

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

D:\vue_project\e_project>npm uninstall sass-loader

removed 3 packages in 4s

1 package is looking for funding
  run `npm fund` for details

D:\vue_project\e_project>cnpm install sass-loader@8.0.2
√ Installed 1 packages
√ Linked 274 latest versions
√ Run 0 scripts
peerDependencies WARNING sass-loader@8.0.2 requires a peer of node-sass@^4.0.0 but none was installed
peerDependencies WARNING sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none was installed
peerDependencies WARNING sass-loader@8.0.2 requires a peer of fibers@>= 3.1.0 but none was installed
deprecate sass-loader@8.0.2 › webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate sass-loader@8.0.2 › webpack@4.46.0 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate sass-loader@8.0.2 › webpack@4.46.0 › node-libs-browser@2.2.1 › url@0.11.0 › querystring@0.2.0 The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
deprecate sass-loader@8.0.2 › webpack@4.46.0 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › resolve-url@^0.2.1 https://github.com/lydell/resolve-url#deprecated
√ All packages installed (314 packages installed from npm registry, used 23s(network 23s), speed 199.72KB/s, json 275(1.13MB), tarball 3.43MB)

D:\vue_project\e_project>cnpm install sass-loader@8.0.2 node-sass@4.14.2
× Install fail! Error: [node-sass@4.14.2] Can't find package node-sass's version: 4.14.2
Error: [node-sass@4.14.2] Can't find package node-sass's version: 4.14.2
    at resolve (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\download\npm.js:99:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\download\npm.js:22:19)
    at async module.exports (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\download\index.js:21:10)    at async _install (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\install.js:125:16)
    at async install (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\install.js:26:12)
    at async installOne (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\local_install.js:210:15)
    at async mapper (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\lib\local_install.js:149:5)
npminstall version: 5.3.1
npminstall args: C:\Program Files\nodejs\node.exe D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\11904\.cnpmrc --disturl=https://npmmirror.com/mirrors/node --registry=https://registry.npmmirror.com sass-loader@8.0.2 node-sass@4.14.2

√ Installed 2 packages
√ Linked 2 latest versions
√ Run 0 scripts
√ All packages installed (1 packages installed from npm registry, used 2s(network 2s), speed 93.75KB/s, json 2(37.72KB), tarball 157.19KB)

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 error                                                                                  5:06:29 PM
 error  in ./src/App.vue

Syntax Error: TypeError: Cannot read properties of undefined (reading 'parseComponent')


 @ ./src/main.js 173:34-54
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

终止批处理操作吗(Y/N)? Y

D:\vue_project\e_project>npm uninstall @vue/compiler-sfc
终止批处理操作吗(Y/N)? y

D:\vue_project\e_project>npm uninstall @vue/compiler-sfc -g

removed 15 packages, and audited 1 package in 1s

found 0 vulnerabilities

D:\vue_project\e_project>npm install @vue/compiler-sfc@3.1.5 -g

added 44 packages in 7s

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 error                                                                                  5:28:51 PM
 error  in ./src/App.vue

Syntax Error: TypeError: Cannot read properties of undefined (reading 'parseComponent')


 @ ./src/main.js 173:34-54
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

终止批处理操作吗(Y/N)?
^C系统无法打开指定的设备或文件。

D:\vue_project\e_project>vue -V
@vue/cli 4.5.15

D:\vue_project\e_project>cnpm install @vue/compiler-sfc@3.1.5 -g
Downloading @vue/compiler-sfc to D:\software\nodejs\node_global\node_modules\@vue\compiler-sfc_tmp
Copying D:\software\nodejs\node_global\node_modules\@vue\compiler-sfc_tmp\_@vue_compiler-sfc@3.1.5@@vue\compiler-sfc to D:\software\nodejs\node_global\node_modules\@vue\compiler-sfc
Installing @vue/compiler-sfc's dependencies to D:\software\nodejs\node_global\node_modules\@vue\compiler-sfc/node_modules
[1/17] @types/estree@^0.0.48 installed at node_modules\_@types_estree@0.0.48@@types\estree
[2/17] @vue/shared@3.1.5 installed at node_modules\_@vue_shared@3.1.5@@vue\shared
[3/17] hash-sum@^2.0.0 installed at node_modules\_hash-sum@2.0.0@hash-sum
[4/17] lru-cache@^5.1.1 installed at node_modules\_lru-cache@5.1.1@lru-cache
[5/17] estree-walker@^2.0.1 installed at node_modules\_estree-walker@2.0.2@estree-walker
[6/17] @vue/compiler-dom@3.1.5 installed at node_modules\_@vue_compiler-dom@3.1.5@@vue\compiler-dom
[7/17] @vue/compiler-ssr@3.1.5 installed at node_modules\_@vue_compiler-ssr@3.1.5@@vue\compiler-ssr
[8/17] @babel/parser@^7.13.9 installed at node_modules\_@babel_parser@7.16.7@@babel\parser
[9/17] source-map@^0.6.1 installed at node_modules\_source-map@0.6.1@source-map
[10/17] merge-source-map@^1.1.0 installed at node_modules\_merge-source-map@1.1.0@merge-source-map
[11/17] magic-string@^0.25.7 installed at node_modules\_magic-string@0.25.7@magic-string
[12/17] postcss-selector-parser@^6.0.4 installed at node_modules\_postcss-selector-parser@6.0.8@postcss-selector-parser
[13/17] consolidate@^0.16.0 installed at node_modules\_consolidate@0.16.0@consolidate
[14/17] postcss-modules@^4.0.0 installed at node_modules\_postcss-modules@4.3.0@postcss-modules
[15/17] @vue/compiler-core@3.1.5 installed at node_modules\_@vue_compiler-core@3.1.5@@vue\compiler-core
[16/17] postcss@^8.1.10 installed at node_modules\_postcss@8.4.5@postcss
[17/17] @babel/types@^7.13.0 installed at node_modules\_@babel_types@7.16.7@@babel\types
Recently updated (since 2021-12-24): 3 packages (detail see file D:\software\nodejs\node_global\node_modules\@vue\compiler-sfc\node_modules\.recently_updates.txt)
  Today:
    → @babel/parser@^7.13.9(7.16.7) (08:21:22)
    → @babel/types@^7.13.0(7.16.7) (08:22:14)
    → @babel/types@7.16.7 › @babel/helper-validator-identifier@^7.16.7(7.16.7) (08:21:17)
All packages installed (38 packages installed from npm registry, used 2s(network 2s), speed 1.05MB/s, json 38(196.79KB), tarball 1.47MB)

D:\vue_project\e_project>cnpm run serve

> s1pcchina@0.1.0 serve D:\vue_project\e_project
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 error                                                                                  5:40:36 PM
 error  in ./src/App.vue

Syntax Error: TypeError: Cannot read properties of undefined (reading 'parseComponent')


 @ ./src/main.js 173:34-54
 @ multi (webpack)-dev-server/client?http://172.21.47.8:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

^C
D:\vue_project\e_project>npm uninstall @vue/cli-plugin-babel -g

removed 1236 packages, and audited 1 package in 51s

found 0 vulnerabilities

D:\vue_project\e_project>cnpm install @vue/cli-plugin-babel@4.5.0 -g
Downloading @vue/cli-plugin-babel to D:\software\nodejs\node_global\node_modules\@vue\cli-plugin-babel_tmp
Copying D:\software\nodejs\node_global\node_modules\@vue\cli-plugin-babel_tmp\_@vue_cli-plugin-babel@4.5.0@@vue\cli-plugin-babel to D:\software\nodejs\node_global\node_modules\@vue\cli-plugin-babel
Installing @vue/cli-plugin-babel's dependencies to D:\software\nodejs\node_global\node_modules\@vue\cli-plugin-babel/node_modules
[1/7] @babel/core@^7.9.6 installed at node_modules\_@babel_core@7.16.7@@babel\core
[2/7] @vue/cli-shared-utils@^4.5.0 installed at node_modules\_@vue_cli-shared-utils@4.5.15@@vue\cli-shared-utils
[3/7] babel-loader@^8.1.0 installed at node_modules\_babel-loader@8.2.3@babel-loader
[4/7] cache-loader@^4.1.0 installed at node_modules\_cache-loader@4.1.0@cache-loader
[5/7] thread-loader@^2.1.3 installed at node_modules\_thread-loader@2.1.3@thread-loader
[6/7] webpack@^4.0.0 installed at node_modules\_webpack@4.46.0@webpack
[7/7] @vue/babel-preset-app@^4.5.0 installed at node_modules\_@vue_babel-preset-app@4.5.15@@vue\babel-preset-app
execute post install 1 scripts...
[1/1] scripts.postinstall @vue/babel-preset-app@4.5.15 › core-js@^3.6.5 run "node -e \"try{require('./postinstall')}catch(e){}\"", root: "D:\\software\\nodejs\\node_global\\node_modules\\@vue\\cli-plugin-babel\\node_modules\\_core-js@3.20.1@core-js"
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 -)

[1/1] scripts.postinstall @vue/babel-preset-app@4.5.15 › core-js@^3.6.5 finished in 118ms
deprecate @vue/cli-shared-utils@4.5.15 › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/cli-shared-utils@4.5.15 › @hapi/joi@^15.0.1 Switch to 'npm install joi'
deprecate @vue/cli-shared-utils@4.5.15 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/cli-shared-utils@4.5.15 › @hapi/joi@15.1.1 › @hapi/bourne@1.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-shared-utils@4.5.15 › @hapi/joi@15.1.1 › @hapi/topo@3.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-shared-utils@4.5.15 › @hapi/joi@15.1.1 › @hapi/address@2.x.x Moved to 'npm install @sideway/address'
deprecate @vue/cli-shared-utils@4.5.15 › request@2.88.2 › uuid@^3.3.2 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-random for details.
deprecate @vue/cli-shared-utils@4.5.15 › @hapi/joi@15.1.1 › @hapi/hoek@8.x.x This version has been deprecated and is no longer supported or maintained
deprecate webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@^2.1.8 Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
deprecate webpack@4.46.0 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate webpack@4.46.0 › micromatch@3.1.10 › snapdragon@0.8.2 › source-map-resolve@0.5.3 › resolve-url@^0.2.1 https://github.com/lydell/resolve-url#deprecated
deprecate webpack@4.46.0 › node-libs-browser@2.2.1 › url@0.11.0 › querystring@0.2.0 The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
Recently updated (since 2021-12-24): 88 packages (detail see file D:\software\nodejs\node_global\node_modules\@vue\cli-plugin-babel\node_modules\.recently_updates.txt)
  Today:
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@^7.8.3(7.16.7) (08:23:14)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-class-properties@^7.8.3(7.16.7) (08:23:11)
    → @vue/babel-preset-app@4.5.15 › @babel/helper-compilation-targets@^7.9.6(7.16.7) (08:21:30)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-transform-runtime@^7.11.0(7.16.7) (08:22:38)
    → @babel/core@^7.9.6(7.16.7) (08:23:02)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-syntax-jsx@^7.8.3(7.16.7) (08:21:46)
    → @vue/babel-preset-app@4.5.15 › @babel/helper-module-imports@^7.8.3(7.16.7) (08:22:22)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/plugin-syntax-decorators@^7.16.7(7.16.7) (08:21:41)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-plugin-utils@^7.16.7(7.16.7) (08:21:17)
    → @babel/core@7.16.7 › @babel/code-frame@^7.16.7(7.16.7) (08:22:17)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@^7.16.7(7.16.7) (08:23:02)
    → @vue/babel-preset-app@4.5.15 › @babel/helper-compilation-targets@7.16.7 › @babel/helper-validator-option@^7.16.7(7.16.7) (08:21:20)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@^7.11.0(7.16.7) (08:23:19)
    → @babel/core@7.16.7 › @babel/template@^7.16.7(7.16.7) (08:22:40)
    → @babel/core@7.16.7 › @babel/helpers@^7.16.7(7.16.7) (08:22:57)
    → @babel/core@7.16.7 › @babel/helper-module-transforms@^7.16.7(7.16.7) (08:22:57)
    → @babel/core@7.16.7 › @babel/generator@^7.16.7(7.16.7) (08:22:17)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@7.16.7 › @babel/helper-environment-visitor@^7.16.7(7.16.7) (08:22:17)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@7.16.7 › @babel/helper-optimise-call-expression@^7.16.7(7.16.7) (08:22:22)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@7.16.7 › @babel/helper-annotate-as-pure@^7.16.7(7.16.7) (08:22:17)
    → @babel/core@7.16.7 › @babel/parser@^7.16.7(7.16.7) (08:21:22)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@7.16.7 › @babel/helper-function-name@^7.16.7(7.16.7) (08:22:43)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@7.16.7 › @babel/helper-split-export-declaration@^7.16.7(7.16.7) (08:22:23)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@7.16.7 › @babel/helper-member-expression-to-functions@^7.16.7(7.16.7) (08:22:20)
    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@7.16.7 › @babel/helper-replace-supers@^7.16.7(7.16.7) (08:22:57)
    → @babel/core@7.16.7 › @babel/code-frame@7.16.7 › @babel/highlight@^7.16.7(7.16.7) (08:21:30)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-dynamic-import@^7.16.7(7.16.7) (08:21:33)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.16.7(7.16.7) (08:22:25)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-class-static-block@^7.16.7(7.16.7) (08:23:11)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-json-strings@^7.16.7(7.16.7) (08:21:34)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-async-generator-functions@^7.16.7(7.16.7) (08:23:11)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-nullish-coalescing-operator@^7.16.7(7.16.7) (08:21:36)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-optional-catch-binding@^7.16.7(7.16.7) (08:21:37)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-numeric-separator@^7.16.7(7.16.7) (08:21:37)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-unicode-property-regex@^7.16.7(7.16.7) (08:22:42)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-private-property-in-object@^7.16.7(7.16.7) (08:23:14)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7(7.16.7) (08:21:30)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-private-methods@^7.16.7(7.16.7) (08:23:14)    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-export-namespace-from@^7.16.7(7.16.7) (08:21:33)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-arrow-functions@^7.16.7(7.16.7) (08:21:52)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-block-scoped-functions@^7.16.7(7.16.7) (08:21:52)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-dotall-regex@^7.16.7(7.16.7) (08:22:42)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-logical-assignment-operators@^7.16.7(7.16.7) (08:21:35)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-object-rest-spread@^7.16.7(7.16.7) (08:22:27)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-literals@^7.16.7(7.16.7) (08:21:58)
    → @babel/core@7.16.7 › @babel/traverse@^7.16.7(7.16.7) (08:22:52)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-computed-properties@^7.16.7(7.16.7) (08:21:54)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-property-literals@^7.16.7(7.16.7) (08:22:05)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-member-expression-literals@^7.16.7(7.16.7) (08:21:59)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-block-scoping@^7.16.7(7.16.7) (08:21:53)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-named-capturing-groups-regex@^7.16.7(7.16.7) (08:22:45)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-typeof-symbol@^7.16.7(7.16.7) (08:22:12)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-reserved-words@^7.16.7(7.16.7) (08:22:08)    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-duplicate-keys@^7.16.7(7.16.7) (08:21:55)    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-shorthand-properties@^7.16.7(7.16.7) (08:22:10)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-unicode-escapes@^7.16.7(7.16.7) (08:22:13)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-function-name@^7.16.7(7.16.7) (08:22:52)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-destructuring@^7.16.7(7.16.7) (08:21:55)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-modules-umd@^7.16.7(7.16.7) (08:23:07)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-exponentiation-operator@^7.16.7(7.16.7) (08:22:42)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-new-target@^7.16.7(7.16.7) (08:22:00)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-regenerator@^7.16.7(7.16.7) (08:21:23)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-modules-systemjs@^7.16.7(7.16.7) (08:23:06)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-object-super@^7.16.7(7.16.7) (08:23:08)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-sticky-regex@^7.16.7(7.16.7) (08:22:10)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-modules-amd@^7.16.7(7.16.7) (08:23:05)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-async-to-generator@^7.16.7(7.16.7) (08:23:14)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-template-literals@^7.16.7(7.16.7) (08:22:12)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-modules-commonjs@^7.16.7(7.16.7) (08:23:06)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-unicode-regex@^7.16.7(7.16.7) (08:22:48)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-for-of@^7.16.7(7.16.7) (08:21:57)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-spread@^7.16.7(7.16.7) (08:22:10)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-optional-chaining@^7.16.7(7.16.7) (08:21:40)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-parameters@^7.16.7(7.16.7) (08:22:02)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-classes@^7.16.7(7.16.7) (08:23:04)
    → @babel/core@7.16.7 › @babel/helper-module-transforms@7.16.7 › @babel/helper-simple-access@^7.16.7(7.16.7) (08:22:22)
    → @babel/core@7.16.7 › @babel/helper-module-transforms@7.16.7 › @babel/helper-validator-identifier@^7.16.7(7.16.7) (08:21:17)    → @vue/babel-preset-app@4.5.15 › @babel/plugin-proposal-decorators@7.16.7 › @babel/helper-create-class-features-plugin@7.16.7 › @babel/helper-function-name@7.16.7 › @babel/helper-get-function-arity@^7.16.7(7.16.7) (08:22:20)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-async-generator-functions@7.16.7 › @babel/helper-remap-async-to-generator@^7.16.7(7.16.7) (08:23:02)
    → @babel/core@7.16.7 › @babel/traverse@7.16.7 › @babel/helper-hoist-variables@^7.16.7(7.16.7) (08:22:20)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-unicode-property-regex@7.16.7 › @babel/helper-create-regexp-features-plugin@^7.16.7(7.16.7) (08:22:33)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-exponentiation-operator@7.16.7 › @babel/helper-builder-binary-assignment-operator-visitor@^7.16.7(7.16.7) (08:22:33)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-proposal-async-generator-functions@7.16.7 › @babel/helper-remap-async-to-generator@7.16.7 › @babel/helper-wrap-function@^7.16.7(7.16.7) (08:22:57)
    → @vue/babel-preset-app@4.5.15 › @babel/preset-env@7.16.7 › @babel/plugin-transform-exponentiation-operator@7.16.7 › @babel/helper-builder-binary-assignment-operator-visitor@7.16.7 › @babel/helper-explode-assignable-expression@^7.16.7(7.16.7) (08:22:20)
    → @babel/core@7.16.7 › @babel/types@^7.16.7(7.16.7) (08:22:14)
    → @vue/babel-preset-app@4.5.15 › @babel/runtime@^7.11.0(7.16.7) (08:21:23)
  2021-12-30
    → @vue/babel-preset-app@4.5.15 › @babel/helper-compilation-targets@7.16.7 › browserslist@4.19.1 › electron-to-chromium@^1.4.17(1.4.30) (03:02:32)
  2021-12-29
    → @vue/babel-preset-app@4.5.15 › @babel/helper-compilation-targets@7.16.7 › browserslist@4.19.1 › caniuse-lite@^1.0.30001286(1.0.30001294) (02:52:44)
All packages installed (595 packages installed from npm registry, used 30s(network 29s), speed 323.82KB/s, json 538(2.22MB), tarball 7.02MB)

D:\vue_project\e_project>cnpm run serve

> s1pcchina@0.1.0 serve D:\vue_project\e_project
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 2 errors                                                                                 5:51:23 PM
 error  in ./src/assets/img/login_logo.png

Syntax Error: Error: 'D:\vue_project\e_project\node_modules\pngquant-bin\vendor\pngquant.exe' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���


 @ D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--13-0!D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_babel-loader@8.2.3@babel-loader/lib!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/dist??ref--1-1!./src/views/login/websetting.vue?vue&type=template&id=652a4dfc&scoped=true 10:41-83
 @ ./src/views/login/websetting.vue?vue&type=template&id=652a4dfc&scoped=true
 @ ./src/views/login/websetting.vue
 @ D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--13-0!D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_babel-loader@8.2.3@babel-loader/lib!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/dist??ref--1-1!./src/views/login/login.vue?vue&type=script&lang=js
 @ ./src/views/login/login.vue?vue&type=script&lang=js
 @ ./src/views/login/login.vue
 @ ./src/router/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://172.21.47.8:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

 error  in ./src/assets/img/login_background.jpg

Syntax Error: Error: write EOF


 @ D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--13-0!D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_babel-loader@8.2.3@babel-loader/lib!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/dist??ref--1-1!./src/views/login/login.vue?vue&type=template&id=a49090ce&scoped=true 10:47-95
 @ ./src/views/login/login.vue?vue&type=template&id=a49090ce&scoped=true
 @ ./src/views/login/login.vue
 @ ./src/router/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://172.21.47.8:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js



^C
D:\vue_project\e_project>

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 2 errors                                                                                 5:53:56 PM
 error  in ./src/assets/img/login_logo.png

Syntax Error: Error: 'D:\vue_project\e_project\node_modules\pngquant-bin\vendor\pngquant.exe' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���


 @ D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--13-0!D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_babel-loader@8.2.3@babel-loader/lib!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/dist??ref--1-1!./src/views/login/websetting.vue?vue&type=template&id=652a4dfc&scoped=true 10:41-83
 @ ./src/views/login/websetting.vue?vue&type=template&id=652a4dfc&scoped=true
 @ ./src/views/login/websetting.vue
 @ D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--13-0!D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_babel-loader@8.2.3@babel-loader/lib!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/dist??ref--1-1!./src/views/login/login.vue?vue&type=script&lang=js
 @ ./src/views/login/login.vue?vue&type=script&lang=js
 @ ./src/views/login/login.vue
 @ ./src/router/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://172.21.47.8:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

 error  in ./src/assets/img/login_background.jpg

Syntax Error: Error: write EOF


 @ D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--13-0!D:/software/nodejs/node_global/node_modules/@vue/cli-plugin-babel/node_modules/_babel-loader@8.2.3@babel-loader/lib!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/dist??ref--1-1!./src/views/login/login.vue?vue&type=template&id=a49090ce&scoped=true 10:47-95
 @ ./src/views/login/login.vue?vue&type=template&id=a49090ce&scoped=true
 @ ./src/views/login/login.vue
 @ ./src/router/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://172.21.47.8:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

\ [0/1] Installing file-type@^10.5.0[gifsicle@5.3.0] use gifsicle@5.2.1 instead, reason: https://github.com/imagemin/gifsicle-bin/issues/133
√ Installed 1 packages
√ Linked 322 latest versions
[1/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.2 › pngquant-bin@^6.0.0 run "node lib/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_pngquant-bin@6.0.1@pngquant-bin"
pngquant pre-build test passed successfully
[1/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-pngquant@9.0.2 › pngquant-bin@^6.0.0 finished in 6s
[2/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 run "node lib/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_mozjpeg@7.1.1@mozjpeg"
mozjpeg pre-build test passed successfully
[2/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-mozjpeg@9.0.0 › mozjpeg@^7.0.0 finished in 5s
[3/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 run "node lib/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_optipng-bin@7.0.1@optipng-bin"
optipng pre-build test passed successfully
[3/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-optipng@8.0.0 › optipng-bin@^7.0.0 finished in 3s
[4/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 run "node lib/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_gifsicle@5.2.1@gifsicle"
gifsicle pre-build test passed successfully
[4/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-gifsicle@7.0.0 › gifsicle@^5.0.0 finished in 3s
[5/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 run "node lib/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_cwebp-bin@5.1.0@cwebp-bin"
  √ cwebp pre-build test passed successfully
[5/5] scripts.postinstall image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › cwebp-bin@^5.0.0 finished in 3s
√ Run 5 scripts
deprecate image-webpack-loader@7.0.1 › imagemin-webp@6.0.0 › exec-buffer@3.2.0 › tempfile@2.0.0 › uuid@^3.0.1 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-random for details.
deprecate image-webpack-loader@7.0.1 › imagemin-svgo@8.0.0 › svgo@^1.3.2 This SVGO version is no longer supported. Upgrade to v2.x.x.
Recently updated (since 2021-12-24): 1 packages (detail see file D:\vue_project\e_project\node_modules\.recently_updates.txt)
√ All packages installed (365 packages installed from npm registry, used 59s(network 39s), speed 283.89KB/s, json 322(922.21KB), tarball 9.99MB)

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 error                                                                                  6:07:12 PM
Failed to resolve loader: sass-loader
You may need to install it.
终止批处理操作吗(Y/N)? Y

D:\vue_project\e_project>npm install sass-loader@8.0.2

added 3 packages, and removed 1043 packages in 15s

1 package is looking for funding
  run `npm fund` for details

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 error                                                                                  6:09:48 PM
 error  in ./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss

Syntax Error: Error: Cannot find module 'node-sass'
Require stack:
- D:\vue_project\e_project\node_modules\sass-loader\dist\getDefaultSassImplementation.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\getSassImplementation.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\index.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\cjs.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\loader-runner\lib\loadLoader.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\loader-runner\lib\LoaderRunner.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\NormalModule.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\NormalModuleFactory.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\Compiler.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\webpack.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\commands\serve.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js


 @ D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/vue-style-loader??ref--9-oneOf-1-0!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!D:/software/nodejs/node_global/node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/dist??ref--1-1!./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss 4:14-671 15:3-20:5 16:22-679
 @ ./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss
 @ ./src/App.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

终止批处理操作吗(Y/N)? y

D:\vue_project\e_project>npm install node-sass@4.14.2
npm ERR! code ETARGET
npm ERR! notarget No matching version found for node-sass@4.14.2.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\software\nodejs\node_cache\_logs\2021-12-31T10_13_19_094Z-debug.log

D:\vue_project\e_project>npm install node-sass@4
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path D:\vue_project\e_project\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@16.13.1 | win32 | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack     at PythonFinder.failNoPython (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:484:19)
npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:509:16)
npm ERR! gyp ERR! stack     at callback (D:\vue_project\e_project\node_modules\graceful-fs\polyfills.js:299:20)
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\vue_project\\e_project\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\vue_project\e_project\node_modules\node-sass
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\software\nodejs\node_cache\_logs\2021-12-31T10_13_51_699Z-debug.log

D:\vue_project\e_project>npm install --global --production windows-build-tools
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
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-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details.

added 148 packages in 20s

1 package is looking for funding
  run `npm fund` for details

D:\vue_project\e_project>npm install --global node-gyp

added 90 packages in 11s

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 error                                                                                  6:31:16 PM
 error  in ./node_modules/element-plus/packages/theme-chalk/src/base.scss

Syntax Error: Error: Cannot find module 'node-sass'
Require stack:
- D:\vue_project\e_project\node_modules\sass-loader\dist\getDefaultSassImplementation.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\getSassImplementation.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\index.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\cjs.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\loader-runner\lib\loadLoader.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\loader-runner\lib\LoaderRunner.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\NormalModule.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\NormalModuleFactory.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\Compiler.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\webpack.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\commands\serve.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js


 @ ./node_modules/element-plus/packages/theme-chalk/src/base.scss 4:14-363 15:3-20:5 16:22-371
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

终止批处理操作吗(Y/N)?
^C系统无法打开指定的设备或文件。

D:\vue_project\e_project>cnpm install node-sass@latest
√ Installed 1 packages
√ Linked 218 latest versions
[1/1] scripts.install node-sass@latest run "node scripts/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@7.0.1@node-sass"
Cached binary found at C:\Users\11904\.npminstall_tarball\node-sass\7.0.1\win32-x64-93_binding.node
[1/1] scripts.install node-sass@latest finished in 1s
[1/1] scripts.postinstall node-sass@latest run "node scripts/build.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@7.0.1@node-sass"
Binary found at D:\vue_project\e_project\node_modules\_node-sass@7.0.1@node-sass\vendor\win32-x64-93\binding.node
Testing binary
Binary is fine
[1/1] scripts.postinstall node-sass@latest finished in 373ms
√ Run 1 scripts
deprecate node-sass@7.0.1 › request@^2.88.0 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate node-sass@7.0.1 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate node-sass@7.0.1 › request@2.88.2 › uuid@^3.3.2 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-random for details.
Recently updated (since 2021-12-24): 6 packages (detail see file D:\vue_project\e_project\node_modules\.recently_updates.txt)
  Today:
    → node-sass@7.0.1 › meow@9.0.0 › read-pkg-up@7.0.1 › read-pkg@5.2.0 › parse-json@5.2.0 › @babel/code-frame@^7.0.0(7.16.7) (08:22:17)
    → node-sass@7.0.1 › meow@9.0.0 › read-pkg-up@7.0.1 › read-pkg@5.2.0 › parse-json@5.2.0 › @babel/code-frame@7.16.7 › @babel/highlight@^7.16.7(7.16.7) (08:21:30)
    → node-sass@7.0.1 › meow@9.0.0 › read-pkg-up@7.0.1 › read-pkg@5.2.0 › parse-json@5.2.0 › @babel/code-frame@7.16.7 › @babel/highlight@7.16.7 › @babel/helper-validator-identifier@^7.16.7(7.16.7) (08:21:17)
    → node-sass@7.0.1 › node-gyp@8.4.1 › make-fetch-happen@9.1.0 › agentkeepalive@^4.1.3(4.2.0) (12:30:38)
√ All packages installed (240 packages installed from npm registry, used 22s(network 20s), speed 28.34KB/s, json 218(577.81KB), tarball 0B)

D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 error                                                                                                                        6:36:44 PM

 error  in ./node_modules/element-plus/packages/theme-chalk/src/base.scss

Syntax Error: Error: Node Sass version 7.0.1 is incompatible with ^4.0.0.


 @ ./node_modules/element-plus/packages/theme-chalk/src/base.scss 4:14-363 15:3-20:5 16:22-371
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

终止批处理操作吗(Y/N)? y

D:\vue_project\e_project>
D:\vue_project\e_project>cnpm install node-sass@4
√ Installed 1 packages
√ Linked 101 latest versions
[1/1] scripts.install node-sass@4 run "node scripts/install.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@4.14.1@node-sass"
Downloading binary from https://oss.npmmirror.com/dist/node-sass/v4.14.1/win32-x64-93_binding.node
Cannot download "https://oss.npmmirror.com/dist/node-sass/v4.14.1/win32-x64-93_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
      try setting a proxy via HTTP_PROXY, e.g.

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080
[1/1] scripts.install node-sass@4 finished in 4s
[1/1] scripts.postinstall node-sass@4 run "node scripts/build.js", root: "D:\\vue_project\\e_project\\node_modules\\_node-sass@4.14.1@node-sass"
Building: C:\Program Files\nodejs\node.exe D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'D:\\vue_project\\e_project\\node_modules\\_node-gyp@3.8.0@node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@16.13.1 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb download using dist-url https://npmmirror.com/mirrors/node
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
gyp verb `which` failed  python2 Error: not found: python2
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
gyp verb `which` failed  python Error: not found: python
gyp verb `which` failed     at getNotFoundError (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:13:12)
gyp verb `which` failed     at F (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:68:19)
gyp verb `which` failed     at E (D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:80:29)
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_which@1.3.1@which\which.js:89:16
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\index.js:42:5
gyp verb `which` failed     at D:\vue_project\e_project\node_modules\_isexe@2.0.0@isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb could not find "python". checking python launcher
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\lib\configure.js:484:19)
gyp ERR! stack     at PythonFinder.<anonymous> (D:\vue_project\e_project\node_modules\_node-gyp@3.8.0@node-gyp\lib\configure.js:509:16)
gyp ERR! stack     at callback (D:\vue_project\e_project\node_modules\_graceful-fs@4.2.8@graceful-fs\polyfills.js:299:20)
gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
gyp ERR! System Windows_NT 10.0.19043
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\vue_project\\e_project\\node_modules\\_node-gyp@3.8.0@node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\vue_project\e_project\node_modules\_node-sass@4.14.1@node-sass
gyp ERR! node -v v16.13.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
[npminstall:runscript:error] node-sass@4 scripts.postinstall run "node scripts/build.js" error: Error [RunScriptError]: Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
    at ChildProcess.<anonymous> (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\runscript\index.js:96:21)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
  stdio: [Object],
  exitcode: 1
}
× Install fail! RunScriptError: post install error, please remove node_modules before retry!
Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
RunScriptError: Run "C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js" error, exit code 1
    at ChildProcess.<anonymous> (D:\software\nodejs\node_global\node_modules\cnpm\node_modules\runscript\index.js:96:21)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npminstall version: 5.3.1
npminstall args: C:\Program Files\nodejs\node.exe D:\software\nodejs\node_global\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\11904\.cnpmrc --disturl=https://npmmirror.com/mirrors/node --registry=https://registry.npmmirror.com node-sass@4

D:\vue_project\e_project>npm uninstall node-sass

removed 859 packages in 10s

1 package is looking for funding
  run `npm fund` for details

D:\vue_project\e_project>npm install --save-dev node-sass
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path D:\vue_project\e_project\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@16.13.1 | win32 | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack     at PythonFinder.failNoPython (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:484:19)
npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:509:16)
npm ERR! gyp ERR! stack     at callback (D:\vue_project\e_project\node_modules\graceful-fs\polyfills.js:299:20)
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\vue_project\\e_project\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\vue_project\e_project\node_modules\node-sass
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\software\nodejs\node_cache\_logs\2021-12-31T11_02_21_387Z-debug.log

D:\vue_project\e_project>npm install --save-dev node-sass@4.0.0
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated lodash.isarray@4.0.0: This package is deprecated. Use Array.isArray.
npm ERR! code 1
npm ERR! path D:\vue_project\e_project\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@16.13.1 | win32 | x64
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack     at PythonFinder.failNoPython (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:484:19)
npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (D:\vue_project\e_project\node_modules\node-gyp\lib\configure.js:509:16)
npm ERR! gyp ERR! stack     at callback (D:\vue_project\e_project\node_modules\graceful-fs\polyfills.js:299:20)
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\vue_project\\e_project\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd D:\vue_project\e_project\node_modules\node-sass
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\software\nodejs\node_cache\_logs\2021-12-31T11_02_51_283Z-debug.log

D:\vue_project\e_project>npm install --global --production windows-build-tools
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
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-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details.

changed 148 packages in 14s

1 package is looking for funding
  run `npm fund` for details

D:\vue_project\e_project>
D:\vue_project\e_project>npm install --global node-gyp

changed 90 packages in 13s

D:\vue_project\e_project>
D:\vue_project\e_project>npm run serve

> s1pcchina@0.1.0 serve
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 1 error                                                                                                                        7:08:14 PM

 error  in ./node_modules/element-plus/packages/theme-chalk/src/base.scss

Syntax Error: Error: Cannot find module 'node-sass'
Require stack:
- D:\vue_project\e_project\node_modules\sass-loader\dist\getDefaultSassImplementation.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\getSassImplementation.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\index.js
- D:\vue_project\e_project\node_modules\sass-loader\dist\cjs.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\loader-runner\lib\loadLoader.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\loader-runner\lib\LoaderRunner.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\NormalModule.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\NormalModuleFactory.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\Compiler.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\node_modules\webpack\lib\webpack.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\commands\serve.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\lib\Service.js
- D:\software\nodejs\node_global\node_modules\@vue\cli-service\bin\vue-cli-service.js


 @ ./node_modules/element-plus/packages/theme-chalk/src/base.scss 4:14-363 15:3-20:5 16:22-371
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.1.222:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值