Skip to content

Use lerna to manage your packages, ./scripts/install-packages.ts not good. #123

Closed
@jeasonstudio

Description

@jeasonstudio

install-packages.ts sometimes error:

INFO  Successfully grabbed "requirefs" dependencies!
INFO  Successfully grabbed "logger" dependencies!
ERROR Failed to install "browser" dependencies {"error":{"killed":false,"code":1,"signal":null,"cmd":"yarn --network-concurrency 1"},"stdout":"[1/4] Resolving packages...\n[2/4] Fetching packages...\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n","stderr":"warning package.json: No license field\nwarning ../../package.json: No license field\nwarning @coder/app: No license field\nerror https://registry.yarnpkg.com/@material/form-field/-/form-field-0.44.0.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: \"ENOENT: no such file or directory, stat '/Users/jeason/Library/Caches/Yarn/v4/npm-@material-form-field-0.44.0-b7518e885c0e953a2a5fe0140af927c30e066f4e/node_modules/@material/form-field/dist/mdc.formField.js'\"\n"}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "packages:install" exited with 1.
error Command failed with exit code 1.

lerna should be better. https://lernajs.io/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions