You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
Nodejs version 16.19.0
Description
After updating NodeJS to version 18 (or higher), the websocket for live-reloading can't connect anymore.
"WebSocket connection to 'wss://EX021927.examplecompany.com:4200/CRM/ng-cli-ws' failed"
I did not change anything else inside the project after updating the nodejs version.
Minimal Reproduction
Package.json run script: "ng serve --host=\"EX021927.examplecompany.com\" --public-host \"https://EX021927.examplecompany.com:4200\" --configuration=example"
angular.json:
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"baseHref": "/CRM/",
"deployUrl": "/CRM/",
"outputPath": "dist/CRM",
...
}
}
},
"configurations": {
"example": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.example.ts"
}
],
"buildOptimizer": false,
"optimization": false,
"vendorChunk": false,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true,
"outputHashing": "none"
}
}```
I open the site with "https://EX021927.examplecompany.com/CRM" (no :4200), since I'm also running IIS on port 443 with the url rewrite module active, where /CRM/* gets rewritten to :4200/CMR/*.
### Exception or Error
```text
WebSocket connection to 'wss://EX021927.examplecompany.com:4200/CRM/ng-cli-ws' failed
Command
serve
Is this a regression?
The previous version in which this bug was not present was
Nodejs version 16.19.0
Description
After updating NodeJS to version 18 (or higher), the websocket for live-reloading can't connect anymore.
"WebSocket connection to 'wss://EX021927.examplecompany.com:4200/CRM/ng-cli-ws' failed"
I did not change anything else inside the project after updating the nodejs version.
Minimal Reproduction
Package.json run script:
"ng serve --host=\"EX021927.examplecompany.com\" --public-host \"https://EX021927.examplecompany.com:4200\" --configuration=example"
angular.json:
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: