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
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/rest package
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');
Command
serve
Is this a regression?
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
npm i @gitbeaker/rest
packageng start
my app.components.ts is
Exception or Error
Your Environment
Anything else relevant?
My package.json is:
The text was updated successfully, but these errors were encountered: