#192·sub-web

yarn build 失败

作者: ChaingTsung创建于 2025年8月17日更新于 2025年8月17日

root@C20250817198680:# git clone https://GitHub.com/youshandefeiyang/sub-web-modify.git Cloning into 'sub-web-modify'... remote: Enumerating objects: 510, done. remote: Counting objects: 100% (19/19), done. remote: Compressing objects: 100% (5/5), done. remote: Total 510 (delta 14), reused 14 (delta 14), pack-reused 491 (from 2) Receiving objects: 100% (510/510), 1.86 MiB | 16.54 MiB/s, done. Resolving deltas: 100% (252/252), done. root@C20250817198680:# cd sub-web-modify/ root@C20250817198680:/sub-web-modify# yarn install yarn install v1.22.22 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... info No lockfile found. warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [1/5] Validating package.json... [2/5] Resolving packages... warning c8 > [email protected]: Rimraf versions prior to v4 are no longer supported warning c8 > rimraf > [email protected]: Glob versions prior to v9 are no longer supported warning c8 > test-exclude > [email protected]: Glob versions prior to v9 are no longer supported warning c8 > rimraf > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. [3/5] Fetching packages... error https://registry.yarnpkg.com/once/-/once-1.4.0.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, chmod '/usr/local/share/.cache/yarn/v6/npm-once-1.4.0-583b1aa775961d4b113ac17d9c50baef9dd76bd1-integrity/node_modules/once/README.md'" info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. root@C20250817198680:/sub-web-modify# yarn serve yarn run v1.22.22 $ vue-cli-service serve /bin/sh: 1: vue-cli-service: not found error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

内容来源: CareyWang/sub-web