ng serve -o shows the following error message:
- Generating browser application bundles...(node:12364) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
Than the terminal shows: \ Generating browser application bundles (phase: emitting)...
But the browser never opening, it seems VSC is in an endless loop.
What can I do to fix this problem?
Version compatibility could be the issue. Downgrading node js version from 16.8.0 to 14.17.5 resolved my issue.
This is packaged as a standalone npm module. To use in node, monkeypatch HTTPParser.,http-parser-js should work via monkey-patching on Node v6-v11, and v13., We found a way for you to contribute to the project! Looks like http-parser-js is missing a security policy. , In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.
npm install http - parser - js
I fixed the endless loop. I entered a network path to the outputPath in angular.json. That seems to be not possible.
The error message is still present.
- Generating browser application bundles...(node:12364) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)