-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix
Milestone
Description
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes, the previous version in which this bug was not present was: 12.0.0Description
SassWorkerImplementation dropped support for node < 12.17
It passes transferList
into Worker
constructor ( b89fdc3#diff-6f1d85ee071c6e16d742bed5b1c832894a14dc4c9452f0bd6b95e3b61e5d1b17R108-R111 ).
Support for that was added in node 12.17 ➡️ https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md#2020-05-26-version-12170-erbium-lts-targos
Upgrading to node 12.20.0 solves the issue, but it wasn't mentioned in the CHANGELOG.
🔥 Exception or Error
TypeError: MessagePort was found in message but not listed in transferList
at new Worker (internal/worker.js:167:17)
at SassWorkerImplementation.createWorker (/node_modules/@angular-devkit/build-angular/src/sass/sass-service.js:96:24)
at SassWorkerImplementation.render (/node_modules/@angular-devkit/build-angular/src/sass/sass-service.js:62:40)
at Object.loader (/node_modules/sass-loader/dist/index.js:46:3) {
code: 'ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST'
🌍 Your Environment
Angular CLI: 12.0.1
Node: 12.16.1
Package Manager: npm 6.13.4
OS: darwin x64
Angular: 12.0.1
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
Package Version
--------------------------------------------------------------------
@angular-devkit/architect 0.1200.1
@angular-devkit/build-angular 12.0.1
@angular-devkit/core 12.0.1
@angular-devkit/schematics 12.0.1
@nguniversal/express-engine 11.2.1
@nguniversal/module-map-ngfactory-loader 8.2.6
@schematics/angular 12.0.1
rxjs 6.6.7
typescript 4.2.4
Anything else relevant?
alexfung888
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix