这个配置文件的获取方法:
Microsoft Windows [版本 10.0.16299.1932]
(c) 2017 Microsoft Corporation。保留所有权利。C:\Users\easygoo>d:
D:\>cd vue3\case1
D:\vue3\case1>dir
驱动器 D 中的卷是 V9
卷的序列号是 96FC-9BACD:\vue3\case1 的目录
2021-05-29 18:12 <DIR> .
2021-05-29 18:12 <DIR> ..
2021-05-29 08:19 231 .gitignore
2021-05-29 08:19 73 babel.config.js
2021-05-29 18:12 <DIR> dist
2021-05-29 17:38 <DIR> node_modules
2021-05-29 08:20 474,025 package-lock.json
2021-05-29 17:38 855 package.json
2021-05-29 08:19 <DIR> public
2021-05-29 08:20 317 README.md
2021-05-29 08:19 <DIR> src
5 个文件 475,501 字节
6 个目录 120,330,248,192 可用字节D:\vue3\case1>vue-cli-service inspect
internal/modules/cjs/loader.js:888
throw err;
^Error: Cannot find module '@vue/cli-plugin-babel'
Require stack:
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at idToPlugin (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:145:14)
at D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:184:20
at Array.map (<anonymous>)
at Service.resolvePlugins (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:170:10)
at new Service (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:32:25)
at Object.<anonymous> (D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\\nodejs\\node-global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
'D:\\nodejs\\node-global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
]
}D:\vue3\case1>vue-cli-service inspect --mode production
internal/modules/cjs/loader.js:888
throw err;
^Error: Cannot find module '@vue/cli-plugin-babel'
Require stack:
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at idToPlugin (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:145:14)
at D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:184:20
at Array.map (<anonymous>)
at Service.resolvePlugins (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:170:10)
at new Service (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:32:25)
at Object.<anonymous> (D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\\nodejs\\node-global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
'D:\\nodejs\\node-global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
]
}D:\vue3\case1>vue inspect > output.js
D:\vue3\case1>vue inspect --mode production > output.prod.js
D:\vue3\case1>vue-cli-service inspect --mode production > output.prod.js
internal/modules/cjs/loader.js:888
throw err;
^Error: Cannot find module '@vue/cli-plugin-babel'
Require stack:
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at idToPlugin (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:145:14)
at D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:184:20
at Array.map (<anonymous>)
at Service.resolvePlugins (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:170:10)
at new Service (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:32:25)
at Object.<anonymous> (D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\\nodejs\\node-global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
'D:\\nodejs\\node-global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
]
}D:\vue3\case1>cnpm i -g @vue/cli-plugin-babel
Downloading @vue/cli-plugin-babel to D:\nodejs\node-global\node_modules\@vue\cli-plugin-babel_tmp
Copying D:\nodejs\node-global\node_modules\@vue\cli-plugin-babel_tmp\_@vue_cli-plugin-babel@4.5.13@@vue\cli-plugin-babel to D:\nodejs\node-global\node_modules\@vue\cli-plugin-babel
Installing @vue/cli-plugin-babel's dependencies to D:\nodejs\node-global\node_modules\@vue\cli-plugin-babel/node_modules
[1/7] thread-loader@^2.1.3 installed at node_modules\_thread-loader@2.1.3@thread-loader
[2/7] cache-loader@^4.1.0 installed at node_modules\_cache-loader@4.1.0@cache-loader
[3/7] @babel/core@^7.11.0 installed at node_modules\_@babel_core@7.14.3@@babel\core
[4/7] @vue/cli-shared-utils@^4.5.13 installed at node_modules\_@vue_cli-shared-utils@4.5.13@@vue\cli-shared-utils
fsevents@1.2.13 download from binary mirror: {"host":"https://cdn.npm.taobao.org/dist/fsevents"}
platform unsupported webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 Package require os(darwin) not compatible with your platform(win32)
platform unsupported webpack@4.46.0 › watchpack@1.7.5 › chokidar@3.5.1 › fsevents@~2.3.1 Package require os(darwin) not compatible with your platform(win32)
[fsevents@^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(win32)
[fsevents@~2.3.1] optional install error: Package require os(darwin) not compatible with your platform(win32)
[5/7] babel-loader@^8.1.0 installed at node_modules\_babel-loader@8.2.2@babel-loader
[6/7] webpack@^4.0.0 installed at node_modules\_webpack@4.46.0@webpack
[7/7] @vue/babel-preset-app@^4.5.13 installed at node_modules\_@vue_babel-preset-app@4.5.13@@vue\babel-preset-app
execute post install 1 scripts...
[1/1] scripts.postinstall @vue/babel-preset-app@4.5.13 › core-js@^3.6.5 run "node -e \"try{require('./postinstall')}catch(e){}\"", root: "D:\\nodejs\\node-global\\node_modules\\@vue\\cli-plugin-babel\\node_modules\\_core-js@3.13.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 on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirockAlso, 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.13 › core-js@^3.6.5 finished in 696ms
peerDependencies WARNING @vue/babel-preset-app@^4.5.13 requires a peer of vue@^2 || ^3.0.0-0 but none was installed
deprecate @vue/cli-shared-utils@4.5.13 › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/cli-shared-utils@4.5.13 › @hapi/joi@^15.0.1 joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
deprecate @vue/cli-shared-utils@4.5.13 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/cli-shared-utils@4.5.13 › @hapi/joi@15.1.1 › @hapi/address@2.x.x Moved to 'npm install @sideway/address'
deprecate @vue/cli-shared-utils@4.5.13 › @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.13 › @hapi/joi@15.1.1 › @hapi/hoek@8.x.x This version has been deprecated and is no longer supported or maintained
deprecate @vue/cli-shared-utils@4.5.13 › @hapi/joi@15.1.1 › @hapi/bourne@1.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 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
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 › 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
Recently updated (since 2021-05-22): 20 packages (detail see file D:\nodejs\node-global\node_modules\@vue\cli-plugin-babel\node_modules\.recently_updates.txt)
Today:
→ @babel/core@7.14.3 › @babel/helper-compilation-targets@^7.13.16(7.14.4) (01:00:00)
→ @babel/core@7.14.3 › @babel/helper-compilation-targets@7.14.4 › @babel/compat-data@^7.14.4(7.14.4) (00:59:46)
→ @babel/core@7.14.3 › @babel/types@^7.14.2(7.14.4) (00:59:53)
→ @babel/core@7.14.3 › @babel/parser@^7.14.3(7.14.4) (00:59:46)
→ @babel/core@7.14.3 › @babel/helper-module-transforms@7.14.2 › @babel/helper-replace-supers@^7.13.12(7.14.4) (01:00:00)
→ @babel/core@7.14.3 › @babel/helper-compilation-targets@7.14.4 › browserslist@4.16.6 › electron-to-chromium@^1.3.723(1.3.742) (06:02:37)
→ @vue/babel-preset-app@4.5.13 › @babel/preset-env@^7.11.0(7.14.4) (01:00:09)
→ @vue/babel-preset-app@4.5.13 › @babel/plugin-proposal-decorators@7.14.2 › @babel/helper-create-class-features-plugin@^7.14.2(7.14.4) (01:00:06)
→ @vue/babel-preset-app@4.5.13 › @babel/preset-env@7.14.4 › @babel/plugin-proposal-object-rest-spread@^7.14.4(7.14.4) (01:00:06)
→ @vue/babel-preset-app@4.5.13 › @babel/plugin-transform-runtime@7.14.3 › babel-plugin-polyfill-corejs3@0.2.2 › core-js-compat@^3.9.1(3.13.1) (17:00:48)
→ @vue/babel-preset-app@4.5.13 › @babel/preset-env@7.14.4 › @babel/plugin-transform-block-scoping@^7.14.4(7.14.4) (00:59:46)
→ @vue/babel-preset-app@4.5.13 › @babel/preset-env@7.14.4 › @babel/plugin-transform-destructuring@^7.14.4(7.14.4) (00:59:49)
→ @vue/babel-preset-app@4.5.13 › @babel/preset-env@7.14.4 › @babel/plugin-transform-classes@^7.14.4(7.14.4) (01:00:06)
→ @vue/babel-preset-app@4.5.13 › core-js@^3.6.5(3.13.1) (17:00:50)
2021-05-26
→ @babel/core@7.14.3 › @babel/helper-compilation-targets@7.14.4 › browserslist@4.16.6 › caniuse-lite@^1.0.30001219(1.0.30001230) (03:22:58)
→ @vue/babel-preset-app@4.5.13 › @babel/plugin-transform-runtime@7.14.3 › babel-plugin-polyfill-corejs2@^0.2.0(0.2.2) (18:10:31)
→ @vue/babel-preset-app@4.5.13 › @babel/plugin-transform-runtime@7.14.3 › babel-plugin-polyfill-corejs3@^0.2.0(0.2.2) (18:10:31)
→ @vue/babel-preset-app@4.5.13 › @babel/plugin-transform-runtime@7.14.3 › babel-plugin-polyfill-regenerator@^0.2.0(0.2.2) (18:10:32)
→ @vue/babel-preset-app@4.5.13 › @babel/plugin-transform-runtime@7.14.3 › babel-plugin-polyfill-corejs2@0.2.2 › @babel/helper-define-polyfill-provider@^0.2.2(0.2.3) (18:36:13)
2021-05-25
→ @vue/cli-shared-utils@4.5.13 › read-pkg@5.2.0 › normalize-package-data@2.5.0 › resolve@1.20.0 › path-parse@^1.0.6(1.0.7) (20:57:37)
All packages installed (594 packages installed from npm registry, used 12s(network 11s), speed 799.58kB/s, json 536(1.36MB), tarball 6.96MB)D:\vue3\case1>vue-cli-service inspect --mode production > output.prod.js
internal/modules/cjs/loader.js:888
throw err;
^Error: Cannot find module '@vue/cli-plugin-eslint'
Require stack:
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at idToPlugin (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:145:14)
at D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:184:20
at Array.map (<anonymous>)
at Service.resolvePlugins (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:170:10)
at new Service (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:32:25)
at Object.<anonymous> (D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js:15:17) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\\nodejs\\node-global\\node_modules\\@vue\\cli-service\\lib\\Service.js',
'D:\\nodejs\\node-global\\node_modules\\@vue\\cli-service\\bin\\vue-cli-service.js'
]
}D:\vue3\case1>cnpm i -g @vue/cli-plugin-eslint
Downloading @vue/cli-plugin-eslint to D:\nodejs\node-global\node_modules\@vue\cli-plugin-eslint_tmp
Copying D:\nodejs\node-global\node_modules\@vue\cli-plugin-eslint_tmp\_@vue_cli-plugin-eslint@4.5.13@@vue\cli-plugin-eslint to D:\nodejs\node-global\node_modules\@vue\cli-plugin-eslint
Installing @vue/cli-plugin-eslint's dependencies to D:\nodejs\node-global\node_modules\@vue\cli-plugin-eslint/node_modules
[1/6] yorkie@^2.0.0 installed at node_modules\_yorkie@2.0.0@yorkie
[2/6] eslint-loader@^2.2.1 installed at node_modules\_eslint-loader@2.2.1@eslint-loader
fsevents@1.2.13 download from binary mirror: {"host":"https://cdn.npm.taobao.org/dist/fsevents"}
platform unsupported webpack@4.46.0 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 Package require os(darwin) not compatible with your platform(win32)
platform unsupported webpack@4.46.0 › watchpack@1.7.5 › chokidar@3.5.1 › fsevents@~2.3.1 Package require os(darwin) not compatible with your platform(win32)
[fsevents@^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(win32)
[fsevents@~2.3.1] optional install error: Package require os(darwin) not compatible with your platform(win32)
[3/6] inquirer@^7.1.0 installed at node_modules\_inquirer@7.3.3@inquirer
[4/6] globby@^9.2.0 installed at node_modules\_globby@9.2.0@globby
[5/6] webpack@^4.0.0 installed at node_modules\_webpack@4.46.0@webpack
[npminstall:get] retry GET https://registry.npm.taobao.org/execa/download/execa-1.0.0.tgz after 100ms, retry left 4, error: Error: connect ETIMEDOUT 113.137.54.239:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '113.137.54.239',
port: 443,
name: 'RequestError',
data: undefined,
path: '/execa/-/execa-1.0.0.tgz',
status: -1,
headers: {},
res: [Object]
}, status: -1, headers: {},
stack: Error: connect ETIMEDOUT 113.137.54.239:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
[6/6] @vue/cli-shared-utils@^4.5.13 installed at node_modules\_@vue_cli-shared-utils@4.5.13@@vue\cli-shared-utils
execute post install 1 scripts...
[1/1] scripts.install yorkie@^2.0.0 run "node bin/install.js", root: "D:\\nodejs\\node-global\\node_modules\\@vue\\cli-plugin-eslint\\node_modules\\_yorkie@2.0.0@yorkie"
setting up Git hooks
trying to install from sub 'node_module' directory, skipping Git hooks installation
[1/1] scripts.install yorkie@^2.0.0 finished in 224ms
peerDependencies WARNING eslint-loader@^2.2.1 requires a peer of eslint@>=1.6.0 <7.0.0 but none was installed
deprecate @vue/cli-shared-utils@4.5.13 › request@^2.88.2 request has been deprecated, see https://github.com/request/request/issues/3142
deprecate @vue/cli-shared-utils@4.5.13 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/cli-shared-utils@4.5.13 › @hapi/joi@^15.0.1 joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
deprecate @vue/cli-shared-utils@4.5.13 › @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.13 › @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.13 › @hapi/joi@15.1.1 › @hapi/address@2.x.x Moved to 'npm install @sideway/address'
deprecate @vue/cli-shared-utils@4.5.13 › @hapi/joi@15.1.1 › @hapi/hoek@8.x.x This version has been deprecated and is no longer supported or maintained
deprecate globby@9.2.0 › fast-glob@2.2.7 › 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 globby@9.2.0 › fast-glob@2.2.7 › 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 › 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 › watchpack@1.7.5 › watchpack-chokidar2@2.0.1 › chokidar@2.1.8 › fsevents@^1.2.7 fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
Recently updated (since 2021-05-22): 2 packages (detail see file D:\nodejs\node-global\node_modules\@vue\cli-plugin-eslint\node_modules\.recently_updates.txt)
2021-05-25
→ globby@9.2.0 › @types/glob@7.1.3 › @types/node@*(15.6.1) (08:02:15)
→ @vue/cli-shared-utils@4.5.13 › read-pkg@5.2.0 › normalize-package-data@2.5.0 › resolve@1.20.0 › path-parse@^1.0.6(1.0.7) (20:57:37)
All packages installed (489 packages installed from npm registry, used 23s(network 22s), speed 359.01kB/s, json 424(988.87kB), tarball 6.72MB)D:\vue3\case1>vue-cli-service inspect --mode production > output.prod.js
D:\vue3\case1>vue-cli-service inspect --mode production > output.prod.js
ERROR Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\config\base.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js
Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\config\base.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at D:\nodejs\node-global\node_modules\@vue\cli-service\lib\config\base.js:114:23
at D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:236:26)
at Service.resolveWebpackConfig (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:240:48)
at PluginAPI.resolveWebpackConfig (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\PluginAPI.js:132:25)D:\vue3\case1>cnpm i -g vue-loader-v16
Downloading vue-loader-v16 to D:\nodejs\node-global\node_modules\vue-loader-v16_tmp
Copying D:\nodejs\node-global\node_modules\vue-loader-v16_tmp\_vue-loader-v16@16.0.0-beta.5.4@vue-loader-v16 to D:\nodejs\node-global\node_modules\vue-loader-v16
Installing vue-loader-v16's dependencies to D:\nodejs\node-global\node_modules\vue-loader-v16/node_modules
[1/6] hash-sum@^2.0.0 installed at node_modules\_hash-sum@2.0.0@hash-sum
[2/6] source-map@^0.6.1 installed at node_modules\_source-map@0.6.1@source-map
[3/6] merge-source-map@^1.1.0 installed at node_modules\_merge-source-map@1.1.0@merge-source-map
[4/6] chalk@^3.0.0 installed at node_modules\_chalk@3.0.0@chalk
[5/6] loader-utils@^1.2.3 installed at node_modules\_loader-utils@1.4.0@loader-utils
[6/6] @types/mini-css-extract-plugin@^0.9.1 installed at node_modules\_@types_mini-css-extract-plugin@0.9.1@@types\mini-css-extract-plugin
Recently updated (since 2021-05-22): 6 packages (detail see file D:\nodejs\node-global\node_modules\vue-loader-v16\node_modules\.recently_updates.txt)
Today:
→ @types/mini-css-extract-plugin@0.9.1 › @types/webpack@5.28.0 › webpack@5.38.1 › browserslist@4.16.6 › electron-to-chromium@^1.3.723(1.3.742) (06:02:37)
2021-05-28
→ @types/mini-css-extract-plugin@0.9.1 › @types/webpack@5.28.0 › webpack@^5(5.38.1) (05:12:50)
2021-05-27
→ @types/mini-css-extract-plugin@0.9.1 › @types/webpack@5.28.0 › webpack@5.38.1 › @types/eslint-scope@3.7.0 › @types/eslint@*(7.2.12) (09:01:40)
→ @types/mini-css-extract-plugin@0.9.1 › @types/webpack@5.28.0 › webpack@5.38.1 › webpack-sources@^2.3.0(2.3.0) (18:01:50)
2021-05-26
→ @types/mini-css-extract-plugin@0.9.1 › @types/webpack@5.28.0 › webpack@5.38.1 › browserslist@4.16.6 › caniuse-lite@^1.0.30001219(1.0.30001230) (03:22:58)
2021-05-25
→ @types/mini-css-extract-plugin@0.9.1 › @types/webpack@5.28.0 › @types/node@*(15.6.1) (08:02:15)
All packages installed (86 packages installed from npm registry, used 5s(network 5s), speed 719.58kB/s, json 84(501.89kB), tarball 2.88MB)D:\vue3\case1>vue-cli-service inspect --mode production > output.prod.js
ERROR Error: Cannot find module '@vue/compiler-sfc/package.json'
Require stack:
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\config\base.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js
Error: Cannot find module '@vue/compiler-sfc/package.json'
Require stack:
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\config\base.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js
- D:\nodejs\node-global\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
at Function.Module._load (internal/modules/cjs/loader.js:730:27)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at D:\nodejs\node-global\node_modules\@vue\cli-service\lib\config\base.js:115:30
at D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:236:26)
at Service.resolveWebpackConfig (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\Service.js:240:48)
at PluginAPI.resolveWebpackConfig (D:\nodejs\node-global\node_modules\@vue\cli-service\lib\PluginAPI.js:132:25)D:\vue3\case1>cnpm i -g @vue/compiler-sfc
Downloading @vue/compiler-sfc to D:\nodejs\node-global\node_modules\@vue\compiler-sfc_tmp
Copying D:\nodejs\node-global\node_modules\@vue\compiler-sfc_tmp\_@vue_compiler-sfc@3.0.11@@vue\compiler-sfc to D:\nodejs\node-global\node_modules\@vue\compiler-sfc
Installing @vue/compiler-sfc's dependencies to D:\nodejs\node-global\node_modules\@vue\compiler-sfc/node_modules
[1/16] @babel/parser@^7.13.9 installed at node_modules\_@babel_parser@7.14.4@@babel\parser
[2/16] hash-sum@^2.0.0 installed at node_modules\_hash-sum@2.0.0@hash-sum
[3/16] @vue/shared@3.0.11 installed at node_modules\_@vue_shared@3.0.11@@vue\shared
[4/16] estree-walker@^2.0.1 installed at node_modules\_estree-walker@2.0.2@estree-walker
[5/16] @vue/compiler-ssr@3.0.11 installed at node_modules\_@vue_compiler-ssr@3.0.11@@vue\compiler-ssr
[6/16] @vue/compiler-dom@3.0.11 installed at node_modules\_@vue_compiler-dom@3.0.11@@vue\compiler-dom
[7/16] lru-cache@^5.1.1 installed at node_modules\_lru-cache@5.1.1@lru-cache
[8/16] source-map@^0.6.1 existed at node_modules\_source-map@0.6.1@source-map
[9/16] @babel/types@^7.13.0 installed at node_modules\_@babel_types@7.14.4@@babel\types
[10/16] merge-source-map@^1.1.0 installed at node_modules\_merge-source-map@1.1.0@merge-source-map
[11/16] @vue/compiler-core@3.0.11 installed at node_modules\_@vue_compiler-core@3.0.11@@vue\compiler-core
[12/16] magic-string@^0.25.7 installed at node_modules\_magic-string@0.25.7@magic-string
[13/16] postcss-selector-parser@^6.0.4 installed at node_modules\_postcss-selector-parser@6.0.6@postcss-selector-parser
[14/16] consolidate@^0.16.0 installed at node_modules\_consolidate@0.16.0@consolidate
[15/16] postcss@^8.1.10 installed at node_modules\_postcss@8.3.0@postcss
[16/16] postcss-modules@^4.0.0 installed at node_modules\_postcss-modules@4.0.0@postcss-modules
Recently updated (since 2021-05-22): 2 packages (detail see file D:\nodejs\node-global\node_modules\@vue\compiler-sfc\node_modules\.recently_updates.txt)
Today:
→ @babel/parser@^7.13.9(7.14.4) (00:59:46)
→ @babel/types@^7.13.0(7.14.4) (00:59:53)
All packages installed (41 packages installed from npm registry, used 3s(network 3s), speed 554.11kB/s, json 41(131.27kB), tarball 1.66MB)D:\vue3\case1>vue-cli-service inspect --mode production > output.prod.js
D:\vue3\case1>
缺少的lib,按照提示安装完后,才能正确执行命令vue-cli-service inspect --mode production > output.prod.js