Repository navigation
Closed as not planned
Closed as not planned
Copy link
Description
Command
serve
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
19.0.3
Description
I updated angular cli to 19.0.4 version and my project break
Minimal Reproduction
- create a new angular project with ng-cli 19.0.4
- add the
npm i @gitbeaker/restpackage - import it in the app.component.ts
- start the application with
ng start - the error arise
my app.components.ts is
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { Gitlab } from '@gitbeaker/rest';
@Component({
selector: 'app-root',
imports: [RouterOutlet],
templateUrl: './app.component.html',
styleUrl: './app.component.scss'
})
export class AppComponent {
title = 'nodedeperror';
testGitpeaker = () => {
const git = new Gitlab({});
}
}
Exception or Error
X [ERROR] The package "cluster" wasn't found on the file system but is built into node. [plugin angular-browser-node-built-in]
node_modules/rate-limiter-flexible/lib/RateLimiterCluster.js:22:24:
22 │ const cluster = require('cluster');
╵ ~~~~~~~~~
X [ERROR] The package "crypto" wasn't found on the file system but is built into node. [plugin angular-browser-node-built-in]
node_modules/rate-limiter-flexible/lib/RateLimiterCluster.js:23:23:
23 │ const crypto = require('crypto');
Your Environment
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 19.0.4
Node: 20.13.1
Package Manager: npm 10.2.5
OS: win32 x64
Angular: 19.0.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1900.4
@angular-devkit/build-angular 19.0.4
@angular-devkit/core 19.0.4
@angular-devkit/schematics 19.0.4
@angular/cli 19.0.4
@schematics/angular 19.0.4
rxjs 7.8.1
typescript 5.6.3
zone.js 0.15.0
Anything else relevant?
My package.json is:
{
"name": "nodedeperror",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
"private": true,
"dependencies": {
"@angular/animations": "^19.0.0",
"@angular/common": "^19.0.0",
"@angular/compiler": "^19.0.0",
"@angular/core": "^19.0.0",
"@angular/forms": "^19.0.0",
"@angular/platform-browser": "^19.0.0",
"@angular/platform-browser-dynamic": "^19.0.0",
"@angular/router": "^19.0.0",
"@gitbeaker/rest": "^41.3.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^19.0.4",
"@angular/cli": "^19.0.4",
"@angular/compiler-cli": "^19.0.0",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.4.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.6.2"
}
}
Metadata
Metadata
Assignees
Labels
No labels
Activity
alan-agius4 commentedon Dec 7, 2024
Duplicate of #29077
angular-automatic-lock-bot commentedon Jan 7, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.