Skip to content

yarn build失败 #192

@ChaingTsung

Description

@ChaingTsung
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 > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning c8 > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning c8 > test-exclude > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning c8 > rimraf > glob > inflight@1.0.6: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions