Skip to main content

All Questions

Tagged with
-1 votes
0 answers
31 views

Yarn does not keep packages installed

I have a problem with Yarn, it does not seem to keep Angular packages. $ ng version Angular CLI: 17.3.8 Node: 20.15.0 Package Manager: yarn 1.22.22 OS: win32 x64 Angular: 17.3.11 ... animations, ...
serge's user avatar
  • 14.8k
0 votes
0 answers
122 views

how can i use yarn with PnP in an already angular project?

In my existing angular project, i want to use yarn package manager with PnP instead of the npm. I changed the ng config with: ng config -g cli.packageManager yarn but the problem is when i run the ...
Mohammad Abbasi's user avatar
0 votes
0 answers
35 views

I'm trying to build with yarn but I get a strange ng2-pdfjs-viewer error

Yarn rifled through my Angular project and found the versions needed to run locally. But for some reason when it executes on the build server, I get this : 12:22:29 yarn install v1.22.21 12:22:30 [1/...
micahhoover's user avatar
  • 2,140
0 votes
1 answer
497 views

Link angular project locally

I'm trying to link my angular 13 project as a ui-component library. I've built the project and have the package in a dist folder. Next, I linked it to my main project (angular 14) using "yarn ...
Oyekeye Sam's user avatar
1 vote
1 answer
679 views

Invariant Violation: expected hoisted manifest for ngx-build-plus in yarn install

I have updated angular application to 15 and i try to update ngx-build-plus to 15 but facing below error Invariant Violation: expected hoisted manifest for "ngx-build-plus#@angular-devkit/build-...
Raghul Rajendran's user avatar
0 votes
2 answers
4k views

How to create an Angular application using Vite?

I want to use Vite for creating an Angular app with basic routing, minimal options, and no testing files and open in port 5000 Searched all over and not got.
ABHIJITH's user avatar
0 votes
0 answers
250 views

How to set up frame-ancestors directive in Angular app?

My team is currently working to prevent clickjacking attacks and would like to add the frame-ancestors directive to our application. We have an Angular app that is served by Yarn. The directive we ...
500's user avatar
  • 1
0 votes
0 answers
383 views

Unable to run Abp framework Angular project

I created a new solution using the following abp cli command: abp new MyProject.Cloud -u angular --theme basic The aspnetcore solution builds just fine and I have setup the database etc but I cant get ...
cjsmith87's user avatar
1 vote
2 answers
3k views

Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments

In my project I use the lib ng-particles v3.5.3 in my login and signin page, but it suddenly stopped working and returning in my terminal: Error: node_modules/ng-particles/lib/ng-particles.component.d....
Matheus Cardoso's user avatar
1 vote
3 answers
4k views

Storybook won't start: TypeError: The 'compilation' argument must be an instance of Compilation

Trying to start Storybook in a NX monorepo, but getting this error when trying these commands: nx run projectName:storybook nx storybook projectName : 9% setup compilation SourceMapDevToolPlugin C:\...
Bambi's user avatar
  • 168
0 votes
2 answers
573 views

Module not found: Error: Can't resolve '@angular/platform-browser/animations'

Recently updated from Angular 12 to latest & updated respective package.json references to latest as well Error: Module not found: Error: Can't resolve '@angular/platform-browser/animations' in '...
super cool's user avatar
  • 6,055
-1 votes
1 answer
162 views

Visual Studio Code command "yarn studio" does not work - "The system cannot find the file specified" error

I'm working on hybrid project of Angular with Android, my environment is Visual Studio Code. I'm trying to open this project in Android Studio with command "yarn studio", but it does not ...
jonsmit0728's user avatar
0 votes
0 answers
1k views

Need to solve yarn install error: fatal error: 'napi.h' file not found

I upgraded node version 12 to 14.20.0, and Angular CLI 9 to 14.0.7 I use MacOS Monterey 12.5, M1 chip When I run the command yarn clean:npm && yarn install, I got this error. I tried yarn add ...
Lina's user avatar
  • 1
0 votes
1 answer
1k views

How can I install two different versions of the same dependency on the same project?

My question is: how to install all the missing peerDependencies with their different required versions? or How to Install Multiple Versions of the Same Package ? When i run npx check-peer-dependencies ...
Merouane Amqor's user avatar
2 votes
1 answer
247 views

bento-ng-d3 not found on registry.npmjs.org and some other bento packages as well, Angular

I have found the following dependency in my angular project package.json file. "@bento/bento-ng":"8.4.1", "@bento/bento-ng-d3":8.4.1, "@bento/bento-ng-datamap":...
Sayed Mohd Ali's user avatar

15 30 50 per page
1
2 3 4 5
7