Code Monkey home page Code Monkey logo

Comments (6)

xianhc avatar xianhc commented on July 19, 2024

@huster-songtao 删掉node_modules文件夹,重新执行npm install,期间需保证你的网络畅通,如果不用梯子或网速不够好,请使用cnpm代理,但不建议使用cnpm,因为可能会遇到各种奇葩错误

from apevolo-web.

xianhc avatar xianhc commented on July 19, 2024

同时需检查你的vue cli环境是否已配置好

from apevolo-web.

huster-songtao avatar huster-songtao commented on July 19, 2024

PS D:\github\apevolo-web\trunk> npm i
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit https://github.com/lukeed/kleur/releases/tag/v3.0.0\ for migration path(s).
npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated [email protected]: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: use String.prototype.padStart()
npm WARN deprecated [email protected]: This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazka/cli-args instead
npm WARN deprecated [email protected]: 3.x is no longer supported
npm WARN deprecated [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated [email protected]: This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli instead
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated [email protected]: 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 [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead.
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual v

added 2021 packages, and audited 2022 packages in 41s

78 packages are looking for funding
run npm fund for details

102 vulnerabilities (8 low, 59 moderate, 31 high, 4 critical)

To address issues that do not require attention, run:
npm audit fix

To address all issues possible (including breaking changes), run:
npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run npm audit for details.
PS D:\github\apevolo-web\trunk> npm run serve

[email protected] serve
vue-cli-service serve

INFO Starting development server...
10% building 2/2 modules 0 activei 「wds」: Project is running at http://localhost:8001/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from D:\github\apevolo-web\trunk\public
i 「wds」: 404s will fallback to /index.html
node:events:498
throw er; // Unhandled 'error' event
^

Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn cmd',
path: 'cmd',
spawnargs: [ '/c', 'start', '""', '/b', 'http://localhost:8001/' ]
}
PS D:\github\apevolo-web\trunk>

重新npm i还是不行,我网络没问题

from apevolo-web.

huster-songtao avatar huster-songtao commented on July 19, 2024

vue cli

PS D:\github\apevolo-web\trunk> npm list vue
[email protected] D:\github\apevolo-web\trunk
├─┬ @riophae/[email protected]
│ └── [email protected] deduped
├─┬ @vue/[email protected]
│ └─┬ [email protected]
│ └── [email protected] deduped
├─┬ @vue/[email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]

PS D:\github\apevolo-web\trunk> vue -V
@vue/cli 5.0.1
PS D:\github\apevolo-web\trunk> npm -v
8.3.1
PS D:\github\apevolo-web\trunk> node -v
v16.14.0

vue应该没问题

from apevolo-web.

huster-songtao avatar huster-songtao commented on July 19, 2024

PS D:\github\apevolo-web\trunk> cnpm i

  • [39/68] Installing realpath-native@^1.0.0platform unsupported @vue/[email protected][email protected][email protected][email protected][email protected] › fsevents@^1.2.3 Package require os(darwin) not compatible with your platform(win32)
    | [39/68] Installing is-arrayish@^0.3.1[fsevents@^1.2.3] optional install error: Package require os(darwin) not compatible with your platform(win32)
    \ [42/68] Installing vue-loader@^15.6.4platform unsupported @vue/[email protected][email protected][email protected][email protected] › fsevents@~2.3.2 Package require os(darwin) not compatible with your platform(win32)
    | [42/68] Installing [email protected][fsevents@~2.3.2] optional install error: Package require os(darwin) not compatible with your platform(win32)
    √ Installed 68 packages
    √ Linked 1228 latest versions
    [1/6] scripts.postinstall core-js@^2.6.12 run "node -e "try{require('./postinstall')}catch(e){}"", root: "D:\github\apevolo-web\trunk\node_modules\_core-js@2.6.12@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/zloirock

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

[1/6] scripts.postinstall core-js@^2.6.12 finished in 397ms
[2/6] scripts.install @vue/[email protected] › yorkie@^2.0.0 run "node bin/install.js", root: "D:\github\apevolo-web\trunk\node_modules\_yorkie@2.0.0@yorkie"
setting up Git hooks
can't find .git directory, skipping Git hooks installation
[2/6] scripts.install @vue/[email protected] › yorkie@^2.0.0 finished in 220ms
[3/6] scripts.postinstall @vue/[email protected][email protected] › ejs@^2.6.1 run "node ./postinstall.js", root: "D:\github\apevolo-web\trunk\node_modules\_ejs@2.7.4@ejs"
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)

[3/6] scripts.postinstall @vue/[email protected][email protected] › ejs@^2.6.1 finished in 170ms
[4/6] scripts.postinstall [email protected] › core-js@^3.4.4 run "node -e "try{require('./postinstall')}catch(e){}"", root: "D:\github\apevolo-web\trunk\node_modules\_core-js@3.21.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 -)

[4/6] scripts.postinstall [email protected] › core-js@^3.4.4 finished in 306ms
[5/6] scripts.install @vue/[email protected][email protected] › deasync@^0.1.15 run "node ./build.js", root: "D:\github\apevolo-web\trunk\node_modules\_deasync@0.1.24@deasync"
win32-x64-node-16 exists; testing
Binary is fine; exiting
[5/6] scripts.install @vue/[email protected][email protected] › deasync@^0.1.15 finished in 502ms
[6/6] scripts.install [email protected] run "node husky install", root: "D:\github\apevolo-web\trunk\node_modules\_husky@1.3.1@husky"
husky > setting up git hooks
Can't find .git, skipping Git hooks installation.
Please check that you're in a cloned repository or run 'git init' to create an empty Git repository and reinstall husky.
[6/6] scripts.install [email protected] finished in 385ms
√ Run 6 scripts
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-syntax-dynamic-import unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-proposal-class-properties unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-proposal-decorators unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@VUE\babel-preset-jsx unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-runtime unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@VUE\babel-sugar-composition-api-inject-h unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_babel-loader@8.2.4@babel-loader unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@VUE\babel-sugar-v-model unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@VUE\babel-sugar-composition-api-render-instance unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@VUE\babel-sugar-inject-h unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_babel-plugin-polyfill-regenerator@0.3.1@babel-plugin-polyfill-regenerator
unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@VUE\babel-sugar-v-on unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\helper-create-class-features-plugin unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-syntax-decorators unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\[email protected]@babel-plugin-polyfill-corejs2 unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\[email protected]@babel-plugin-polyfill-corejs3 unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@VUE\babel-sugar-functional-vue unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-proposal-json-strings unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\helper-compilation-targets unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-proposal-unicode-property-regex unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-proposal-optional-catch-binding unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-syntax-json-strings
unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-syntax-object-rest-spread unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-syntax-async-generators unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-proposal-async-generator-functions unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-proposal-object-rest-spread unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-syntax-optional-catch-binding unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\helper-define-polyfill-provider unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-arrow-functions unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\helper-create-regexp-features-plugin unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-parameters unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-async-to-generator unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-block-scoped-functions unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-block-scoping unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-classes unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-computed-properties unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-dotall-regex unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-destructuring unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-duplicate-keys unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-exponentiation-operator unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-literals unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-for-of unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-modules-umd unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-modules-amd unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-function-name unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-modules-commonjs unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-modules-systemjs unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-object-super unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-named-capturing-groups-regex unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-new-target unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-regenerator unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-spread unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-shorthand-properties unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-template-literals unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-sticky-regex unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_babel-loader@8.2.4@babel-loader unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-typeof-symbol unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\preset-env unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@intervolga\optimize-cssnano-plugin
unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link @babel/[email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@babel\plugin-transform-unicode-regex unmet with D:\github\apevolo-web\trunk\node_modules@babel\core(7.0.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_html-webpack-plugin@3.2.0@html-webpack-plugin unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@VUE\preload-webpack-plugin unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_@[email protected]@@SODA\friendly-errors-webpack-plugin unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_cache-loader@2.0.1@cache-loader unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_css-loader@1.0.1@css-loader unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_eslint-plugin-vue@4.7.1@eslint-plugin-vue unmet with D:\github\apevolo-web\trunk\node_modules\eslint(5.15.3)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_file-loader@3.0.1@file-loader unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_mini-css-extract-plugin@0.5.0@mini-css-extract-plugin unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_terser-webpack-plugin@1.4.5@terser-webpack-plugin unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_babel-eslint@10.1.0@babel-eslint unmet with D:\github\apevolo-web\trunk\node_modules\eslint(5.15.3)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_vue-eslint-parser@2.0.3@vue-eslint-parser unmet with D:\github\apevolo-web\trunk\node_modules\eslint(5.15.3)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_url-loader@1.1.2@url-loader unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_thread-loader@2.1.3@thread-loader unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_ajv-keywords@2.1.1@ajv-keywords unmet with D:\github\apevolo-web\trunk\node_modules\ajv(6.12.6)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_vue-loader@15.9.8@vue-loader unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_webpack-dev-server@3.11.3@webpack-dev-server unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_eslint-loader@2.2.1@eslint-loader unmet with D:\github\apevolo-web\trunk\node_modules\eslint(5.15.3)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_acorn-jsx@5.3.2@acorn-jsx unmet with D:\github\apevolo-web\trunk\node_modules\acorn(7.4.1)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_webpack-dev-middleware@3.7.3@webpack-dev-middleware unmet with D:\github\apevolo-web\trunk\node_modules\webpack(4.46.0)
peerDependencies link [email protected] in D:\github\apevolo-web\trunk\node_modules_postcss-prefix-selector@1.15.0@postcss-prefix-selector unmet with D:\github\apevolo-web\trunk\node_modules\postcss(7.0.39)
deprecate core-js@^2.6.12 core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of
core-js.
deprecate [email protected] › core-js@~2.3.0 core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine
whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
deprecate @vue/[email protected] › @vue/[email protected] › request-promise-native@^1.0.7 request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
deprecate @vue/[email protected] › @vue/[email protected] › request@^2.87.0 request has been deprecated, see request/request#3142
deprecate @vue/[email protected] › @vue/[email protected][email protected] › har-validator@~5.1.3 this library is no longer supported
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/joi@^15.0.1 Switch to 'npm install joi'
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] Moved to 'npm install @sideway/address'
deprecate @vue/[email protected] › @vue/[email protected] › @hapi/[email protected] › @hapi/[email protected] This version has been deprecated and is no longer supported or maintained
deprecate @vue/[email protected] › @vue/[email protected][email protected] › 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/[email protected] › eslint-loader@^2.1.2 This loader has been deprecated. Please use eslint-webpack-plugin
deprecate @vue/[email protected] › babel-eslint@^10.0.1 babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
deprecate @vue/[email protected] › @vue/[email protected] › html-webpack-plugin@^3.2.0 3.x is no longer supported
deprecate @vue/[email protected][email protected][email protected][email protected] › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate @vue/[email protected][email protected][email protected][email protected] › source-map-resolve@^0.5.2 See https://github.com/lydell/source-map-resolve#deprecated
deprecate @vue/[email protected][email protected][email protected][email protected][email protected] › source-map-url@^0.4.0 See https://github.com/lydell/source-map-url#deprecated
deprecate @vue/[email protected][email protected][email protected][email protected][email protected] › resolve-url@^0.2.1 https://github.com/lydell/resolve-url#deprecated
deprecate @vue/[email protected][email protected][email protected][email protected] › sane@^2.0.0 some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
deprecate [email protected] babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
deprecate @vue/[email protected][email protected][email protected][email protected][email protected] › fsevents@^1.2.3 fsevents 1 will break on node vdeprecate @vue/[email protected][email protected][email protected][email protected] › kleur@^2.0.1 Please upgrade to kleur@3 or migrate to 'ansi-colors'
if you prefer the old syntax. Visit https://github.com/lukeed/kleur/releases/tag/v3.0.0\ for migration path(s).
deprecate [email protected] Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
deprecate @vue/[email protected][email protected][email protected][email protected] › chokidar@^2.1.8 Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
deprecate @vue/[email protected] › @intervolga/[email protected][email protected][email protected] › svgo@^1.0.0 This SVGO version is no longer supported. Upgrade to v2.x.x.
deprecate @vue/[email protected][email protected][email protected][email protected][email protected] The querystring API is considered Legacy. new
code should use the URLSearchParams API instead.
deprecate @vue/[email protected][email protected][email protected][email protected] › circular-json@^0.3.1 CircularJSON is in maintenance only,
flatted is its successor.
deprecate @vue/[email protected][email protected][email protected][email protected][email protected] › left-pad@^1.3.0 use String.prototype.padStart()
deprecate runjs@^4.3.2 This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead.
deprecate [email protected][email protected] This project has been renamed to @pawelgalazka/cli . Install using @pawelgalazka/cli instead
deprecate [email protected][email protected][email protected] This project has been renamed to @pawelgalazka/cli-args. Install using @pawelgalazka/cli-args instead
deprecate [email protected] This SVGO version is no longer supported. Upgrade to v2.x.x.
√ All packages installed (1592 packages installed from npm registry, used 47s(network 44s), speed 1.15MB/s, json 1296(8.39MB), tarball 41.79MB)
PS D:\github\apevolo-web\trunk> npm run serve

[email protected] serve
vue-cli-service serve

INFO Starting development server...
10% building 2/2 modules 0 activei 「wds」: Project is running at http://localhost:8001/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from D:\github\apevolo-web\trunk\public
i 「wds」: 404s will fallback to /index.html
node:events:498
throw er; // Unhandled 'error' event
^

Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn cmd',
path: 'cmd',
spawnargs: [ '/c', 'start', '""', '/b', 'http://localhost:8001/' ]
}
PS D:\github\apevolo-web\trunk>

删掉node_modules文件夹,重新执行cnpm i,出现的bug是一样的,和npm一样
npm我这边一直没问题的,网络读取sass之类的库一直没问题。

from apevolo-web.

xianhc avatar xianhc commented on July 19, 2024

你进一下QQ群,截图我看看你的配置环境。没人反馈这个问题

from apevolo-web.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.