Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

在 aio 分支下运行 yarn setup-local 提示错误,无法编译 #498

Open
@honeymoose

Description

@honeymoose

错误信息如下:

C:\WorkDir\GitHub\angular-cn\aio>yarn docs
yarn run v1.22.5
$ node scripts/contributors/check-pictures && yarn generate-stackblitz && yarn generate-zips
$ node ./tools/stackblitz-builder/generateStackblitz
$ node ./tools/example-zipper/generateZips
$ yarn docs-only
$ node --max-old-space-size=2048 ./node_modules/.bin/dgeni ./tools/transforms/angular.io-package
C:\WorkDir\GitHub\angular-cn\aio\node_modules\.bin\dgeni:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at Module._compile (internal/modules/cjs/loader.js:892:18)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
    at internal/main/run_main_module.js:17:11
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run 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.

yarn-setup-01

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