Replies: 5 comments
-
almost the same, but as here: primefaces/primeng#16353 (comment)
|
Beta Was this translation helpful? Give feedback.
-
I can temporarily work around the problem by simply commenting-out the import which is failing in I'm also using patch-package to persist these manual changes. diff --git a/node_modules/@primeuix/styled/index.d.mts b/node_modules/@primeuix/styled/index.d.mts
index 1fafc44..38d871b 100644
--- a/node_modules/@primeuix/styled/index.d.mts
+++ b/node_modules/@primeuix/styled/index.d.mts
@@ -1,4 +1,4 @@
-import * as _primeuix_utils_eventbus from '@primeuix/utils/eventbus';
+// import * as _primeuix_utils_eventbus from '@primeuix/utils/eventbus';
declare function definePreset(...presets: any[]): any;
@@ -142,7 +142,7 @@ declare function export_default(theme: any, options?: any): {
css: string;
};
-declare const ThemeService: _primeuix_utils_eventbus.EventBusOptions;
+// declare const ThemeService: _primeuix_utils_eventbus.EventBusOptions;
declare function toTokenKey(str: string): string;
declare function merge(value1: any, value2: any): void;
@@ -249,4 +249,4 @@ declare const _default: {
transformCSS(name: string, css: string, mode?: string, type?: string, options?: any, set?: any, defaults?: any, selector?: string): string;
};
-export { $dt, $t, _default$5 as Theme, ThemeService, _default as ThemeUtils, css, definePreset, dt, dtwt, getComputedValue, getRule, getVariableName, getVariableValue, hasOddBraces, merge, _default$4 as mix, _default$3 as palette, setProperty, _default$2 as shade, _default$1 as tint, toNormalizePrefix, toNormalizeVariable, toTokenKey, toUnit, toValue, export_default as toVariables, updatePreset, updatePrimaryPalette, updateSurfacePalette, usePreset, useTheme };
+export { $dt, $t, _default$5 as Theme, /* ThemeService, */ _default as ThemeUtils, css, definePreset, dt, dtwt, getComputedValue, getRule, getVariableName, getVariableValue, hasOddBraces, merge, _default$4 as mix, _default$3 as palette, setProperty, _default$2 as shade, _default$1 as tint, toNormalizePrefix, toNormalizeVariable, toTokenKey, toUnit, toValue, export_default as toVariables, updatePreset, updatePrimaryPalette, updateSurfacePalette, usePreset, useTheme }; |
Beta Was this translation helpful? Give feedback.
-
The same issue. When I update to v19, I got this issue. And then, I build a new project, angular 19, primeng 19. There was no issues. When I copy my codes to the new project, the issue appears. Here're the dependencies:
|
Beta Was this translation helpful? Give feedback.
-
In our CI/CD pipeline, everything is reloaded each time. Despite having the necessary directory and files in place, the pipeline encounters an error when building the project. |
Beta Was this translation helpful? Give feedback.
-
Getting the same error when trying to import definePreset from the themes package...also with version 19.0.9 for themes and primeng dependency. ✘ [ERROR] TS2307: Cannot find module '@primeuix/utils/eventbus' or its corresponding type declarations. [plugin angular-compiler]
|
Beta Was this translation helpful? Give feedback.
-
Angular 18 and PrimeNG 18 are working together just find for me. The update to Angular 19 went smoothly, and so did npm installs of @primeng/themes version 19.0.9, primeicons version 7.0.0", and primeng 19.0.9.
But when I try to run my app (via
ng serve --proxy-config proxy.conf.json
) all I get is this:The file
node_modules/@primeuix/styled/index.d.mts
definitely has this above-displayed reference to@primeuix/utils/eventbus
, which is nowhere to be found in my node_modules folder, and I can't figure out a way to install that so that it would be available.What seems especially odd, however, is that if I revert to Angular 18 and PrimeNG 18 the same unresolvable reference is still there, but without causing any problems.
Beta Was this translation helpful? Give feedback.
All reactions