-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: dev-infraIssue related to internal project infrastructureIssue related to internal project infrastructure
Description
Reproduction
Steps to reproduce:
nvm use 12yarnyarn build
Expected Behavior
Should successfully build Angular Material v12.2.2 with Node 12, as in the engines field of file package.json it specifies "node": ">=12.0.0 <16.0.0",
Actual Behavior
?? is not supported by Node v12, but v14.
ERROR: <builtin>: BazelWorkspaceStatusAction stable-status.txt failed: Failed to determine workspace status: Process exited with status 1
Could not read configuration file at /Users/kiddliu/source/angular-material-vantage/.ng-dev/config.
/Users/kiddliu/source/angular-material-vantage/node_modules/@angular/dev-infra-private/ng-dev/release/notes/release-notes.js:27
this.config = this.getReleaseConfig().releaseNotes ?? {};
^
SyntaxError: Unexpected token '?'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/Users/kiddliu/source/angular-material-vantage/ng-dev/release/publish/actions.ts:19:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)Environment
- Angular: N/A
- CDK/Material: 12.2.2
- Browser(s): N/A
- Operating System (e.g. Windows, macOS, Ubuntu): macOS Big Sur 11.5.2
- Node: 12.22.1
- Yarn: 1.22.10
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: dev-infraIssue related to internal project infrastructureIssue related to internal project infrastructure