ngx-bootstrap icon indicating copy to clipboard operation
ngx-bootstrap copied to clipboard

ng add ngx-bootstrap giving error Cannot find module 'C:\Workspace\angular-demo\node_modules\@schematics\angular\utility\test.js'

Open nitin27may opened this issue 3 years ago • 1 comments

I create a new Angular project by runnning command ng new angular-demo after that I am trying to run command ng add ngx-bootstrap. It is installing ngx-bootstrap 9.0.0 but then giving error and not updating all required configuration:

image

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 9.0.0

Angular: 14.2.0

Bootstrap: Not added as ng add ngx-bootstrap is broken

Build system: Angular CLI: 14.2.3 Node: 16.14.0 Package Manager: npm 8.19.1 OS: win32 x64

Expected behavior

It should add all dpendeicies and update the configuration.

nitin27may avatar Sep 16 '22 16:09 nitin27may

having the same issue here, same build system as yours

matheuscabralsz avatar Sep 20 '22 12:09 matheuscabralsz

@matheuscabralkk , @nigelsim hi) thank you for your issue. It should be fixed in this pr https://github.com/valor-software/ngx-bootstrap/pull/6508 connected issue #6505

SvetlanaMuravlova avatar Sep 23 '22 10:09 SvetlanaMuravlova

I have this same issue. I see that PR 6508 fixed it, but I don't see what I need to do to get it working. I've asked in the slack group, and I see a StackOverflow question that doesn't have a helpful answer, so no point in asking the same thing again there. What do I need to do in order to get the code that works?

I'm having the same issue. I'm seeing that it's "fixed" in multiple pull requests here that keep referencing each other, but no clue on how or what to do to proceed. Details beside "its fixed in this pr" would be greatly appreciated.

GunnysKid avatar Oct 19 '22 19:10 GunnysKid

@GunnysKid new version with this pr hasn't been released yet ))

SvetlanaMuravlova avatar Oct 20 '22 10:10 SvetlanaMuravlova

@SvetlanaMuravlova any idea when we can expect that release?

Rich-Hopkins avatar Oct 20 '22 17:10 Rich-Hopkins

@SvetlanaMuravlova , it's been a month since I last asked, will this fix be released anytime soon?

Rich-Hopkins avatar Nov 23 '22 19:11 Rich-Hopkins

same issue in 2023 is there a fix for this please I can see version 10.x.x is for angular 15.x.x

zoleko avatar Jun 28 '23 22:06 zoleko